-
public final class Config
-
-
Field Summary
Fields Modifier and Type Field Description private final StringapiKeyprivate final StringendpointBaseUrlprivate final LogLevellogLevelprivate final BooleanremoteConfigEnabledprivate final StringappIdprivate final BooleansdkEnabledprivate final BooleandebugModeEnabled
-
Method Summary
Modifier and Type Method Description final StringgetApiKey()Public API key used to authenticate SDK network calls. final StringgetEndpointBaseUrl()Base URL of the backend API (e.g. final LogLevelgetLogLevel()Minimum log level printed by the SDK. final BooleangetRemoteConfigEnabled()When false, the SDK will not fetch configuration from the endpoint and will use the local configuration below.final StringgetAppId()App-specific identifier. final BooleangetSdkEnabled()Whether the SDK is enabled entirely. final BooleangetDebugModeEnabled()When true, enables an in-app debug overlay to inspect SDK state.-
-
Method Detail
-
getEndpointBaseUrl
final String getEndpointBaseUrl()
Base URL of the backend API (e.g. "https://api.example.com/").
-
getLogLevel
final LogLevel getLogLevel()
Minimum log level printed by the SDK.
-
getRemoteConfigEnabled
final Boolean getRemoteConfigEnabled()
When
false, the SDK will not fetch configuration from the endpoint and will use the local configuration below. Defaults totrue.
-
getAppId
final String getAppId()
App-specific identifier. If
null, the apiKey will be used. This value is only used when remoteConfigEnabled isfalse.
-
getSdkEnabled
final Boolean getSdkEnabled()
Whether the SDK is enabled entirely. This value is only used when remoteConfigEnabled is
false.
-
getDebugModeEnabled
final Boolean getDebugModeEnabled()
When
true, enables an in-app debug overlay to inspect SDK state. Defaults tofalse.
-
-
-
-