Aracılığıyla paylaş


CredentialDescription Constructor

Definition

Constructs a 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

Parameters

type
String

the type of the credential returned.

supportedElementKeys
ICollection<String>

Keys of elements to match with Credential requests.

credentialEntries
IList<CredentialEntry>

a list of CredentialEntrys that are to be shown on the account selector if a credential matches with this description. Each entry contains information to be displayed within an entry on the UI, as well as a android.app.PendingIntent that will be invoked if the user selects this entry.

Attributes

Remarks

Constructs a CredentialDescription.

Java documentation for android.credentials.CredentialDescription.CredentialDescription(java.lang.String, java.util.Set<java.lang.String>, java.util.List<android.service.credentials.CredentialEntry>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to