INTEGRITY Dokumentace

RtkMoreButtonControlBar

Tlačítko ovládacího panelu, které otevře spodní vysouvací nabídku s akcemi schůzky, jako jsou chat, ankety a seznam účastníků.

Parametry inicializátoru

Parametr Typ Povinné Výchozí Popis
meeting RealtimeKitClient - Instance klienta RealtimeKit
presentingViewController UIViewController - View controller použitý k zobrazení bottom sheetu
settingViewControllerCompletion (() -> Void)? nil Closure volaná při zavření view controlleru nastavení

Metody

Metoda Návratový typ Popis
hideBottomSheet() Void Programově zavře menu bottom sheet

Příklady použití

Základní použití

import RealtimeKitUI

let moreButton = RtkMoreButtonControlBar(
    meeting: rtkClient,
    presentingViewController: self
)
view.addSubview(moreButton)

S dokončením nastavení

import RealtimeKitUI

let moreButton = RtkMoreButtonControlBar(
    meeting: rtkClient,
    presentingViewController: self,
    settingViewControllerCompletion: {
        print("Settings dismissed")
    }
)
view.addSubview(moreButton)