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
        • 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
      • 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
      • Logs
        • Configuration
        • GET /logs
      • Meetings
        • GET /meetings
        • GET /meetings/:meeting
        • GET /meetings/:meeting/participants
      • Presence
        • GET /presence
    • Daily JS
      • The DailyIframe Class
        • Properties
      • Factory Methods
        • createFrame()
        • wrap()
        • createTransparentFrame()
        • createCallObject()
      • Static Methods
        • getCallInstance()
        • supportedBrowser()
      • Instance Methods
        • accessState()
        • activeSpeakerMode()
        • addFakeParticipant()
        • addLiveStreamingEndpoints()
        • cycleCamera()
        • customTrayButtons()
        • destroy()
        • enumerateDevices()
        • exitFullscreen()
        • getDailyLang()
        • getInputDevices()
        • getInputSettings()
        • getMeetingSession()
        • getNetworkStats()
        • getNetworkTopology()
        • getReceiveSettings()
        • iframe()
        • isDestroyed()
        • join()
        • leave()
        • load()
        • localAudio()
        • localVideo()
        • meetingState()
        • off()
        • on()
        • once()
        • participants()
        • participantCounts()
        • preAuth()
        • removeLiveStreamingEndpoints()
        • requestAccess()
        • requestFullscreen()
        • room()
        • sendAppMessage()
        • setActiveSpeakerMode()
        • setBandwidth()
        • setDailyLang()
        • setInputDevicesAsync()
        • setLocalAudio()
        • setLocalVideo()
        • setNetworkTopology()
        • setOutputDeviceAsync()
        • setPlayNewParticipantSound()
        • setShowLocalVideo()
        • setShowNamesMode()
        • setShowParticipantsBar()
        • setSubscribeToTracksAutomatically()
        • setTheme()
        • setUserData()
        • setUserName()
        • showLocalVideo()
        • showParticipantsBar()
        • startCamera()
        • startCustomTrack()
        • startLiveStreaming()
        • startRecording()
        • startScreenShare()
        • startTranscription()
        • stopCustomTrack()
        • stopLiveStreaming()
        • stopRecording()
        • stopScreenShare()
        • stopTranscription()
        • theme()
        • updateCustomTrayButtons()
        • updateInputSettings()
        • updateLiveStreaming()
        • updateParticipant()
        • updateParticipants()
        • updateReceiveSettings()
        • updateRecording()
        • updateWaitingParticipant()
        • updateWaitingParticipants()
        • waitingParticipants()
        • setInputDevices() (Deprecated)
        • setOutputDevice() (Deprecated)
      • Events
        • Live streaming Events
        • Meeting Events
        • Network Events
        • Participant Events
        • Recording Events
        • Transcription Events
    • Daily React
      • DailyProvider
      • DailyAudio
      • DailyAudioTrack
      • DailyVideo
      • useActiveParticipant
      • useActiveSpeakerId
      • useAppMessage
      • useAudioLevel
      • useDaily
      • useDailyEvent
      • useDevices
      • useInputSettings
      • useLiveStreaming
      • useLocalParticipant
      • useLocalSessionId
      • useMediaTrack
      • useNetwork
      • useParticipant
      • useParticipantIds
      • useParticipantProperty
      • useReceiveSettings
      • useRecording
      • useRoom
      • useScreenShare
      • useThrottledDailyEvent
      • useTranscription
      • useWaitingParticipants
    • React Native
      • The DailyIframe Class
        • Properties
      • Factory Methods
        • createCallObject()
      • Static Methods
        • getCallInstance()
        • supportedBrowser()
      • Instance Methods
        • accessState()
        • addLiveStreamingEndpoints()
        • cycleCamera()
        • destroy()
        • enumerateDevices()
        • getInputDevices()
        • getNetworkStats()
        • getReceiveSettings()
        • isDestroyed()
        • join()
        • leave()
        • load()
        • localAudio()
        • localVideo()
        • meetingState()
        • nativeInCallAudioMode()
        • off()
        • on()
        • once()
        • participants()
        • preAuth()
        • removeLiveStreamingEndpoints()
        • requestAccess()
        • room()
        • sendAppMessage()
        • setAudioDevice()
        • setCamera()
        • setLocalAudio()
        • setLocalVideo()
        • setNativeInCallAudioMode()
        • setUserData()
        • setUserName()
        • startCamera()
        • startLiveStreaming()
        • startRecording()
        • startTranscription()
        • stopLiveStreaming()
        • stopRecording()
        • stopTranscription()
        • updateLiveStreaming()
        • updateParticipant()
        • updateParticipants()
        • updateReceiveSettings()
        • updateRecording()
        • updateWaitingParticipant()
        • updateWaitingParticipants()
        • waitingParticipants()
      • Events
        • Live streaming Events
        • Meeting Events
        • Network Events
        • Participant Events
        • Recording Events
        • Transcription Events
    • Android SDK
      • Installation guide
    • iOS 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
      • Custom React hooks
        • useParams()
        • useActiveVideo()
        • useGrid()
        • useMediaInput()
        • useVideoTime()
        • useViewportSize()
        • useVideoPlaybackState()
      • Session assets
      • Tools
        • VCS Simulator
        • 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