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>
CredentialEntry如果凭据与此说明匹配,将在帐户选择器上显示的列表。
每个条目都包含要显示在 UI 上的条目中的信息,以及 android.app.PendingIntent 当用户选择此项时将调用的信息。
- 特性
注解
构造一个 CredentialDescription。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。