Skip to content

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

RtkJoinLivestreamButton

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

ライブ配信のステージに参加、または退出するためのボタンです。

メソッド

メソッド パラメーター 説明
activate meeting: RealtimeKitClient ボタンをミーティングの状態にバインドします

使用例

基本的な使い方

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

メソッドを使う

val joinLivestreamButton = findViewById<RtkJoinLivestreamButton>(R.id.rtk_join_livestream)
joinLivestreamButton.activate(meeting)

役に立ちましたか?