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 Map<String, Object> biometric(String action)
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.
@param action status, enroll, unenroll, match or nomatch @return what was found or done
Examples
Enroll a face or a finger
device.biometric("enroll");
Present a matching one to the prompt that is up
Map<String, Object> said = device.biometric("match");
System.out.println(said.get("outcome"));