Skip to content

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

RtkLeaveButton

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

退出確認ダイアログの表示を切り替えるボタンです。

メソッド

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

使用例

基本的な使い方

<com.cloudflare.realtimekit.ui.view.controlbarbuttons.RtkLeaveButton
    android:id="@+id/rtk_leave_button"
    android:layout_width="48dp"
    android:layout_height="48dp" />

メソッドを使う

val leaveButton = findViewById<RtkLeaveButton>(R.id.rtk_leave_button)
leaveButton.activate(meeting)

役に立ちましたか?