Methods Summary |
---|
public void | cleanUp()Cleans up any resources used by the biometric unlock.
|
public int | getQuality()Gets the Device Policy Manager quality of the biometric unlock sensor
(e.g., PASSWORD_QUALITY_BIOMETRIC_WEAK).
|
public void | initializeView(android.view.View biometricUnlockView)Initializes the view provided for the biometric unlock UI to work within. The provided area
completely covers the backup unlock mechanism.
|
public boolean | isRunning()Indicates whether the biometric unlock is running. Before
{@link BiometricSensorUnlock#start} is called, isRunning() returns false. After a successful
call to {@link BiometricSensorUnlock#start}, isRunning() returns true until the biometric
unlock completes, {@link BiometricSensorUnlock#stop} has been called, or an error has
forced the biometric unlock to stop.
|
public boolean | start()Binds to the biometric unlock service and starts the unlock procedure. Called on the UI
thread.
|
public boolean | stop()Stops the biometric unlock procedure and unbinds from the service. Called on the UI thread.
|
public void | stopAndShowBackup()Stops and removes the biometric unlock and shows the backup unlock
|