public interface

FirebaseRemoteConfigInfo

com.google.firebase.remoteconfig.FirebaseRemoteConfigInfo

Class Overview

Wraps the current state of the FirebaseRemoteConfig singleton object.

Summary

Public Methods
abstract FirebaseRemoteConfigSettings getConfigSettings()
Gets the current settings of the FirebaseRemoteConfig singleton object.
abstract long getFetchTimeMillis()
Gets the timestamp (milliseconds since epoch) of the last successful fetch, regardless of whether the fetch was activated or not.
abstract int getLastFetchStatus()
Gets the status of the most recent fetch attempt.

Public Methods

public abstract FirebaseRemoteConfigSettings getConfigSettings ()

Gets the current settings of the FirebaseRemoteConfig singleton object.

Returns
FirebaseRemoteConfigSettings A FirebaseRemoteConfigSettings object indicating the current settings.

public abstract long getFetchTimeMillis ()

Gets the timestamp (milliseconds since epoch) of the last successful fetch, regardless of whether the fetch was activated or not.

Returns
long -1 if no fetch attempt has been made yet. Otherwise, returns the timestamp of the last successful fetch operation.

public abstract int getLastFetchStatus ()

Gets the status of the most recent fetch attempt.

Returns
int Will return one of LAST_FETCH_STATUS_SUCCESS, LAST_FETCH_STATUS_FAILURE, LAST_FETCH_STATUS_THROTTLED, or LAST_FETCH_STATUS_NO_FETCH_YET.