FirebaseRemoteConfigInfo

public interface FirebaseRemoteConfigInfo


Wraps the current state of the FirebaseRemoteConfig singleton object.

Summary

Public methods

abstract @NonNull FirebaseRemoteConfigSettings

Gets the current settings of the FirebaseRemoteConfig singleton object.

abstract long

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

abstract int

Gets the status of the most recent fetch attempt.

Public methods

getConfigSettings

abstract @NonNull FirebaseRemoteConfigSettings getConfigSettings()

Gets the current settings of the FirebaseRemoteConfig singleton object.

Returns
@NonNull FirebaseRemoteConfigSettings

A FirebaseRemoteConfigSettings object indicating the current settings.

getFetchTimeMillis

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.

getLastFetchStatus

abstract int getLastFetchStatus()

Gets the status of the most recent fetch attempt.