FirebaseRemoteConfigInfo

interface FirebaseRemoteConfigInfo


Wraps the current state of the FirebaseRemoteConfig singleton object.

Summary

Public functions

FirebaseRemoteConfigSettings

Gets the current settings of the FirebaseRemoteConfig singleton object.

Long

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

Int

Gets the status of the most recent fetch attempt.

Public functions

getConfigSettings

fun getConfigSettings(): FirebaseRemoteConfigSettings

Gets the current settings of the FirebaseRemoteConfig singleton object.

Returns
FirebaseRemoteConfigSettings

A FirebaseRemoteConfigSettings object indicating the current settings.

getFetchTimeMillis

fun getFetchTimeMillis(): Long

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

fun getLastFetchStatus(): Int

Gets the status of the most recent fetch attempt.