Object SdkPreInitConfigStore
-
- All Implemented Interfaces:
public class SdkPreInitConfigStoreProcess-start readable snapshot for pre-init decisions.
The provider cannot start
ConfigComponent, so values required before publisher init are copied from the last successful root-config update into this KV store. The provider reads only this store to decide whether pre-init is enabled andInitTelemetryHelperreads the same snapshot for its lightweight telemetry URL/retry/timeout settings.
-
-
Field Summary
Fields Modifier and Type Field Description public final static SdkPreInitConfigStoreINSTANCE
-
Method Summary
Modifier and Type Method Description final BooleanisEnabled(Context context)Returns the persisted provider pre-init kill switch from the previous successful config sync. final Unitpersist(Context context, RootConfig rootConfig)Persists the root-config backed pre-init bootstrap values for the next process start. final Unitpersist(Context context, Boolean enabled, Boolean accountIdResetEnabled)Persists test or caller supplied pre-init bootstrap values without a full root-config object. final BooleanisAccountIdResetEnabled(Context context)Returns whether publisher init may reset a mismatched persisted account ID. final BooleanisAppLaunchTimeEnabled(Context context)Returns whether provider pre-init may capture the early app launch time. final InitTelemetryConfigSnapshotgetInitTelemetryConfig(Context context)Returns cached init telemetry settings used before normal config components are available. -
-
Method Detail
-
isEnabled
final Boolean isEnabled(Context context)
Returns the persisted provider pre-init kill switch from the previous successful config sync.
-
persist
final Unit persist(Context context, RootConfig rootConfig)
Persists the root-config backed pre-init bootstrap values for the next process start.
-
persist
final Unit persist(Context context, Boolean enabled, Boolean accountIdResetEnabled)
Persists test or caller supplied pre-init bootstrap values without a full root-config object.
-
isAccountIdResetEnabled
final Boolean isAccountIdResetEnabled(Context context)
Returns whether publisher init may reset a mismatched persisted account ID.
-
isAppLaunchTimeEnabled
final Boolean isAppLaunchTimeEnabled(Context context)
Returns whether provider pre-init may capture the early app launch time.
-
getInitTelemetryConfig
final InitTelemetryConfigSnapshot getInitTelemetryConfig(Context context)
Returns cached init telemetry settings used before normal config components are available.
-
-
-
-