CredentialDescription 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建構一個 CredentialDescription。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Set;Ljava/util/List;)V", "", ApiSince=34)]
public CredentialDescription(string type, System.Collections.Generic.ICollection<string> supportedElementKeys, System.Collections.Generic.IList<Android.Service.Credentials.CredentialEntry> credentialEntries);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Set;Ljava/util/List;)V", "", ApiSince=34)>]
new Android.Credentials.CredentialDescription : string * System.Collections.Generic.ICollection<string> * System.Collections.Generic.IList<Android.Service.Credentials.CredentialEntry> -> Android.Credentials.CredentialDescription
參數
- type
- String
回傳的證件類型。
- supportedElementKeys
- ICollection<String>
元素鍵與憑證請求相匹配。
- credentialEntries
- IList<CredentialEntry>
如果帳號選擇器有與此描述相符的憑證,則會顯示一串 CredentialEntrys。
每個條目都包含需在使用者介面條目中顯示的資訊,以及 android.app.PendingIntent 使用者選擇此條目時會被調用的資訊。
- 屬性
備註
建構一個 CredentialDescription。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。