DeviceNotSupportedException

class DeviceNotSupportedException(message: String = "Device not supported", cause: Throwable? = null) : Exception

Exception thrown when the device does not support required authentication features.

This exception indicates that the device lacks necessary hardware or software capabilities for the requested authentication method. Common scenarios include:

  • Device does not have biometric sensors

  • Device does not support the required biometric types

  • Device does not have a secure keystore

Parameters

message

The error message describing which feature is not supported

cause

The underlying cause of the exception, if any

Constructors

Link copied to clipboard
constructor(message: String = "Device not supported", cause: Throwable? = null)