| pcx_content_type |
reference |
| title |
RtkClockView |
| description |
API reference for RtkClockView component (iOS Library) |
| products |
|
A label that displays the elapsed meeting time in HH:MM:SS format.
Updates every second while the meeting is active.
| Parameter |
Type |
Required |
Default |
Description |
meeting |
RealtimeKitClient |
✅ |
- |
The RealtimeKit client instance for the active meeting |
appearance |
RtkTextAppearance |
❌ |
AppTheme.shared.clockViewAppearance |
Text appearance configuration for font and color |
import RealtimeKitUI
let clockView = RtkClockView(meeting: rtkClient)
view.addSubview(clockView)
import RealtimeKitUI
let appearance = RtkTextAppearance(
font: UIFont.monospacedDigitSystemFont(ofSize: 14, weight: .regular),
textColor: .white
)
let clockView = RtkClockView(
meeting: rtkClient,
appearance: appearance
)
view.addSubview(clockView)