Package-level declarations

Types

Link copied to clipboard
class PNGetStateResult(val stateByUUID: Map<String, JsonElement>)

Result of the GetPresenceState operation.

Link copied to clipboard
class PNHereNowChannelData(val channelName: String, val occupancy: Int, var occupants: List<PNHereNowOccupantData> = emptyList())

Wrapper class representing 'here now' data for a given channel.

Link copied to clipboard
class PNHereNowOccupantData(val uuid: String, val state: JsonElement? = null)

Wrapper class representing a UUID (user) within the means of HereNow calls.

Link copied to clipboard
class PNHereNowResult(val totalChannels: Int, val totalOccupancy: Int, val channels: MutableMap<String, PNHereNowChannelData> = mutableMapOf())

Result of the HereNow operation.

Link copied to clipboard
class PNSetStateResult(val state: JsonElement)

Result of the PubNubImpl.setPresenceState operation.

Link copied to clipboard
class PNWhereNowResult(val channels: List<String>)

Result of the com.pubnub.api.PubNub.whereNow operation.