FeatureFlagResultCache
class FeatureFlagResultCache @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP] ) constructor(cache: AirshipCache)
Feature Flag result cache. A cache managed by the app that is optionally used by FeatureFlagManager.flag to return an existing value if the flag fails to resolve or no longer exists.
Functions
Link copied to clipboard
Caches a flag.
Link copied to clipboard
Caches a flag in an async method. See cache
Link copied to clipboard
Gets a flag from the cache if it exists.
Link copied to clipboard
Gets a flag as a pending result. See flag.
Link copied to clipboard
Removes a flag from the cache.
Link copied to clipboard
Removes a cached flag as an async method. See removeCachedFlag