Package 

Class ClientConfig

    • Constructor Detail

      • ClientConfig

        ClientConfig(String endpoint, String token, String userId, JsonObject attributes)
    • Method Detail

      • getUserId

         final String getUserId()

        Optional. When omitted, the SDK falls back to the device identifier (Settings.Secure.ANDROID_ID) so anonymous users still get a stable identity. Initialization fails only if both this and the device identifier are unavailable.

      • getAttributes

         final JsonObject getAttributes()

        Initial session-level attributes. Injected as data.attributes on POST /session/start. Encoded to a JSON string via kotlinx.serialization before crossing the native boundary.