Skip to main content
Docs
  • Reference Docs
    • REST API
      • your-domain.daily.co
        • Configuration
        • GET /
        • POST /
      • Rooms
        • Configuration
        • GET /rooms
        • POST /rooms
        • GET /rooms/:name
        • GET /rooms/:name/presence
        • POST /rooms/:room
        • DELETE /rooms/:name
        • POST /rooms/:name/send-app-message
        • GET /rooms/:name/get-session-data
        • POST /rooms/:name/set-session-data
        • POST /rooms/:name/eject
        • POST /rooms/:name/update-permissions
        • Recordings
          • POST /rooms/:name/recordings/start
          • POST /rooms/:name/recordings/update
          • POST /rooms/:name/recordings/stop
        • Live streaming
          • POST /rooms/:name/live-streaming/start
          • POST /rooms/:name/live-streaming/update
          • POST /rooms/:name/live-streaming/stop
        • Transcription
          • POST /rooms/:name/transcription/start
          • POST /rooms/:name/transcription/update
          • POST /rooms/:name/transcription/stop
        • DialOut
          • POST /rooms/:name/dialOut/start
          • POST /rooms/:name/dialOut/sendDTMF
          • POST /rooms/:name/dialOut/stop
        • CallTransfer
          • POST /rooms/:name/sipCallTransfer
          • POST /rooms/:name/sipRefer
        • Batch operations
          • POST /batch/rooms
          • DELETE /batch/rooms
      • Meeting tokens
        • Configuration
        • Self-signing tokens
        • POST /meeting-tokens
        • GET /meeting-tokens/:meeting_token
      • Recordings
        • Configuration
        • GET /recordings
        • GET /recordings/:id
        • DELETE /recordings/:id
        • GET /recordings/:id/access-link
      • Transcription
        • Configuration
        • GET /transcript
        • GET /transcript/:id
        • DELETE /transcript/:id
        • GET /transcript/:id/access-link
      • Batch Processor
        • Submit a processor job (all types)
        • Get job status
        • Get the output from a job
        • Get list of all jobs
        • Delete a job
      • Logs
        • Configuration
        • GET /logs
        • GET /logs/api
      • Meetings
        • GET /meetings
        • GET /meetings/:meeting
        • GET /meetings/:meeting/participants
      • Presence
        • GET /presence
      • Phone Numbers
        • GET /list-available-numbers
        • POST /buy-phone-number
        • DELETE /release-phone-number/:id
        • GET /purchased-phone-numbers
      • Dial-in
        • POST /dialin/pinlessCallUpdate
      • Dial-in Config
        • Create new dialin config
        • Update an existing dialin config
        • Get the dialin config for the id
        • List all the dialin configs
        • Delete a dialin config
      • Webhooks
        • Events
          • Meeting Started
          • Meeting Ended
          • Participant Joined
          • Participant Left
          • Waiting Participant Joined
          • Waiting Participant Left
          • Recording Started
          • Recording Ready to Download
          • Recording Error
          • Transcript Started
          • Transcript Ready to Download
          • Transcript Error
          • Streaming Started
          • Streaming Updated
          • Streaming Ended
          • Streaming Error
          • Batch Processor Job Finished
          • Batch Processor Error
          • Dial-out Connected
          • Dial-out Answered
          • Dial-out Stopped
          • Dial-out Error
          • Dial-out Warning
          • Dial-in Ready
          • Dial-in Connected
          • Dial-in Stopped
          • Dial-in Error
          • Dial-in Warning
        • POST /webhooks
        • POST /webhooks/:uuid
        • DELETE /webhooks
        • GET /webhooks
        • GET /webhooks/:uuid
    • Daily JS
      • The Daily Call Client
        • Properties
        • Multi-instance Guide
      • Factory Methods
        • createFrame()
        • wrap()
        • createTransparentFrame()
        • createCallObject()
      • Static Methods
        • getCallInstance()
        • supportedBrowser()
      • Instance Methods
        • abortTestNetworkConnectivity()
        • abortTestWebsocketConnectivity()
        • accessState()
        • activeSpeakerMode()
        • addFakeParticipant()
        • addLiveStreamingEndpoints()
        • cycleCamera()
        • cycleMic()
        • customTrayButtons()
        • customIntegrations()
        • destroy()
        • enumerateDevices()
        • exitFullscreen()
        • getDailyLang()
        • getInputDevices()
        • getInputSettings()
        • getLocalAudioLevel()
        • getRemoteParticipantsAudioLevel()
        • getMeetingSession()
        • getNetworkStats()
        • getNetworkTopology()
        • getReceiveSettings()
        • getSendSettings()
        • getSidebarView()
        • iframe()
        • isDestroyed()
        • isLocalAudioLevelObserverRunning()
        • isRemoteParticipantsAudioLevelObserverRunning()
        • join()
        • leave()
        • load()
        • localAudio()
        • localScreenAudio()
        • localScreenVideo()
        • localVideo()
        • meetingSessionSummary()
        • meetingSessionState()
        • meetingState()
        • off()
        • on()
        • once()
        • participants()
        • participantCounts()
        • preAuth()
        • removeLiveStreamingEndpoints()
        • requestAccess()
        • requestFullscreen()
        • room()
        • sendAppMessage()
        • setActiveSpeakerMode()
        • setBandwidth()
        • setCustomIntegrations()
        • setDailyLang()
        • setIceConfig()
        • setInputDevicesAsync()
        • setLocalAudio()
        • setLocalVideo()
        • setMeetingSessionData()
        • setNetworkTopology()
        • setOutputDeviceAsync()
        • setPlayNewParticipantSound()
        • setProxyUrl()
        • setShowLocalVideo()
        • setShowNamesMode()
        • setShowParticipantsBar()
        • setSidebarView()
        • setSubscribeToTracksAutomatically()
        • setTheme()
        • setUserData()
        • setUserName()
        • showLocalVideo()
        • showParticipantsBar()
        • startCamera()
        • startCustomIntegrations()
        • stopCustomIntegrations()
        • startCustomTrack()
        • startDialOut()
        • sendDTMF()
        • stopDialOut()
        • sipCallTransfer()
        • sipRefer()
        • startLiveStreaming()
        • startLocalAudioLevelObserver()
        • startRemoteParticipantsAudioLevelObserver()
        • startRecording()
        • startScreenShare()
        • startTranscription()
        • stopCustomTrack()
        • stopLiveStreaming()
        • stopLocalAudioLevelObserver()
        • stopRemoteParticipantsAudioLevelObserver()
        • stopRecording()
        • stopScreenShare()
        • stopTestCallQuality()
        • stopTestConnectionQuality()
        • stopTestPeerToPeerCallQuality()
        • stopTranscription()
        • testCallQuality()
        • testConnectionQuality()
        • testNetworkConnectivity()
        • testPeerToPeerCallQuality()
        • testWebsocketConnectivity()
        • theme()
        • updateCustomTrayButtons()
        • updateInputSettings()
        • updateLiveStreaming()
        • updateParticipant()
        • updateParticipants()
        • updateReceiveSettings()
        • updateScreenShare()
        • updateSendSettings()
        • updateRecording()
        • updateTranscription()
        • updateWaitingParticipant()
        • updateWaitingParticipants()
        • waitingParticipants()
      • Events
        • Dial-out Events
        • Dial-in Events
        • Live streaming Events
        • Meeting Events
        • Participant Events
        • Quality Events
        • Recording Events
        • Transcription Events
    • Daily React
      • DailyProvider
      • DailyAudio
      • DailyAudioTrack
      • DailyVideo
      • useActiveParticipant
      • useActiveSpeakerId
      • useAppMessage
      • useAudioLevel
      • useAudioLevelObserver
      • useCPULoad
      • useCallFrame
      • useCallObject
      • useDaily
      • useDailyError
      • useDailyEvent
      • useDevices
      • useInputSettings
      • useLiveStreaming
      • useLocalParticipant
      • useLocalSessionId
      • useMediaTrack
      • useMeetingSessionState
      • useMeetingState
      • useNetwork
      • useParticipant
      • useParticipantCounts
      • useParticipantIds
      • useParticipantProperty
      • usePermissions
      • useReceiveSettings
      • useRecording
      • useRoom
      • useRoomExp
      • useScreenShare
      • useSendSettings
      • useThrottledDailyEvent
      • useTranscription
      • useWaitingParticipants
    • React Native
      • The Daily Call Client
        • Properties
        • Multi-instance Guide
      • Factory Methods
        • createCallObject()
      • Static Methods
        • getCallInstance()
        • supportedBrowser()
      • Instance Methods
        • abortTestNetworkConnectivity()
        • abortTestWebsocketConnectivity()
        • accessState()
        • addLiveStreamingEndpoints()
        • cycleCamera()
        • destroy()
        • enumerateDevices()
        • getInputDevices()
        • getLocalAudioLevel()
        • getRemoteParticipantsAudioLevel()
        • getNetworkStats()
        • getReceiveSettings()
        • getSendSettings()
        • isDestroyed()
        • join()
        • leave()
        • load()
        • localAudio()
        • localScreenAudio()
        • localScreenVideo()
        • localVideo()
        • meetingSessionSummary()
        • meetingSessionState()
        • meetingState()
        • nativeInCallAudioMode()
        • off()
        • on()
        • once()
        • participants()
        • preAuth()
        • removeLiveStreamingEndpoints()
        • requestAccess()
        • room()
        • sendAppMessage()
        • setAudioDevice()
        • setCamera()
        • setLocalAudio()
        • setLocalVideo()
        • setMeetingSessionData()
        • setNativeInCallAudioMode()
        • setUserData()
        • setUserName()
        • startCamera()
        • startLiveStreaming()
        • startLocalAudioLevelObserver()
        • startRemoteParticipantsAudioLevelObserver()
        • startRecording()
        • startScreenShare()
        • startTranscription()
        • stopLiveStreaming()
        • stopLocalAudioLevelObserver()
        • stopRemoteParticipantsAudioLevelObserver()
        • stopRecording()
        • stopScreenShare()
        • stopTestConnectionQuality()
        • stopTestPeerToPeerCallQuality()
        • stopTranscription()
        • testConnectionQuality()
        • testNetworkConnectivity()
        • testPeerToPeerCallQuality()
        • testWebsocketConnectivity()
        • updateLiveStreaming()
        • updateParticipant()
        • updateParticipants()
        • updateReceiveSettings()
        • updateScreenShare()
        • updateSendSettings()
        • updateRecording()
        • updateWaitingParticipant()
        • updateWaitingParticipants()
        • waitingParticipants()
      • Events
        • Live streaming Events
        • Meeting Events
        • Participant Events
        • Quality Events
        • Recording Events
        • Transcription Events
    • Android SDK
      • Installation guide
    • iOS SDK
      • Installation guide
    • Flutter SDK
      • Installation guide
    • Python SDK
      • Installation guide
    • Video Component System
      • Core concepts
        • Composition file structure & interface
        • Input & compositing models
        • Best practices
      • Layout API
      • Installation
      • Components
        • Box
        • Image
        • Text
        • Video
        • WebFrame
      • Custom React hooks
        • useParams()
        • useActiveVideo()
        • useGrid()
        • useMediaInput()
        • useVideoTime()
        • useViewportSize()
        • useVideoPlaybackState()
      • Session assets
      • Tools
        • VCS Simulator
        • Using the VCS web renderer in your app
        • Build a JS package
Docs
Get startedGuidesReferenceBlogChangelog
  1. Home
  2. Reference Docs
  3. React Native
  4. Instance Methods
  5. on()

on()

on(eventName, callback)

Adds event callbacks. See documentation for EventEmitter.


Previous
Next

Built worldwide

Contact us

About us

Pricing

Jobs