Package io.ably.lib.realtime
Interface ChannelStateListener
-
- All Known Implementing Classes:
ChannelStateListener.Filter,ChannelStateListener.Multicaster
public interface ChannelStateListenerAn 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChannelStateChanged(ChannelStateListener.ChannelStateChange stateChange)Called when channel state changes.
-
-
-
Method Detail
-
onChannelStateChanged
void onChannelStateChanged(ChannelStateListener.ChannelStateChange stateChange)
Called when channel state changes.- Parameters:
stateChange- information about the new state. CheckChannelState- for all states available.
-
-