/**@class android.hardware.fingerprint.FingerprintManager
 implements android.hardware.biometrics.BiometricAuthenticator

 implements android.hardware.biometrics.BiometricFingerprintConstants

@extends java.lang.Object

 A class that coordinates access to the fingerprint hardware.
 @deprecated See {@link BiometricPrompt} which shows a system-provided dialog upon starting
 authentication. In a world where devices may have different types of biometric authentication,
 it's much more realistic to have a system-provided authentication dialog since the method may
 vary by vendor/device.
*/
var FingerprintManager = {

/**Request authentication of a crypto object. This call warms up the fingerprint hardware
 and starts scanning for a fingerprint. It terminates when
 {@link android.hardware.fingerprint.FingerprintManager.AuthenticationCallback#onAuthenticationError(int, CharSequence)} or
 {@link android.hardware.fingerprint.FingerprintManager.AuthenticationCallback#onAuthenticationSucceeded(AuthenticationResult)} is called, at
 which point the object is no longer valid. The operation can be canceled by using the
 provided cancel object.
@param {Object {FingerprintManager.CryptoObject}} crypto object associated with the call or null if none required.
@param {Object {CancellationSignal}} cancel an object that can be used to cancel authentication
@param {Number} flags optional flags; should be 0
@param {Object {FingerprintManager.AuthenticationCallback}} callback an object to receive authentication events
@param {Object {Handler}} handler an optional handler to handle callback events
@throws IllegalArgumentException if the crypto operation is not supported or is not backed
         by <a href="{@docRoot}training/articles/keystore.html">Android Keystore
         facility</a>.
@throws IllegalStateException if the crypto primitive is not initialized.
@deprecated See {@link BiometricPrompt#authenticate(CancellationSignal, Executor,
 BiometricPrompt.AuthenticationCallback)} and {@link BiometricPrompt#authenticate(
 BiometricPrompt.CryptoObject, CancellationSignal, Executor,
 BiometricPrompt.AuthenticationCallback)}
*/
authenticate : function(  ) {},

/**Per-user version, see {@link android.hardware.fingerprint.FingerprintManager#authenticate(CryptoObject,
 CancellationSignal, int, AuthenticationCallback, Handler)}. This version does not
 display the BiometricPrompt.
@param {Object {FingerprintManager.CryptoObject}} userId the user ID that the fingerprint hardware will authenticate for.
@hide 
*/
authenticate : function(  ) {},

/**Request fingerprint enrollment. This call warms up the fingerprint hardware
 and starts scanning for fingerprints. Progress will be indicated by callbacks to the
 {@link android.hardware.fingerprint.FingerprintManager.EnrollmentCallback} object. It terminates when
 {@link android.hardware.fingerprint.FingerprintManager.EnrollmentCallback#onEnrollmentError(int, CharSequence)} or
 {@link EnrollmentCallback#onEnrollmentProgress(int) is called with remaining == 0, at
 which point the object is no longer valid. The operation can be canceled by using the
 provided cancel object.
@param {Object {byte[]}} token a unique token provided by a recent creation or verification of device
 credentials (e.g. pin, pattern or password).
@param {Object {CancellationSignal}} cancel an object that can be used to cancel enrollment
@param {Number} flags optional flags
@param {Number} userId the user to whom this fingerprint will belong to
@param {Object {FingerprintManager.EnrollmentCallback}} callback an object to receive enrollment events
@hide 
*/
enroll : function(  ) {},

/**Requests a pre-enrollment auth token to tie enrollment to the confirmation of
 existing device credentials (e.g. pin/pattern/password).
@hide 
*/
preEnroll : function(  ) {},

/**Finishes enrollment and cancels the current auth token.
@hide 
*/
postEnroll : function(  ) {},

/**Sets the active user. This is meant to be used to select the current profile for enrollment
 to allow separate enrolled fingers for a work profile
@param {Number} userId
@hide 
*/
setActiveUser : function(  ) {},

/**Remove given fingerprint template from fingerprint hardware and/or protected storage.
@param {Object {Fingerprint}} fp the fingerprint item to remove
@param {Number} userId the user who this fingerprint belongs to
@param {Object {FingerprintManager.RemovalCallback}} callback an optional callback to verify that fingerprint templates have been
 successfully removed. May be null of no callback is required.
@hide 
*/
remove : function(  ) {},

/**Enumerate all fingerprint templates stored in hardware and/or protected storage.
@param {Number} userId the user who this fingerprint belongs to
@param {Object {FingerprintManager.EnumerateCallback}} callback an optional callback to verify that fingerprint templates have been
 successfully removed. May be null of no callback is required.
@hide 
*/
enumerate : function(  ) {},

/**Renames the given fingerprint template
@param {Number} fpId the fingerprint id
@param {Number} userId the user who this fingerprint belongs to
@param {String} newName the new name
@hide 
*/
rename : function(  ) {},

/**Obtain the list of enrolled fingerprints templates.
@return {Object {java.util.List}} list of current fingerprint items
@hide 
*/
getEnrolledFingerprints : function(  ) {},

/**Obtain the list of enrolled fingerprints templates.
@return {Object {java.util.List}} list of current fingerprint items
@hide 
*/
getEnrolledFingerprints : function(  ) {},

/**
@hide 
*/
hasEnrolledTemplates : function(  ) {},

/**
@hide 
*/
hasEnrolledTemplates : function(  ) {},

/**Determine if there is at least one fingerprint enrolled.
@return {Boolean} true if at least one fingerprint is enrolled, false otherwise
@deprecated See {@link BiometricPrompt} and
 {@link FingerprintManager#FINGERPRINT_ERROR_NO_FINGERPRINTS}
*/
hasEnrolledFingerprints : function(  ) {},

/**
@hide 
*/
hasEnrolledFingerprints : function(  ) {},

/**Determine if fingerprint hardware is present and functional.
@return {Boolean} true if hardware is present and functional, false otherwise.
@deprecated See {@link BiometricPrompt} and
 {@link FingerprintManager#FINGERPRINT_ERROR_HW_UNAVAILABLE}
*/
isHardwareDetected : function(  ) {},

/**Retrieves the authenticator token for binding keys to the lifecycle
 of the calling user's fingerprints. Used only by internal clients.
@hide 
*/
getAuthenticatorId : function(  ) {},

/**
@hide 
*/
addLockoutResetCallback : function(  ) {},

/**
@hide 
*/
getErrorString : function(  ) {},

/**
@hide 
*/
getAcquiredString : function(  ) {},


};