class ChatsRx
var state: Observable<State>
Emits the XMPP session state whenever it changes. When a subscriber is added, it will also emit the current value. |
fun disablePushNotifications(): Completable
Disable the reception of chat push notifications. |
|
fun enablePushNotifications(context: Context): Completable
Enable the reception of chat push notifications. In order to enable them you need to have registered a Firebase push token beforehand (@see Sessions' setPushToken method). |