event-listeners

Official

Track call, participant, media, and UI events

Authorcometchat
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the challenge of wiring up real-time call behavior so your app can respond to session lifecycle, participant changes, media state, and user actions without missing critical updates.

Core Features & Use Cases

  • SessionStatusListener: Detect when a call session is joined, left, timed out, or when connection status changes so you can update navigation or recovery UI.
  • ParticipantEventListener: React to participants joining/leaving and state changes like audio/video mute/pause, hand raise/lower, screen share, recording, and dominant speaker transitions.
  • MediaEventsListener: Handle media state transitions such as audio/video mute/pause and recording start/stop, plus camera and audio mode changes.
  • ButtonClickListener: Capture SDK UI button clicks (leave, toggle audio/video, camera switch, layout changes, participant list/chat/recording actions) to coordinate your own flow.
  • LayoutListener (optional): Track layout changes and picture-in-picture enabled/disabled events.

Quick Start

Register your listeners on CallSession.shared only after joinSession succeeds, then route each callback to your UI updates and app logic.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: event-listeners
Download link: https://github.com/cometchat/calls-sdk-ios/archive/main.zip#event-listeners

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.