public class ChannelBase.Presence
extends java.lang.Object
| Constructor and Description |
|---|
Presence() |
| Modifier and Type | Method and Description |
|---|---|
PaginatedResult<PresenceMessage> |
get(Param[] params)
Get the presence state for this Channel.
|
void |
getAsync(Param[] params,
Callback<AsyncPaginatedResult<PresenceMessage>> callback)
Asynchronously get the presence state for this Channel.
|
PaginatedResult<PresenceMessage> |
history(Param[] params)
Asynchronously obtain presence history for this channel using the REST API.
|
void |
historyAsync(Param[] params,
Callback<AsyncPaginatedResult<PresenceMessage>> callback)
Asynchronously obtain recent history for this channel using the REST API.
|
public PaginatedResult<PresenceMessage> get(Param[] params) throws AblyException
AblyExceptionpublic void getAsync(Param[] params, Callback<AsyncPaginatedResult<PresenceMessage>> callback)
callback: - on success returns the currently present members.public PaginatedResult<PresenceMessage> history(Param[] params) throws AblyException
params: - the request params. See the Ably REST API
documentation for more details.AblyExceptionpublic void historyAsync(Param[] params, Callback<AsyncPaginatedResult<PresenceMessage>> callback)
params: - the request params. See the Ably REST APIcallback -