Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.31 KB

File metadata and controls

44 lines (34 loc) · 1.31 KB
pcx_content_type reference
title RtkClockView
description API reference for RtkClockView component (iOS Library)
products
realtime

A label that displays the elapsed meeting time in HH:MM:SS format. Updates every second while the meeting is active.

Initializer parameters

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

Usage Examples

Basic Usage

import RealtimeKitUI

let clockView = RtkClockView(meeting: rtkClient)
view.addSubview(clockView)

With custom appearance

import RealtimeKitUI

let appearance = RtkTextAppearance(
    font: UIFont.monospacedDigitSystemFont(ofSize: 14, weight: .regular),
    textColor: .white
)
let clockView = RtkClockView(
    meeting: rtkClient,
    appearance: appearance
)
view.addSubview(clockView)