Package io.ably.lib.realtime
Class ChannelStateListener.ChannelStateChange
java.lang.Object
io.ably.lib.realtime.ChannelStateListener.ChannelStateChange
- Enclosing interface:
- ChannelStateListener
Contains state change information emitted by
Channel objects.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ChannelStateThe new currentChannelState.final ChannelEventThe event that triggered thisChannelStatechange.final ChannelStateThe previous state.final ErrorInfoAnErrorInfoobject containing any information relating to the transition.final booleanIndicates whether message continuity on this channel is preserved, see Nonfatal channel errors for more info. -
Method Summary
-
Field Details
-
event
The event that triggered thisChannelStatechange.Spec: TH5
-
current
The new currentChannelState.Spec: RTL2a, RTL2b
-
previous
The previous state. For theChannelEvent.updateevent, this is equal to the currentChannelState.Spec: RTL2a, RTL2b
-
reason
AnErrorInfoobject containing any information relating to the transition.Spec: RTL2e, TH3
-
resumed
public final boolean resumedIndicates whether message continuity on this channel is preserved, see Nonfatal channel errors for more info.Spec: RTL2f, TH4
-
-
Method Details