authenticate

Request authentication of a crypto object. This call warms up the fingerprint hardware and starts scanning for a fingerprint. It terminates when onAuthenticationError or onAuthenticationSucceeded is called, at which point the object is no longer valid. The operation can be canceled by using the provided cancel object.

Parameters

crypto

object associated with the call or null if none required.

flags

optional flags; should be 0

cancel

an object that can be used to cancel authentication

callback

an object to receive authentication events

handler

an optional handler for events


Deprecated

Use authenticate

Request authentication of a crypto object. This call warms up the fingerprint hardware and starts scanning for a fingerprint. It terminates when onAuthenticationError or onAuthenticationSucceeded is called, at which point the object is no longer valid. The operation can be canceled by using the provided cancel object.

Parameters

crypto

object associated with the call or null if none required.

flags

optional flags; should be 0

cancel

an object that can be used to cancel authentication

callback

an object to receive authentication events

handler

an optional handler for events