snapshot

Captures the SDK's internally cached config data. It does not attempt to update it by synchronizing with the external cache or by fetching the latest version from the ConfigCat CDN.

Therefore, it is recommended to use snapshots in conjunction with the Auto Polling mode, where the SDK automatically updates the internal cache in the background.

For other polling modes, you will need to manually initiate a cache update by invoking ConfigCatClient.forceRefresh.

Return

the captured snapshot.