Class OnDeviceProcessingNotCompatibleException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class OnDeviceProcessingNotCompatibleException extends RuntimeException
Thrown when on-device face results submission is enabled together with a configuration that is incompatible with the on-device-only processing guarantee. Three failure modes:
a missing prerequisite (end-to-end encryption);
a feature that would route biometric camera frames off the device (frame streaming, screen recording);
a flow routed through the legacy V1 selfie UI, which does not support on-device processing.
The on-device processing API guarantees that no biometric images leave the SDK. The SDK aborts the session rather than silently breaking that contract. Inspect reason to see which constraint failed.
See the On-Device Age Estimation guide for the full list of requirements and how to satisfy each reason.
- Since:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumOnDeviceProcessingNotCompatibleException.Reason
-
Method Summary
Modifier and Type Method Description final OnDeviceProcessingNotCompatibleException.ReasongetReason()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getReason
final OnDeviceProcessingNotCompatibleException.Reason getReason()
-
-
-
-