AuthenticationRequest.Credential.Builder
public final class AuthenticationRequest.Credential.Builder
Builder used to create an instance of Credential.
Summary
Public methods |
|
|---|---|
final @NonNull AuthenticationRequest.Credential |
build()Construct an instance of |
final @NonNull AuthenticationRequest.Credential.Builder |
The optional |
final @NonNull AuthenticationRequest.Credential.Builder |
setCryptoObject(BiometricPrompt.CryptoObject cryptoObject)An optional cryptographic object to be associated with the authentication. |
final @NonNull AuthenticationRequest.Credential.Builder |
setSubtitle(String subtitle)The optional subtitle of the prompt. |
Public constructors
Public methods
build
Added in 1.4.0-alpha04
public final @NonNull AuthenticationRequest.Credential build()
Construct an instance of Credential.
setContent
Added in 1.4.0-alpha04
public final @NonNull AuthenticationRequest.Credential.Builder setContent(AuthenticationRequest.BodyContent content)
The optional BodyContent of the prompt.
setCryptoObject
Added in 1.4.0-alpha04
public final @NonNull AuthenticationRequest.Credential.Builder setCryptoObject(BiometricPrompt.CryptoObject cryptoObject)
An optional cryptographic object to be associated with the authentication.
setSubtitle
Added in 1.4.0-alpha04
public final @NonNull AuthenticationRequest.Credential.Builder setSubtitle(String subtitle)
The optional subtitle of the prompt.