Skip to main content

biometric

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Biometrics on an emulator or simulator: read whether a face or finger is enrolled, enroll or unenroll one, and present a matching (match) or non-matching (nomatch) one to a prompt that is up. These call app_biometric.

biometric​

biometric(action?: 'status' | 'enroll' | 'unenroll' | 'match' | 'nomatch'): Promise<Data>

Enroll, read or present a face or finger on an emulator or simulator.

Examples​

Enroll a face or a finger​

await device.biometric('enroll')

Present a matching one to the prompt that is up​

const said = await device.biometric('match')
console.log(said.outcome)