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
        • POST /rooms/:room
        • DELETE /rooms/:name
      • 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
        • POST /recordings/:id/composites
        • GET /recordings/id/composites
      • Logs
        • Configuration
        • GET /logs
      • Meetings
        • GET /meetings
      • Presence
        • GET /presence
    • Daily JS
      • The DailyIframe Class
        • Properties
      • Factory Methods
        • createFrame()
        • wrap()
        • createTransparentFrame()
        • createCallObject()
      • Static Methods
        • supportedBrowser()
      • Instance Methods
        • accessState()
        • activeSpeakerMode()
        • addFakeParticipant()
        • addLiveStreamingEndpoints()
        • cycleCamera()
        • destroy()
        • enumerateDevices()
        • exitFullscreen()
        • getDailyLang()
        • getInputDevices()
        • getInputSettings()
        • getMeetingSession()
        • getNetworkStats()
        • getNetworkTopology()
        • getReceiveSettings()
        • iframe()
        • join()
        • leave()
        • load()
        • localAudio()
        • localVideo()
        • meetingState()
        • off()
        • on()
        • once()
        • participants()
        • participantCounts()
        • preAuth()
        • removeLiveStreamingEndpoints()
        • requestAccess()
        • requestFullscreen()
        • room()
        • sendAppMessage()
        • setActiveSpeakerMode()
        • setBandwidth()
        • setDailyLang()
        • setInputDevices()
        • setInputDevicesAsync()
        • setLocalAudio()
        • setLocalVideo()
        • setNetworkTopology()
        • setOutputDevice()
        • setPlayNewParticipantSound()
        • setShowLocalVideo()
        • setShowNamesMode()
        • setShowParticipantsBar()
        • setSubscribeToTracksAutomatically()
        • setTheme()
        • setUserName()
        • showLocalVideo()
        • showParticipantsBar()
        • startCamera()
        • startLiveStreaming()
        • startRecording()
        • startScreenShare()
        • startTranscription()
        • stopLiveStreaming()
        • stopRecording()
        • stopScreenShare()
        • stopTranscription()
        • theme()
        • updateInputSettings()
        • updateLiveStreaming()
        • updateParticipant()
        • updateParticipants()
        • updateReceiveSettings()
        • updateRecording()
        • updateWaitingParticipant()
        • updateWaitingParticipants()
        • waitingParticipants()
      • Events
        • Live streaming Events
        • Meeting Events
        • Network Events
        • Participant Events
        • Recording Events
        • Transcription Events
    • React Native
      • The DailyIframe Class
        • Properties
      • Factory Methods
        • createCallObject()
      • Static Methods
        • supportedBrowser()
      • Instance Methods
        • accessState()
        • cycleCamera()
        • destroy()
        • enumerateDevices()
        • getInputDevices()
        • getNetworkStats()
        • getReceiveSettings()
        • join()
        • leave()
        • load()
        • localAudio()
        • localVideo()
        • meetingState()
        • nativeInCallAudioMode()
        • off()
        • on()
        • once()
        • participants()
        • preAuth()
        • requestAccess()
        • room()
        • sendAppMessage()
        • setAudioDevice()
        • setCamera()
        • setLocalAudio()
        • setLocalVideo()
        • setNativeInCallAudioMode()
        • 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
    • Daily React Hooks
      • DailyProvider
      • useActiveParticipant
      • useAppMessage
      • useDaily
      • useDailyEvent
      • useDevices
      • useLiveStreaming
      • useLocalParticipant
      • useMediaTrack
      • useNetwork
      • useParticipant
      • useParticipantIds
      • useReceiveSettings
      • useRecording
      • useRoom
      • useScreenShare
      • useThrottledDailyEvent
      • useWaitingParticipants
Docs
Get startedGuidesReferenceBlogChangelog
  1. Home
  2. Reference Docs
  3. React Native
  4. Instance Methods
  5. once()

once()

once(eventName, callback)

Adds event callbacks. See documentation for EventEmitter.


Previous
Next

Built worldwide

Contact us

About us

Pricing

Jobs