@Test public void getLastFetchStatus_isNotSet_returnsZero() { assertThat(metadataClient.getLastFetchStatus()).isEqualTo(LAST_FETCH_STATUS_NO_FETCH_YET); }
@LastFetchStatus int getLastFetchStatus() { return frcMetadata.getInt(LAST_FETCH_STATUS_KEY, LAST_FETCH_STATUS_NO_FETCH_YET); }
ConfigMetadataClient { @LastFetchStatus int getLastFetchStatus() { return frcMetadata.getInt(LAST_FETCH_STATUS_KEY, LAST_FETCH_STATUS_NO_FETCH_YET); } }
ConfigMetadataClient { @LastFetchStatus int getLastFetchStatus() { return frcMetadata.getInt(LAST_FETCH_STATUS_KEY, LAST_FETCH_STATUS_NO_FETCH_YET); } ConfigMetadataClient(SharedPreferences frcMetadata); }
ConfigMetadataClient { @LastFetchStatus int getLastFetchStatus() { return frcMetadata.getInt(LAST_FETCH_STATUS_KEY, LAST_FETCH_STATUS_NO_FETCH_YET); } ConfigMetadataClient(SharedPreferences frcMetadata); boolean isDeveloperModeEnabled(); long getFetchTimeoutInSeconds(); long getMinimumFetchIntervalInSeconds(); FirebaseRemoteConfigInfo getInfo(); @WorkerThread void clear(); @WorkerThread void setConfigSettings(FirebaseRemoteConfigSettings settings); void setConfigSettingsWithoutWaitingOnDiskWrite(FirebaseRemoteConfigSettings settings); }
ConfigMetadataClient { @LastFetchStatus int getLastFetchStatus() { return frcMetadata.getInt(LAST_FETCH_STATUS_KEY, LAST_FETCH_STATUS_NO_FETCH_YET); } ConfigMetadataClient(SharedPreferences frcMetadata); boolean isDeveloperModeEnabled(); long getFetchTimeoutInSeconds(); long getMinimumFetchIntervalInSeconds(); FirebaseRemoteConfigInfo getInfo(); @WorkerThread void clear(); @WorkerThread void setConfigSettings(FirebaseRemoteConfigSettings settings); void setConfigSettingsWithoutWaitingOnDiskWrite(FirebaseRemoteConfigSettings settings); @VisibleForTesting static final long LAST_FETCH_TIME_IN_MILLIS_NO_FETCH_YET; }