Language

GetCredentialRequest(CallingAppInfo, IList<CredentialOption>) Constructor

Definition

Creates a request with calling app information and credential retrieval options.

[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

Parameters

callingAppInfo
CallingAppInfo

The non-null information about the app that requests a credential.

credentialOptions
IList<CredentialOption>

The non-null list of options needed to retrieve the credential.

Attributes

Remarks

This is the request for the stage after the user selects a credential entry or a remote entry. Its options contain the parameters needed to retrieve a credential, rather than only the candidate query data used to list entries.

The Android constructor rejects a null caller or list. It does not check whether the list is empty or whether its elements are null.

See the Android 16 implementation.

Applies to