BeginCreateCredentialRequest


abstract class BeginCreateCredentialRequest

Known direct subclasses
BeginCreateCustomCredentialRequest

Base custom begin create request class for registering a credential.

BeginCreatePasswordCredentialRequest

Request to begin saving a password credential, received by the provider with a CredentialProviderBaseService.onBeginCreateCredentialRequest call.

BeginCreatePublicKeyCredentialRequest

Request to begin registering a public key credential.


Abstract request class for beginning a create credential request.

This class is to be extended by structured create credential requests such as BeginCreatePasswordCredentialRequest.

Summary

Public companion functions

Bundle

Helper method to convert the class to a parcelable Bundle, in case the class instance needs to be sent across a process.

BeginCreateCredentialRequest?
fromBundle(bundle: Bundle)

Helper method to convert a Bundle retrieved through asBundle, back to an instance of BeginCreateCredentialRequest.

Public constructors

BeginCreateCredentialRequest(
    type: String,
    candidateQueryData: Bundle,
    callingAppInfo: CallingAppInfo?
)

Public companion functions

asBundle

Added in 1.2.0
fun asBundle(request: BeginCreateCredentialRequest): Bundle

Helper method to convert the class to a parcelable Bundle, in case the class instance needs to be sent across a process. Consumers of this method should use fromBundle to reconstruct the class instance back from the bundle returned here.

fromBundle

Added in 1.2.0
fun fromBundle(bundle: Bundle): BeginCreateCredentialRequest?

Helper method to convert a Bundle retrieved through asBundle, back to an instance of BeginCreateCredentialRequest.

Public constructors

BeginCreateCredentialRequest

Added in 1.2.0
BeginCreateCredentialRequest(
    type: String,
    candidateQueryData: Bundle,
    callingAppInfo: CallingAppInfo?
)

Public properties

callingAppInfo

Added in 1.2.0
val callingAppInfoCallingAppInfo?

candidateQueryData

Added in 1.2.0
val candidateQueryDataBundle

type

Added in 1.2.0
val typeString