Skip to content

RtkStageActionButtonControlBar

A control bar button for webinar stage actions. Supports requesting to join, joining, leaving, and canceling stage requests based on the current stage status.

Initializer parameters

ParameterTypeRequiredDefaultDescription
rtkClientRealtimeKitClient-The RealtimeKit client instance
buttonStateWebinarStageStatus-The current stage status that determines the button action
presentingViewControllerUIViewController-View controller used for presenting confirmation dialogs

Properties

PropertyTypeRequiredDefaultDescription
dataSourceRtkStageActionButtonControlBarDataSource?nilData source for customizing stage action button behavior

Usage Examples

Basic Usage

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