ConfigUpdateListenerRegistration

public 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 methods

abstract void

Removes the listener being tracked by this ConfigUpdateListenerRegistration.

Public methods

remove

abstract void remove()

Removes the listener being tracked by this ConfigUpdateListenerRegistration. After the initial call, subsequent calls to remove() have no effect.