Skip to main content
Version: 0.1.x

PubSubPublishOptions Class - Android

Properties

persist

  • type: boolean

  • defaultValue: false

  • This property specifies whether to store messages on server for upcoming participants.

  • If the value of this property is true, then server will store pubsub messages for the upcoming participants.


sendOnly

  • type: String[]

  • defaultValue: null

  • If you want to send a message to specific participants, you can pass their respective participantId here. If you don't provide any IDs or pass a null value, the message will be sent to all participants by default.

note

Make sure that participantId present in the array must be subscribe to that specific topic.

Got a Question? Ask us on discord


Was this helpful?