RtkSelfParticipant

Properties

Link copied to clipboard
open override val audioEnabled: Boolean

A boolean value indicating if the audio currently enabled.

Link copied to clipboard

Identifier provided while adding the participant.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val id: String

The ID of the participant, this ID is temporary changes every time the participant rejoins the meeting

Link copied to clipboard
open val isHost: Boolean
Link copied to clipboard
open override val isPinned: Boolean
Link copied to clipboard
open override var name: String

The participant's name

Link copied to clipboard
Link copied to clipboard
open val picture: String?

The participant's picture (if any).

Link copied to clipboard
Link copied to clipboard
open val presetName: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val userId: String

The userId of the participant, this ID is tied to customParticipantId and does not change for a user in a meeting

Link copied to clipboard
open override val videoEnabled: Boolean

A boolean value indicating if the video currently enabled.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun disableAudio(onResult: (AudioError?) -> Unit)
Link copied to clipboard

This participant is used to disable the local participant's screenshare.

Link copied to clipboard
fun disableVideo(onResult: (VideoError?) -> Unit)
Link copied to clipboard
fun enableAudio(onResult: (AudioError?) -> Unit)
Link copied to clipboard

This method starts capturing the screen and shares it to the remote participants

Link copied to clipboard
fun enableVideo(onResult: (VideoError?) -> Unit)

This method is used to start streaming the local participant's video to the meeting.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun pin(): HostError?

Pins the participant, so the participant is always in the active list

Link copied to clipboard
Link copied to clipboard
fun setAudioDevice(rtkAudioDevice: AudioDevice)
Link copied to clipboard
Link copied to clipboard
fun setVideoDevice(rtkVideoDevice: VideoDevice)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toMap(): Map<String, Any?>
Link copied to clipboard

Unpins the participant