Skip to content

非公式 / UnofficialCloudflare, Inc. 非提携。アカウント情報は入力しないでください。Not affiliated with Cloudflare, Inc. Do not enter Cloudflare credentials here.Official docsこのサイトについてプライバシー

RtkParticipantAudioIndicator

最終更新 Markdown で表示Agent セットアップ

参加者の音声を可視化するオーディオビジュアライザーコンポーネントです。

メソッド

メソッド パラメーター 説明
activate participant: RtkMeetingParticipant インジケーターを参加者に紐づけます
refresh - 音声インジケーターの状態を強制的に更新します

使用例

基本的な使い方

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

メソッドを使う場合

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

役に立ちましたか?