-
@Deprecated(message = "Use the subscribe methods on ChatClient or ChannelController directly instead of events()") public interface ChatObservable
-
-
Method Summary
Modifier and Type Method Description abstract ChatObservablefilter(String eventType)abstract ChatObservablefilter(Function1<ChatEvent, Boolean> predicate)abstract ChatObservablefilter(Class<out ChatEvent> types)abstract ChatObservablefirst()abstract Subscriptionsubscribe(Function1<ChatEvent, Unit> listener)abstract Unitunsubscribe(Subscription subscription)abstract ChatObservableignoreInitState()-
-
Method Detail
-
filter
@Deprecated(message = "Use the subscribe methods on ChatClient or ChannelController directly instead of events()") abstract ChatObservable filter(String eventType)
-
filter
@Deprecated(message = "Use the subscribe methods on ChatClient or ChannelController directly instead of events()") abstract ChatObservable filter(Function1<ChatEvent, Boolean> predicate)
-
filter
@Deprecated(message = "Use the subscribe methods on ChatClient or ChannelController directly instead of events()") abstract ChatObservable filter(Class<out ChatEvent> types)
-
first
@Deprecated(message = "Use the subscribe methods on ChatClient or ChannelController directly instead of events()") abstract ChatObservable first()
-
subscribe
@Deprecated(message = "Use the subscribe methods on ChatClient or ChannelController directly instead of events()") abstract Subscription subscribe(Function1<ChatEvent, Unit> listener)
-
unsubscribe
@Deprecated(message = "Use the subscribe methods on ChatClient or ChannelController directly instead of events()") abstract Unit unsubscribe(Subscription subscription)
-
ignoreInitState
@Deprecated(message = "Use the subscribe methods on ChatClient or ChannelController directly instead of events()") abstract ChatObservable ignoreInitState()
-
-
-
-