Skip to content

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

RtkVideoPeer

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

参加者のビデオストリームを描画するビューです。ビデオが無効なときはアバターをフォールバック表示します。

メソッド

メソッド パラメーター 説明
refresh participant: RtkMeetingParticipant, isScreenShare: Boolean 参加者データでビューを更新します

使用例

基本的な使い方

<com.cloudflare.realtimekit.ui.view.RtkVideoPeer
    android:id="@+id/rtk_video_peer"
    android:layout_width="match_parent"
    android:layout_height="200dp" />

メソッドを使う

val videoPeer = findViewById<RtkVideoPeer>(R.id.rtk_video_peer)
videoPeer.refresh(participant, isScreenShare = false)

役に立ちましたか?