GetBiometricEnrollmentsTool

Reports which biometric modalities are present/enrolled. No permissions declared by the module (the FingerprintManager.hasEnrolledFingerprints call is wrapped in try/catch and degrades to false if access is denied; FEATURE_FACE is a hardware-feature check, not enrollment state).

enrolled_count is the number of modalities flagged true (0–2: fingerprint + face), NOT a count of individually enrolled credentials.

Output map: enrolled_count (Int), has_fingerprint (Boolean), has_face (Boolean).

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
open override val annotations: ToolAnnotations
Link copied to clipboard
open override val description: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val parameters: List<ToolParameter>

Functions

Link copied to clipboard
open suspend override fun execute(params: Map<String, Any>): ToolResult