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 | |
---|---|
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
FingerprintGestureCallback
public FingerprintGestureCallback ()
Public methods
onGestureDetected
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
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. |