• Subscribes to Zoom Meeting SDK events for the lifetime of the calling component.

    Pass a map of event names to handlers; only the events you specify are delivered. Handlers are read by ref so updating them across renders does not re-subscribe, and listeners are removed automatically on unmount.

    Parameters

    Returns void

    Example

    useZoomEvents({
    onAuthReturn: ({ error }) => console.log('auth result', error),
    onMeetingStateChange: ({ state }) => console.log('meeting state', state),
    });

Generated using TypeDoc