Class DeviceFingerprint

    • Method Detail

      • getHash

         final String getHash()

        Unique device identifier - Settings.Secure.ANDROID_ID

      • setHash

         final Unit setHash(String value)

        Unique device identifier - Settings.Secure.ANDROID_ID

      • getAlgorithmName

         final String getAlgorithmName()

        Name of the algorithm that produced hash. For Android the hash is derived from Settings.Secure.ANDROID_ID and reported as "androidId".

      • setAlgorithmName

         final Unit setAlgorithmName(String value)

        Name of the algorithm that produced hash. For Android the hash is derived from Settings.Secure.ANDROID_ID and reported as "androidId".

      • getAlgorithmVersion

         final String getAlgorithmVersion()

        Version of the algorithmName. Bump only when the source or derivation of hash changes (not on routine SDK releases).

      • setAlgorithmVersion

         final Unit setAlgorithmVersion(String value)

        Version of the algorithmName. Bump only when the source or derivation of hash changes (not on routine SDK releases).

      • toJson

        @JvmOverloads() final String toJson(Boolean includeDeviceFingerprintPii)

        Converts DeviceFingerprint to JSON representation, ready to be sent to the Incode API.

        Parameters:
        includeDeviceFingerprintPii - when false, the hash (ANDROID_ID-derived) and ip keys are omitted entirely: PII not needed for Injection Attack Detection on on-device age estimation sessions.
      • toJson

        @JvmOverloads() final String toJson()

        Converts DeviceFingerprint to JSON representation, ready to be sent to the Incode API.