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:

    5.47.0