ConfigUpdateListenerRegistration
interface ConfigUpdateListenerRegistration
Listener registration returned by addOnConfigUpdateListener
.
Calling remove
stops the listener from receiving config updates and unregisters itself. If remove is called and no other listener registrations remain, the connection to the Remote Config backend is closed. Subsequently calling addOnConfigUpdateListener
will re-open the connection.
Summary
Public functions |
Unit |
Removes the listener being tracked by this ConfigUpdateListenerRegistration .
|
Public functions
remove
fun remove(): Unit
Removes the listener being tracked by this ConfigUpdateListenerRegistration
. After the initial call, subsequent calls to remove()
have no effect.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-24 UTC.
[null,null,["Last updated 2023-03-24 UTC."],[],[]]