Object SdkPreInitConfigStore

  • All Implemented Interfaces:

    
    public class SdkPreInitConfigStore
    
                        

    Process-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 and InitTelemetryHelper reads the same snapshot for its lightweight telemetry URL/retry/timeout settings.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean isEnabled(Context context) Returns the persisted provider pre-init kill switch from the previous successful config sync.
      final Unit persist(Context context, RootConfig rootConfig) Persists the root-config backed pre-init bootstrap values for the next process start.
      final Unit persist(Context context, Boolean enabled, Boolean accountIdResetEnabled) Persists test or caller supplied pre-init bootstrap values without a full root-config object.
      final Boolean isAccountIdResetEnabled(Context context) Returns whether publisher init may reset a mismatched persisted account ID.
      final Boolean isAppLaunchTimeEnabled(Context context) Returns whether provider pre-init may capture the early app launch time.
      final InitTelemetryConfigSnapshot getInitTelemetryConfig(Context context) Returns cached init telemetry settings used before normal config components are available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait