Skip to content

非公式本サイトは非公式の日本語ドキュメントであり、Cloudflare 公式サイトではありません。最新情報はdevelopers.cloudflare.comをご確認ください。

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)

役に立ちましたか?