HereNow

Obtain information about the current state of channels including a list of unique user IDs currently subscribed and the total occupancy count.

See also

Functions

Link copied to clipboard
abstract fun async(callback: Consumer<Result<Output>>)
Link copied to clipboard
abstract fun channelGroups(channelGroups: List<String>): HereNow
Set the channel groups to query for presence information.
Link copied to clipboard
abstract fun channels(channels: List<String>): HereNow
Set the channels to query for presence information.
Link copied to clipboard
abstract fun includeState(includeState: Boolean): HereNow
Whether the response should include presence state information, if available.
Link copied to clipboard
abstract fun includeUUIDs(includeUUIDs: Boolean): HereNow
Include the list of UUIDs currently present in each channel.
Link copied to clipboard
abstract fun limit(limit: Int): HereNow
Set the maximum number of occupants to return per channel.
Link copied to clipboard
abstract fun offset(offset: Integer): HereNow
Set the zero-based starting index for pagination through occupants.
Link copied to clipboard
Link copied to clipboard
abstract fun overrideConfiguration(configuration: PNConfiguration): Endpoint<T>

Allows to override certain configuration options (see com.pubnub.api.v2.PNConfigurationOverride.Builder) for this request only.

Link copied to clipboard
abstract fun retry()
Link copied to clipboard
abstract fun silentCancel()
Link copied to clipboard
abstract fun sync(): Output