
Local over remote ( OverrideBehavior.LOCAL_OVER_REMOTE): When evaluating values, the SDK will use all feature flags & settings that are downloaded from the ConfigCat CDN, plus all feature flags & settings that are loaded from local-override sources. Local only ( OverrideBehavior.LOCAL_ONLY): When evaluating values, the SDK will not use feature flags & settings from the ConfigCat CDN, but it will use all feature flags & settings that are loaded from local-override sources.

The following 3 behaviours are supported: Moreover, you can specify how the overrides should apply over the downloaded values. With flag overrides you can overwrite the feature flags & settings downloaded from the ConfigCat CDN with local values. With client.isOffline you can check whether the SDK is in offline mode. You can subscribe to these events either on SDK initialization: OnError(String): This event is sent when an error occurs within the ConfigCat SDK. The event sends the same evaluation details that you would get from getValueDetails(). OnFlagEvaluated(EvaluationDetails): This event is sent each time when the SDK evaluates a feature flag or setting. OnConfigChanged(Map): This event is sent when the SDK loads a valid config JSON into memory from cache, and each subsequent time when the loaded config JSON changes via HTTP. If the config couldn't be loaded neither from cache nor from HTTP the onClientReady event fires when the auto polling's maxInitWaitTime is reached. If it's using auto polling, the ready state is reached when the SDK has a valid config JSON loaded into memory either from cache or from HTTP. If the SDK is initialized with lazy load or manual polling it's considered ready right after instantiation. OnClientReady(): This event is sent when the SDK reaches the ready state. With the following hooks you can subscribe to particular events fired by the SDK: GetValue() returns defaultValue if the cache is empty. Optional, used to subscribe events that the SDK sends in specific scenarios. Indicates whether the SDK should be initialized in offline mode. Optional, sets up the HTTP proxy for the underlying Ktor HTTP engine. Optional, sets the underlying Ktor HTTP engine.

Optional, sets the local feature flag & setting overrides.

Optional, sets the polling mode for the client. Optional, sets a custom cache implementation for the client. Sets the underlying HTTP client's request timeout. Optional, sets the CDN base url (forward proxy, dedicated subscription) from where the SDK will download the config JSON. Available options: DataGovernance.GLOBAL, DataGovernance.EU_ONLY. This parameter needs to be in sync with your Data Governance preferences. Describes the location of your feature flag and setting data within the ConfigCat CDN. Optional, defaults to DataGovernance.GLOBAL. These are the available options on the ConfigCatOptions class: Properties
