sippo-sdk / com.quobis.sippo.sipposdk.chat / ChatsRx

ChatsRx

class ChatsRx

Properties

state

var state: Observable<State>

Emits the XMPP session state whenever it changes. When a subscriber is added, it will also emit the current value.

Functions

disablePushNotifications

fun disablePushNotifications(): Completable

Disable the reception of chat push notifications.

enablePushNotifications

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).