PeopleContract.CreatePeopleInteractionRequest 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 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生成的目標子查詢。
傳回
PendingIntent A 設定在目標目錄應用程式中啟動互動活動,或null在請求無法處理時啟動。
- 屬性
備註
這三個參數都必須是非零的。 輔助工具將互動類型與查詢參數打包成提供者呼叫。 若結果束不存在或不包含待處理意圖,則回傳 null;它不會啟動返回意圖。