BeginCreateCredentialRequest


public 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 constructors

BeginCreateCredentialRequest(
    @NonNull String type,
    @NonNull Bundle candidateQueryData,
    CallingAppInfo callingAppInfo
)

Public methods

static final @NonNull Bundle

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

static final BeginCreateCredentialRequest

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

final CallingAppInfo
final @NonNull Bundle
final @NonNull String

Public constructors

BeginCreateCredentialRequest

Added in 1.2.0
public BeginCreateCredentialRequest(
    @NonNull String type,
    @NonNull Bundle candidateQueryData,
    CallingAppInfo callingAppInfo
)

Public methods

asBundle

Added in 1.2.0
public static final @NonNull Bundle asBundle(@NonNull BeginCreateCredentialRequest request)

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
public static final BeginCreateCredentialRequest fromBundle(@NonNull Bundle bundle)

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

getCallingAppInfo

Added in 1.2.0
public final CallingAppInfo getCallingAppInfo()

getCandidateQueryData

Added in 1.2.0
public final @NonNull Bundle getCandidateQueryData()

getType

Added in 1.2.0
public final @NonNull String getType()