PubSubPublishOptions

Configuration options for publishing a message via PubSub.

Set options such as message persistence and targeted delivery before publishing.

Code Example:


val options = PubSubPublishOptions()
options.setPersist(true)
options.setSendOnly(arrayOf(participantId1, participantId2))
meeting.pubSub.publish("CHAT", "Hello!", options)

See also

Meeting.PubSub.publish()

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
This method can be used to check whether message persistence is enabled.
Link copied to clipboard
fun setPersist(persist: Boolean)
This method can be used to enable or disable message persistence.
Link copied to clipboard
fun setSendOnly(sendOnly: Array<String>)
This method can be used to restrict message delivery to specific participants.