GetCredentialRequest

public final class GetCredentialRequest implements Parcelable


Data interface for retrieving a user credential.

Summary

Public constructors

GetCredentialRequest(
    @NonNull List<@NonNull CredentialOption> credentialOptions,
    @NonNull Bundle data,
    String origin,
    @NonNull ResultReceiver resultReceiver
)

constructs an instance of GetCredentialRequest

Public methods

final int
final @NonNull List<@NonNull CredentialOption>

the list of credential options

final @NonNull Bundle

the additional data to be used for retrieving the credential

final String

the origin of the request, only settable by a browser

final @NonNull ResultReceiver

deprecated

void
writeToParcel(@NonNull Parcel dest, int flags)

Public fields

CREATOR

public static final @NonNull Parcelable.Creator<@NonNull GetCredentialRequestCREATOR

Public constructors

GetCredentialRequest

public GetCredentialRequest(
    @NonNull List<@NonNull CredentialOption> credentialOptions,
    @NonNull Bundle data,
    String origin,
    @NonNull ResultReceiver resultReceiver
)

constructs an instance of GetCredentialRequest

Parameters
@NonNull List<@NonNull CredentialOption> credentialOptions

the list of credential options

@NonNull Bundle data

the additional data to be used for retrieving the credential

String origin

the origin of the request, only settable by a browser

@NonNull ResultReceiver resultReceiver

deprecated

Public methods

describeContents

public final int describeContents()

getCredentialOptions

public final @NonNull List<@NonNull CredentialOptiongetCredentialOptions()

the list of credential options

getData

public final @NonNull Bundle getData()

the additional data to be used for retrieving the credential

getOrigin

public final String getOrigin()

the origin of the request, only settable by a browser

getResultReceiver

public final @NonNull ResultReceiver getResultReceiver()

deprecated

writeToParcel

public void writeToParcel(@NonNull Parcel dest, int flags)