CaptionsHandler type

Note

This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Callback definition for handling the CaptionsReceivedEventType event

type CaptionsHandler = (data: CaptionsInfo) => void