checkAvailability


Purpose

Checks whether the TouchId functionality is available and the passcode is set.

Signature

checkAvailability( callback )

Returns

This method does not return anything.

Parameter

Name Description Type Use
callback Registered to verify if the TouchId functionality is available and the passcode is set. undefined required

Callback structure

The checkAvailability method's callback object can be structured as follows:

{
	onSuccess: function(success) { ... }
}

Methods

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

Related topics

TouchID
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...