Skip to content

Commit fa5be75

Browse files
committed
Separate listening and fetching.
1 parent 7af9388 commit fa5be75

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

firebase-config/src/main/java/com/google/firebase/remoteconfig/ConfigUpdateListener.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,17 @@
2424
*/
2525
public interface ConfigUpdateListener {
2626
/**
27-
* Callback for when a new config has been automatically fetched from the backend and has changed
28-
* from the activated config.
27+
* Callback for when a new config version has been automatically fetched from the backend and has
28+
* changed from the activated config.
2929
*
30-
* @param configUpdate A {@link ConfigUpdate} with information about the updated config, including
31-
* the set of updated parameters.
30+
* @param configUpdate A {@link ConfigUpdate} with information about the updated config version,
31+
* including the set of updated parameters.
3232
*/
3333
void onUpdate(@NonNull ConfigUpdate configUpdate);
3434

3535
/**
36-
* Callback for when an error occurs while listening for or fetching a config update.
36+
* Callback for when an error occurs while listening for updates or fetching the latest version of
37+
* the config.
3738
*
3839
* @param error A {@link FirebaseRemoteConfigException} with information about the error.
3940
*/

0 commit comments

Comments
 (0)