@capgo/capacitor-twilio-video
Capacitor API for joining Twilio Video rooms with a native in-app call surface.
Overview
Section titled “Overview”Capacitor API for joining Twilio Video rooms with a native in-app call surface.
Core Capabilities
Section titled “Core Capabilities”login- Store and validate a Twilio Video access token minted by your backend.logout- Clear the cached access token and leave the active room.isLoggedIn- Check whether a valid Twilio token is currently cached on the device.joinRoom- Join a Twilio room and present the plugin’s native in-app call overlay.
Public API
Section titled “Public API”| Method | Description |
|---|---|
login | Store and validate a Twilio Video access token minted by your backend. |
logout | Clear the cached access token and leave the active room. |
isLoggedIn | Check whether a valid Twilio token is currently cached on the device. |
joinRoom | Join a Twilio room and present the plugin’s native in-app call overlay. |
leaveRoom | Leave the current room if connected. |
setMicrophoneEnabled | Enable/disable local microphone publishing. |
setCameraEnabled | Enable/disable local camera publishing. |
getCallStatus | Return the current room name, media state, and participant count. |
checkMicrophonePermission | Check microphone permission state. |
requestMicrophonePermission | Request microphone permission. |
checkCameraPermission | Check camera permission state. |
requestCameraPermission | Request camera permission. |
addListener | Listen for room connected events. |
addListener | Listen for room disconnected events. |
addListener | Listen for participant connected events. |
addListener | Listen for participant disconnected events. |
addListener | Listen for reconnection start events. |
addListener | Listen for reconnection success events. |
removeAllListeners | Remove every listener registered through this plugin instance. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-twilio-video.