現在の参加者数を表示するラベルです。 参加者がミーティングに入退室すると自動で更新されます。
| パラメーター | 型 | 必須 | デフォルト | 説明 |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
✅ | - | 進行中のミーティング用の RealtimeKit クライアントインスタンス |
appearance |
RtkTextAppearance |
❌ | AppTheme.shared.participantCountAppearance |
フォントと色のテキスト外観設定 |
import RealtimeKitUI
let countView = RtkParticipantCountView(meeting: rtkClient)
view.addSubview(countView)import RealtimeKitUI
let appearance = RtkTextAppearance(
font: UIFont.systemFont(ofSize: 14, weight: .medium),
textColor: .lightGray
)
let countView = RtkParticipantCountView(
meeting: rtkClient,
appearance: appearance
)
view.addSubview(countView)