BeginGetCredentialRequest
class BeginGetCredentialRequest : Parcelable
kotlin.Any | |
↳ | android.service.credentials.BeginGetCredentialRequest |
Query stage request for getting user's credentials from a given credential provider.
This request contains a list of BeginGetCredentialOption
that have parameters to be used to query credentials, and return a list of CredentialEntry
to be set on the BeginGetCredentialResponse
. This list is then shown to the user on a selector. If a PendingIntent
is set on a CredentialEntry
, and the user selects that entry, a GetCredentialRequest
with all parameters needed to get the actual android.credentials.Credential
will be sent as part of the Intent
fired through the PendingIntent
.
Summary
Nested classes | |
---|---|
Builder for |
Inherited constants | |
---|---|
Public methods | |
---|---|
Int | |
MutableList<BeginGetCredentialOption!> |
Returns the list of type specific credential options to list credentials for in |
CallingAppInfo? |
Returns info pertaining to the app requesting credentials. |
Unit |
writeToParcel(dest: Parcel, flags: Int) Flatten this object in to a Parcel. |
Properties | |
---|---|
static Parcelable.Creator<BeginGetCredentialRequest!> |
Public methods
describeContents
fun describeContents(): Int
Return | |
---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
getBeginGetCredentialOptions
fun getBeginGetCredentialOptions(): MutableList<BeginGetCredentialOption!>
Returns the list of type specific credential options to list credentials for in BeginGetCredentialResponse
.
Return | |
---|---|
MutableList<BeginGetCredentialOption!> |
This value cannot be null . |
getCallingAppInfo
fun getCallingAppInfo(): CallingAppInfo?
Returns info pertaining to the app requesting credentials.
Return | |
---|---|
CallingAppInfo? |
This value may be null . |
writeToParcel
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
Parameters | |
---|---|
dest |
Parcel: This value cannot be null . |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |