@dderevjanik/termux-api
Version:
This library allows you to interact with your Android device from Node.js using termux-api
25 lines (24 loc) • 631 B
TypeScript
/**
* Represents the result of a fingerprint authentication attempt.
*/
export interface FingerprintAuthResult {
/**
* List of errors encountered during the authentication attempt.
* @example []
*/
errors: string[];
/**
* The number of failed authentication attempts.
* @example 0
*/
failed_attempts: number;
/**
* The result of the authentication attempt.
* @example "AUTH_RESULT_SUCCESS"
*/
auth_result: string;
}
/**
* Use fingerprint sensor on device to check for authentication.
*/
export declare function fingerprint(): Promise<FingerprintAuthResult>;