getPresenceState

expect abstract fun getPresenceState(channels: List<String> = listOf(), channelGroups: List<String> = listOf(), uuid: String = configuration.userId.value): GetState
actual abstract fun getPresenceState(channels: List<String>, channelGroups: List<String>, uuid: String): GetState

Retrieve state information specific to a subscriber UUID.

State information is supplied as a JSON object of key/value pairs.

Parameters

channels

Channels to get the state from.

channelGroups

Channel groups to get the state from.

uuid

UUID of the user to get the state from. Defaults to the UUID of the client. @see PNConfiguration.uuid

actual abstract fun getPresenceState(channels: List<String>, channelGroups: List<String>, uuid: String): GetState