Skip to content

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

RtkStageActionButtonControlBar

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

ウェビナーのステージ操作用コントロールバーボタンです。 現在のステージ状態に応じて、参加リクエスト、参加、退出、リクエストのキャンセルに対応します。

イニシャライザーのパラメーター

パラメーター 型 必須 デフォルト 説明
rtkClient RealtimeKitClient ✅ - RealtimeKit クライアントのインスタンス
buttonState WebinarStageStatus ✅ - ボタンの動作を決める現在のステージ状態
presentingViewController UIViewController ✅ - 確認ダイアログの表示に使うビューコントローラー

プロパティ

プロパティ 型 必須 デフォルト 説明
dataSource RtkStageActionButtonControlBarDataSource? ❌ nil ステージ操作ボタンの動作をカスタマイズするデータソース

使用例

基本的な使い方

import RealtimeKitUI

let stageButton = RtkStageActionButtonControlBar(
    rtkClient: rtkClient,
    buttonState: .requestToJoinStage,
    presentingViewController: self
)
view.addSubview(stageButton)

役に立ちましたか?