buildSubscriptionQuery

expect fun buildSubscriptionQuery(channelName: String, selectorType: CustomEventSelectorType, selectorId: String): String

Generate subscription Query for the custom events.

Return

Query for subscribing event

Parameters

channelName

name of the Channel

selectorType

selector of scope on which you listen for events

selectorId

ID of the selector

Throws

thrown when instance is closed.

thrown when method encounters an exception.

thrown when method encounters an unknown exception.

actual fun buildSubscriptionQuery(channelName: String, selectorType: CustomEventSelectorType, selectorId: String): String

Generate subscription Query for the custom events.

Return

Query for subscribing event

Parameters

channelName

name of the Channel

selectorType

selector of scope on which you listen for events

selectorId

ID of the selector

Throws

thrown when instance is closed.

thrown when method encounters an exception.

thrown when method encounters an unknown exception.

actual fun buildSubscriptionQuery(channelName: String, selectorType: CustomEventSelectorType, selectorId: String): String

Generate subscription Query for the custom events.

Return

Query for subscribing event

Parameters

channelName

name of the Channel

selectorType

selector of scope on which you listen for events

selectorId

ID of the selector

Throws

thrown when instance is closed.

thrown when method encounters an exception.

thrown when method encounters an unknown exception.