Language

PeopleContract.CreatePeopleInteractionRequest Method

Definition

Creates a PendingIntent that allows a client application to initiate an interactive communication session (such as messaging, audio calling, or video calling) with a person or group in a target People Directory application.

[Android.Runtime.Register("createPeopleInteractionRequest", "(Landroid/content/ContentResolver;Ljava/lang/String;Landroid/os/Bundle;)Landroid/app/PendingIntent;", "", ApiSince=37)]
public static Android.App.PendingIntent? CreatePeopleInteractionRequest(Android.Content.ContentResolver resolver, string interactionType, Android.OS.Bundle queryArgs);
[<Android.Runtime.Register("createPeopleInteractionRequest", "(Landroid/content/ContentResolver;Ljava/lang/String;Landroid/os/Bundle;)Landroid/app/PendingIntent;", "", ApiSince=37)>]
static member CreatePeopleInteractionRequest : Android.Content.ContentResolver * string * Android.OS.Bundle -> Android.App.PendingIntent

Parameters

resolver
ContentResolver

The ContentResolver used to interact with the People Provider.

interactionType
String

The desired type of communication, which must be one of the PEOPLE_INTERACTION_TYPE_* constants defined in Intents.

queryArgs
Bundle

A query arguments Bundle identifying the target person or group. This bundle must contain exactly one target sub-query generated using Persons.Query.Builder or Groups.Query.Builder.

Returns

A PendingIntent configured to launch the interaction Activity in the target directory application, or null if the request could not be processed.

Attributes

Applies to