GetCredentialRequest

class GetCredentialRequest : Parcelable


Data interface for retrieving a user credential.

Summary

Public companion properties

Parcelable.Creator<GetCredentialRequest>

Public constructors

GetCredentialRequest(
    credentialOptions: List<CredentialOption>,
    data: Bundle,
    origin: String?,
    resultReceiver: ResultReceiver
)

constructs an instance of GetCredentialRequest

Public functions

final Int
open Unit
writeToParcel(dest: Parcel, flags: Int)

Public properties

List<CredentialOption>

the list of credential options

Bundle

the additional data to be used for retrieving the credential

String?

the origin of the request, only settable by a browser

ResultReceiver

This property is deprecated. Deprecated.

Public companion properties

Public constructors

GetCredentialRequest

GetCredentialRequest(
    credentialOptions: List<CredentialOption>,
    data: Bundle,
    origin: String? = null,
    resultReceiver: ResultReceiver
)

constructs an instance of GetCredentialRequest

Parameters
credentialOptions: List<CredentialOption>

the list of credential options

data: Bundle

the additional data to be used for retrieving the credential

origin: String? = null

the origin of the request, only settable by a browser

resultReceiver: ResultReceiver

deprecated

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

open fun writeToParcel(dest: Parcel, flags: Int): Unit

Public properties

credentialOptions

val credentialOptionsList<CredentialOption>

the list of credential options

data

val dataBundle

the additional data to be used for retrieving the credential

origin

val originString?

the origin of the request, only settable by a browser

resultReceiver

val resultReceiverResultReceiver

deprecated