Skip to content

RtkParticipantAudioIndicator

Last updated View as MarkdownAgent setup

An audio visualizer component which visualizes a participant's audio.

Methods

Method Parameters Description
activate participant: RtkMeetingParticipant Bind the indicator to a participant
refresh - Force a refresh of the audio indicator state

Usage Examples

Basic Usage

<com.cloudflare.realtimekit.ui.view.RtkParticipantAudioIndicator
    android:id="@+id/audio_indicator"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

With Methods

val audioIndicator = findViewById<RtkParticipantAudioIndicator>(R.id.audio_indicator)
audioIndicator.activate(participant)

Was this helpful?