|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PresenceChannelEventListener
Used to listen for presence specific events as well as those defined by the
PrivateChannelEventListener and parent interfaces.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.pusher.client.channel.PrivateChannelEventListener |
|---|
onAuthenticationFailure |
| Methods inherited from interface com.pusher.client.channel.ChannelEventListener |
|---|
onSubscriptionSucceeded |
| Methods inherited from interface com.pusher.client.channel.SubscriptionEventListener |
|---|
onEvent |
| Method Detail |
|---|
void 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.
void userUnsubscribed(String channelName,
User user)
channelName - The name of the channel that the user unsubscribed from.user - The user who unsubscribed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||