CredentialDescription Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 CredentialEntry
s 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
.
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.