com.pusher.client.channel
Interface PresenceChannel
- All Superinterfaces:
- Channel, PrivateChannel
- All Known Implementing Classes:
- PresenceChannelImpl
public interface PresenceChannel
- extends PrivateChannel
An object that represents a Pusher presence channel. An implementation of
this interface is returned when you call
Pusher.subscribePresence(String)
or
com.pusher.client.Pusher#subscribePresence(String, ChannelEventListener, String...)
.
Method Summary |
User |
getMe()
Gets the user that represents the currently connected client. |
Set<User> |
getUsers()
Gets a set of users currently subscribed to the channel. |
getUsers
Set<User> getUsers()
- Gets a set of users currently subscribed to the channel.
- Returns:
- The users.
getMe
User getMe()
- Gets the user that represents the currently connected client.
- Returns:
- A user.
Copyright © 2013 Pusher. All Rights Reserved.