チャット、投票、参加者一覧など、ミーティング操作のボトムシートメニューを開くコントロールバーボタンです。
| パラメーター | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
✅ | - | RealtimeKit クライアントのインスタンス |
presentingViewController |
UIViewController |
✅ | - | ボトムシートの表示に使うビューコントローラー |
settingViewControllerCompletion |
(() -> Void)? |
❌ | nil |
設定ビューコントローラーが閉じたときに呼ばれるクロージャ |
| メソッド | 戻り値の型 | 説明 |
|---|---|---|
hideBottomSheet() |
Void |
プログラムからボトムシートメニューを閉じます |
import RealtimeKitUI
let moreButton = RtkMoreButtonControlBar(
meeting: rtkClient,
presentingViewController: self
)
view.addSubview(moreButton)import RealtimeKitUI
let moreButton = RtkMoreButtonControlBar(
meeting: rtkClient,
presentingViewController: self,
settingViewControllerCompletion: {
print("Settings dismissed")
}
)
view.addSubview(moreButton)