Interface FlurryConfigListener


public interface FlurryConfigListener
The listener for FlurryConfig. A listener is set of callback methods that allow a developer to manage and take actions for config data loading.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onActivateComplete(boolean isCache)
    Called after config data is activated.
    void
    onFetchError(boolean isRetrying)
    Called after config data is failed to load from server.
    void
    Called with a fetch completes but no changes from server.
    void
    Called after config data is successfully loaded from server.
  • Method Details

    • onFetchSuccess

      void onFetchSuccess()
      Called after config data is successfully loaded from server.
    • onFetchNoChange

      void onFetchNoChange()
      Called with a fetch completes but no changes from server.
    • onFetchError

      void onFetchError(boolean isRetrying)
      Called after config data is failed to load from server. Flurry Config will retry if failed in 10 sec., 30 sec., 3 min., then abandon.
      Parameters:
      isRetrying - true if it is still retrying fetching
    • onActivateComplete

      void onActivateComplete(boolean isCache)
      Called after config data is activated. Flurry Config can receive activate notification when cached data is read, and when newly fetched data is been activated.
      Parameters:
      isCache - true if activated from the cached data