ConfigUpdateListenerRegistration
class ConfigUpdateListenerRegistration : NSObject
Listener registration returned by addOnConfigUpdateListener
. Calling its method remove
stops
the associated listener from receiving config updates and unregisters itself.
If remove is called and no other listener registrations remain, the connection to the real-time
RC backend is closed. Subsequently calling addOnConfigUpdateListener
will re-open the
connection.
-
Removes the listener associated with this
ConfigUpdateListenerRegistration
. After the initial call, subsequent calls have no effect.Declaration
Swift
func remove()