ConfigUpdateObserver interface

Observer interface for receiving real-time Remote Config update notifications.

NOTE: Although ancomplete callback can be provided, it will never be called because the ConfigUpdate stream is never-ending.

Signature:

exportinterfaceConfigUpdateObserver

Properties

PropertyTypeDescription
complete() => voidCalled when the stream is gracefully terminated.
error(error:FirebaseError) => voidCalled if an error occurs during the stream.
next(configUpdate:ConfigUpdate) => voidCalled when a new ConfigUpdate is available.

ConfigUpdateObserver.complete

Called when the stream is gracefully terminated.

Signature:

complete:()=>void;

ConfigUpdateObserver.error

Called if an error occurs during the stream.

Signature:

error:(error:FirebaseError)=>void;

ConfigUpdateObserver.next

Called when a new ConfigUpdate is available.

Signature:

next:(configUpdate:ConfigUpdate)=>void;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-18 UTC.