DataSendOptions

data class DataSendOptions(val reliability: DataPublishReliability, val identities: List<Participant.Identity>? = null)

Options for publishing data channel messages.

Constructors

Link copied to clipboard
constructor(reliability: DataPublishReliability, identities: List<Participant.Identity>? = null)

Properties

Link copied to clipboard
val identities: List<Participant.Identity>? = null

The specific participant identities to send to. If null is passed, will broadcast the message to all participants in the room.

Link copied to clipboard
val reliability: DataPublishReliability

The reliability to use.