RtkWaitListParticipantUpdateEventListener
Last updated Oct 19, 2026 A helper class for listening to waitlist participant events. Provides callbacks for join, remove, accept, and reject events, and methods for managing waitlist requests.
Initializer parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
rtkClient |
RealtimeKitClient |
✅ | - | The RealtimeKit client instance |
Callback properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
participantJoinedCompletion |
(() -> Void)? |
❌ | nil |
Called when a participant joins the waitlist |
participantRemovedCompletion |
(() -> Void)? |
❌ | nil |
Called when a participant is removed from the waitlist |
participantRequestAcceptedCompletion |
(() -> Void)? |
❌ | nil |
Called when a waitlist request is accepted |
participantRequestRejectCompletion |
(() -> Void)? |
❌ | nil |
Called when a waitlist request is rejected |
Methods
| Method | Return Type | Description |
|---|---|---|
acceptWaitingRequest(participant:) |
Void |
Accepts a participant's waitlist request |
rejectWaitingRequest(participant:) |
Void |
Rejects a participant's waitlist request |
clean() |
Void |
Removes all registered listeners and cleans up resources |
Usage Examples
Basic Usage
import RealtimeKitUI
let waitlistListener = RtkWaitListParticipantUpdateEventListener(
rtkClient: rtkClient
)
waitlistListener.participantJoinedCompletion = {
print("New participant in waitlist")
}
waitlistListener.participantRemovedCompletion = {
print("Participant removed from waitlist")
}
Accept or reject requests
import RealtimeKitUI
let waitlistListener = RtkWaitListParticipantUpdateEventListener(
rtkClient: rtkClient
)
// Accept a waiting participant
waitlistListener.acceptWaitingRequest(participant: waitingParticipant)
// Reject a waiting participant
waitlistListener.rejectWaitingRequest(participant: waitingParticipant)
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/realtime/realtimekit/humans/ui-kit/api-reference/ios/rtk-wait-list-participant-update-event-listener/#page","headline":"RtkWaitListParticipantUpdateEventListener","description":"API reference for RtkWaitListParticipantUpdateEventListener component (iOS Library)","url":"https://developers.cloudflare.com/realtime/realtimekit/humans/ui-kit/api-reference/ios/rtk-wait-list-participant-update-event-listener/","inLanguage":"en","image":"https://developers.cloudflare.com/realtime/realtimekit/humans/ui-kit/api-reference/ios/rtk-wait-list-participant-update-event-listener/og.png?v=9d5068162e04ae4c","dateModified":"2026-10-19","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Complete API reference for React library components title: React image: https://developers.cloudflare.com/realtime/realtimekit/humans/ui-kit/api-reference/react/og.png?v=b9d963633972fc52
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/realtime/llms.txt
Use this file to discover all available pages before exploring further.
Docs