Language

PeopleContract.CreatePeopleInteractionRequest メソッド

定義

クライアント アプリケーションがターゲットの People Directory アプリケーションのユーザーまたはグループとの対話型通信セッション (メッセージング、オーディオ通話、ビデオ通話など) を開始できるようにする PendingIntent を作成します。

[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

パラメーター

resolver
ContentResolver

ContentResolverユーザー プロバイダーとの対話に使用されます。

interactionType
String

通信の目的の種類。これは、Intentsで定義されているPEOPLE_INTERACTION_TYPE_*定数のいずれかである必要があります。

queryArgs
Bundle

対象のユーザーまたはグループを識別 Bundle クエリ引数。 このバンドルには、 Persons.Query.Builder または Groups.Query.Builderを使用して生成されたターゲット サブクエリが 1 つだけ含まれている必要があります。

返品

ターゲット ディレクトリ アプリケーションで対話アクティビティを起動するように構成された PendingIntent 。要求を処理できなかった場合は null 。

属性

適用対象