Skip to content

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

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)

役に立ちましたか?