Also: Google
Play services
public interface FirebaseRemoteConfigInfo
Wraps the current state of the FirebaseRemoteConfig singleton object.
Public Method Summary
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 ()
Also:
Google Play services
Gets the current settings of the FirebaseRemoteConfig singleton object.
Returns
- A
FirebaseRemoteConfigSettings
object indicating the current settings.
public abstract long getFetchTimeMillis ()
Also:
Google Play services
Gets the timestamp (milliseconds since epoch) of the last successful fetch, regardless of whether the fetch was activated or not.
Returns
- -1 if no fetch attempt has been made yet. Otherwise, returns the timestamp of the last successful fetch operation.
public abstract int getLastFetchStatus ()
Also:
Google Play services
Gets the status of the most recent fetch attempt.
Returns
- Will return one of
LAST_FETCH_STATUS_SUCCESS
,LAST_FETCH_STATUS_FAILURE
,LAST_FETCH_STATUS_THROTTLED
, orLAST_FETCH_STATUS_NO_FETCH_YET
.