public interface PerformsTouchID extends ExecutesMethod
Modifier and Type | Method and Description |
---|---|
default void |
performTouchID(boolean match)
Simulate touchId event.
|
default void |
toggleTouchIDEnrollment(boolean enabled)
Enrolls touchId in iOS Simulators.
|
execute, execute
default void performTouchID(boolean match)
match
- If true, simulates a successful fingerprint scan. If false, simulates a failed fingerprint scan.default void toggleTouchIDEnrollment(boolean enabled)
enabled
- Whether to enable or disable Touch ID Enrollment. The actual state of the feature
will only be changed if the current value is different from the previous one.
Multiple calls of the method with the same argument value have no effect.