-
public final class ClientConfig
-
-
Constructor Summary
Constructors Constructor Description ClientConfig(String endpoint, String token, String userId, JsonObject attributes)
-
Method Summary
Modifier and Type Method Description final StringgetEndpoint()final StringgetToken()final StringgetUserId()Optional. final JsonObjectgetAttributes()Initial session-level attributes. -
-
Method Detail
-
getEndpoint
final String getEndpoint()
-
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.attributesonPOST /session/start. Encoded to a JSON string viakotlinx.serializationbefore crossing the native boundary.
-
-
-
-