Package com.pusher.rest.data
Class PresenceUser
java.lang.Object
com.pusher.rest.data.PresenceUser
Represents a precence channel "user", that is a user from the domain of your application.
-
Constructor Summary
ConstructorsConstructorDescriptionPresenceUser
(Number userId) Represents a presence channel user with no additional data associated other than the userIdPresenceUser
(Number userId, Object userInfo) Represents a presence channel user and a map of data associated with the userPresenceUser
(String userId) Represents a presence channel user with no additional data associated other than the userIdPresenceUser
(String userId, Object userInfo) Represents a presence channel user and a map of data associated with the user -
Method Summary
-
Constructor Details
-
PresenceUser
Represents a presence channel user with no additional data associated other than the userId- Parameters:
userId
- the unique ID to associate with the user
-
PresenceUser
Represents a presence channel user with no additional data associated other than the userId- Parameters:
userId
- the unique ID to associate with the user
-
PresenceUser
Represents a presence channel user and a map of data associated with the user- Parameters:
userId
- the unique ID to associate with the useruserInfo
- additional data to be associated with the user
-
PresenceUser
Represents a presence channel user and a map of data associated with the user- Parameters:
userId
- the unique ID to associate with the useruserInfo
- additional data to be associated with the user
-
-
Method Details
-
getUserId
-
getUserInfo
-