语言

GetCredentialRequest(CallingAppInfo, IList<CredentialOption>) 构造函数

定义

使用调用应用信息和凭据检索选项创建请求。

[Android.Runtime.Register(".ctor", "(Landroid/service/credentials/CallingAppInfo;Ljava/util/List;)V", "", ApiSince=34)]
public GetCredentialRequest(Android.Service.Credentials.CallingAppInfo callingAppInfo, System.Collections.Generic.IList<Android.Credentials.CredentialOption> credentialOptions);
[<Android.Runtime.Register(".ctor", "(Landroid/service/credentials/CallingAppInfo;Ljava/util/List;)V", "", ApiSince=34)>]
new Android.Service.Credentials.GetCredentialRequest : Android.Service.Credentials.CallingAppInfo * System.Collections.Generic.IList<Android.Credentials.CredentialOption> -> Android.Service.Credentials.GetCredentialRequest

参数

callingAppInfo
CallingAppInfo

有关请求凭据的应用的非 null 信息。

credentialOptions
IList<CredentialOption>

检索凭据所需的选项的非 null 列表。

特性

注解

这是用户选择凭据条目或远程条目后阶段的请求。 其选项包含检索凭据所需的参数,而不仅仅是用于列出条目的候选查询数据。

Android 构造函数拒绝 null 调用方或列表。 它不检查列表是否为空,或者其元素是否为 null。

适用于