Skip to content

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

RtkLivestreamIndicator

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

ライブ配信がアクティブなときに表示するインジケーターです。

メソッド

メソッド パラメーター 説明
refresh meeting: RealtimeKitClient 現在のライブ配信の状態に合わせてインジケーターを更新します

使用例

基本的な使い方

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

メソッドを使う

val indicator = findViewById<RtkLivestreamIndicator>(R.id.rtk_livestream_indicator)
indicator.refresh(meeting)

役に立ちましたか?