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
public IDictionary<string, object?> Biometric(string action = "status")
Biometrics on an emulator or simulator: status,
enroll or unenroll, or match / nomatch
to present a matching or a stranger's face or finger to the prompt
that is up. The answer has 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 throws 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
var said = device.Biometric("match");
Console.WriteLine(said["outcome"]);