public static interface ChannelSubscriptionListener.SubscriptionChangeListener
Modifier and Type | Method and Description |
---|---|
void |
onSubscribed(short channelId,
java.lang.String uniqueDeviceId)
Gets called if a subscription was actively made.
|
void |
onSubscriptionChanged(short channelId)
Called when the list of subscriptions to this channel changed
|
void |
onUnsubscribed(short channelId,
java.lang.String unqiueDeviceId)
Called when a subscription was removed due to actively unsubscribing
or a disconnect of the device
|
void onSubscriptionChanged(short channelId)
channelId
- the channel id on which a subscription changedvoid onUnsubscribed(short channelId, java.lang.String unqiueDeviceId)
channelId
- the channelunqiueDeviceId
- the former subscriber's uniqueDeviceIdvoid onSubscribed(short channelId, java.lang.String uniqueDeviceId)
channelId
- the channeluniqueDeviceId
- the new subscriber