set PINWith Biometry
Sets or updates the user's PIN using biometric authentication.
Parameters
The fragment that will host the androidx.biometric.BiometricPrompt.
The title of the androidx.biometric.BiometricPrompt.
The subtitle of the androidx.biometric.BiometricPrompt.
The negative button text of the androidx.biometric.BiometricPrompt.
Sets whether the user should be given the option to authenticate with their device PIN, pattern, or password instead of biometry. Defaults to true. Note that if this option is set to truecancelText will not be set because it will replace the negative button on the BiometricPrompt.
The PIN to be set.
The block to be called when the request is completed including either the information if the PIN has been set / updated successfully or a Throwable.
Sets or updates the user's PIN using biometric authentication.
Parameters
The activity that will host the androidx.biometric.BiometricPrompt.
The title of the androidx.biometric.BiometricPrompt.
The subtitle of the androidx.biometric.BiometricPrompt.
The negative button text of the androidx.biometric.BiometricPrompt.
Sets whether the user should be given the option to authenticate with their device PIN, pattern, or password instead of biometry. Defaults to true. Note that if this option is set to truecancelText will not be set because it will replace the negative button on the BiometricPrompt.
The PIN to be set.
The block to be called when the request is completed including either the information if the PIN has been set / updated successfully or a Throwable.