Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.72 KB

File metadata and controls

48 lines (36 loc) · 1.72 KB
pcx_content_type reference
title RtkMeetingHeaderView
description API reference for RtkMeetingHeaderView component (iOS Library)
products
realtime

Meeting header view that displays the meeting title, participant count, elapsed time clock, recording indicator, and camera switch button.

Initializer parameters

Parameter Type Required Default Description
meeting RealtimeKitClient - The RealtimeKit client instance for the active meeting

Methods

Method Return Type Description
setContentTop(offset: CGFloat) Void Sets the top content offset for the header layout
refreshNextPreviousButtonState() Void Refreshes the enabled state of next and previous page buttons
setClicks(nextButton:previousButton:) Void Assigns tap handlers for the next and previous page buttons

Usage Examples

Basic Usage

import RealtimeKitUI

let headerView = RtkMeetingHeaderView(meeting: rtkClient)
view.addSubview(headerView)

With page navigation

import RealtimeKitUI

let headerView = RtkMeetingHeaderView(meeting: rtkClient)
headerView.setClicks(
    nextButton: { print("Next page") },
    previousButton: { print("Previous page") }
)
headerView.refreshNextPreviousButtonState()
view.addSubview(headerView)