com.pusher.client.channel.PresenceChannel.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pusher-java-client Show documentation
Show all versions of pusher-java-client Show documentation
This is a Java client library for Pusher, targeted at core Java and Android.
PresenceChannel (Pusher Java Websocket API)
com.pusher.client.channel
Interface PresenceChannel
-
- All Superinterfaces:
- Channel, PrivateChannel
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
Pusher.subscribePresence(String, PresenceChannelEventListener, String...)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
User
getMe()
Gets the user that represents the currently connected client.
java.util.Set<User>
getUsers()
Gets a set of users currently subscribed to the channel.
-
Methods inherited from interface com.pusher.client.channel.PrivateChannel
trigger
-
Methods inherited from interface com.pusher.client.channel.Channel
bind, getName, isSubscribed, unbind
© 2015 - 2025 Weber Informatics LLC | Privacy Policy