Language

BiometricManager.BiometricSensorStrengths Property

Definition

Returns a map of biometric modalities to their sensor security strengths.

public virtual System.Collections.Generic.IDictionary<Java.Lang.Integer,Java.Lang.Integer> BiometricSensorStrengths { [Android.Runtime.Register("getBiometricSensorStrengths", "()Ljava/util/Map;", "GetGetBiometricSensorStrengthsHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getBiometricSensorStrengths", "()Ljava/util/Map;", "GetGetBiometricSensorStrengthsHandler", ApiSince=37)>]
member this.BiometricSensorStrengths : System.Collections.Generic.IDictionary<Java.Lang.Integer, Java.Lang.Integer>

Property Value

Attributes

Remarks

Returns a map of biometric modalities to their sensor security strengths.

Note that this API is intended exclusively for use by applications that hold a qualifying Android role (currently only android.app.role.RoleManager#ROLE_WALLET or android.app.role.RoleManager#ROLE_DEVICE_POLICY_MANAGEMENT) and are currently running in the foreground.

The returned map links each biometric modality available on the device (e.g., TYPE_FINGERPRINT for fingerprint or TYPE_FACE for face) to its corresponding sensor strength (e.g., Authenticators.BIOMETRIC_STRONG for Class-3 or Authenticators.LESS_THAN_STRONG for unknown/unexposed cases). Requires Manifest.permission.USE_BIOMETRIC and Manifest.permission.ACCESS_BIOMETRIC_SENSOR_STRENGTHS

Android reference for android.hardware.biometrics.BiometricManager.getBiometricSensorStrengths.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to