public interface PresenceChannelEventListener extends PrivateChannelEventListener
PrivateChannelEventListener and parent interfaces.| Modifier and Type | Method and Description |
|---|---|
void |
onUsersInformationReceived(String channelName,
Set<User> users)
Called when the subscription has succeeded and an initial list of
subscribed users has been received from Pusher.
|
void |
userSubscribed(String channelName,
User user)
Called when a new user subscribes to the channel.
|
void |
userUnsubscribed(String channelName,
User user)
Called when an existing user unsubscribes from the channel.
|
onAuthenticationFailureonSubscriptionSucceededonEventvoid onUsersInformationReceived(String channelName, Set<User> users)
channelName - The name of the channel the list is for.users - The users.void userSubscribed(String channelName, User user)
channelName - channelName The name of the channel the list is for.user - The newly subscribed user.Copyright © 2016 Pusher. All rights reserved.