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
def biometric(action: str='status') -> dict
Biometrics on an emulator or simulator. action is status,
enroll or unenroll, or match / nomatch to present a
matching or a stranger's face or finger to the prompt that is up.
Returns kind (face or fingerprint), enrolled, and for a match
or non-match the outcome read back: accepted, not recognized,
failed (the prompt gave up) or locked out. With no prompt up it
raises rather than sending to nothing. A real phone refuses.
Examples
Enroll a face or a finger
device.biometric("enroll")
Present a matching one to the prompt that is up
said = device.biometric("match")
print(said["outcome"])