FingerprintGestureController.FingerprintGestureCallback

public static abstract class FingerprintGestureController.FingerprintGestureCallback
extends Object

java.lang.Object
   ↳ android.accessibilityservice.FingerprintGestureController.FingerprintGestureCallback


Class that is called back when fingerprint gestures are being used for accessibility.

Summary

Public constructors

FingerprintGestureController.FingerprintGestureCallback()

Public methods

void onGestureDetected(int gesture)

Called when the fingerprint sensor detects gestures.

void onGestureDetectionAvailabilityChanged(boolean available)

Called when the fingerprint sensor's gesture detection becomes available or unavailable.

Inherited methods

Public constructors

FingerprintGestureController.FingerprintGestureCallback

added in API level 26
public FingerprintGestureController.FingerprintGestureCallback ()

Public methods

onGestureDetected

added in API level 26
public void onGestureDetected (int gesture)

Called when the fingerprint sensor detects gestures.

Parameters
gesture int: The id of the gesture that was detected. For example, FingerprintGestureController.FINGERPRINT_GESTURE_SWIPE_RIGHT.

onGestureDetectionAvailabilityChanged

added in API level 26
public void onGestureDetectionAvailabilityChanged (boolean available)

Called when the fingerprint sensor's gesture detection becomes available or unavailable.

Parameters
available boolean: Whether or not the sensor's gesture detection is now available.