Checks whether the TouchId functionality is available and the passcode is set.
checkAvailability( callback )
This method does not return anything.
| Name |
Description |
Type |
Use |
| callback |
Registered to verify if the TouchId functionality is available and the passcode is
set. |
undefined |
required |
The checkAvailability method's callback object can be structured
as follows:
| Name |
Description |
Return type |
| onSuccess |
This method is called when the TouchId's availability is successfully verified. Its
parameter is a boolean value, which is "true" if TouchId is available and the password
is set. |
undefined |