BeginCreateCredentialRequest


public abstract class BeginCreateCredentialRequest
Known direct subclasses

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 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()