その他メニューボタンと退出ボタンを備えたベースのコントロールバービューです。
RtkMeetingControlBar と RtkWebinarControlBar の基盤になります。
| パラメーター | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
✅ | - | RealtimeKit クライアントのインスタンス |
delegate |
RtkTabBarDelegate? |
✅ | - | タブバーの操作を処理するデリゲート |
presentingViewController |
UIViewController |
✅ | - | モーダル画面の表示に使うビューコントローラー |
appearance |
RtkControlBarAppearance |
❌ | RtkControlBarAppearanceModel() |
コントロールバーの外観設定 |
settingViewControllerCompletion |
(() -> Void)? |
❌ | nil |
設定ビューコントローラーが閉じたときに呼ばれるクロージャ |
onLeaveMeetingCompletion |
(() -> Void)? |
❌ | nil |
参加者がミーティングを退出したときに呼ばれるクロージャ |
| プロパティ | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
moreButton |
RtkMoreButtonControlBar |
- | - | その他メニューボタン(読み取り専用) |
endCallButton |
RtkEndMeetingControlBarButton |
- | - | 退出ボタン |
import RealtimeKitUI
let controlBar = RtkControlBar(
meeting: rtkClient,
delegate: self,
presentingViewController: self
)
view.addSubview(controlBar)import RealtimeKitUI
let controlBar = RtkControlBar(
meeting: rtkClient,
delegate: self,
presentingViewController: self,
onLeaveMeetingCompletion: {
self.dismiss(animated: true)
}
)
view.addSubview(controlBar)