Package io.ably.lib.realtime
Interface ChannelStateListener
- All Known Implementing Classes:
ChannelStateListener.Filter,ChannelStateListener.Multicaster
public interface ChannelStateListener
An interface whereby a client may be notified of state changes for a channel.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChannelStateListener.ChannelStateChangeContains state change information emitted byChannelobjects.static classChannelStateListener.Filterstatic classChannelStateListener.Multicaster -
Method Summary
Modifier and Type Method Description voidonChannelStateChanged(ChannelStateListener.ChannelStateChange stateChange)Called when channel state changes.
-
Method Details
-
onChannelStateChanged
Called when channel state changes.- Parameters:
stateChange- information about the new state. CheckChannelState- for all states available.
-