Class s7sdk.event.AudioCaptionEvent
A AudioCaptionEvent is dispatched by AudioCaptions component whenever audio caption setting is changed.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
s7sdk.event.AudioCaptionEvent(type, data, bubbles)
|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
s7sdk.event.AudioCaptionEvent.NOTF_AUDIO_CHANGE
This event is dispatched by the
AudioCaptions component to notify that audio is changed. |
| <static> |
s7sdk.event.AudioCaptionEvent.NOTF_MENU_STATE_CHANGE
This event is dispatched by the
AudioCaptions component to notify that subtitle/caption menu is opened or closed. |
| <static> |
s7sdk.event.AudioCaptionEvent.NOTF_SUBTITLE_CHANGE
This event is dispatched by the
AudioCaptions component to notify that subtitle is changed. |
Class Detail
s7sdk.event.AudioCaptionEvent(type, data, bubbles)
- Parameters:
- {String} type
- Defines the value of the type property.
- {String | Boolean} data
- event data. For
AudioCaptionEvent.NOTF_AUDIO_CHANGEandAudioCaptionEvent.NOTF_SUBTITLE_CHANGEcontains track id. - {Boolean} bubbles
- Defines whether the event bubbles.
Field Detail
<static>
s7sdk.event.AudioCaptionEvent.NOTF_AUDIO_CHANGE
This event is dispatched by the
AudioCaptions component to notify that audio is changed.
<static>
s7sdk.event.AudioCaptionEvent.NOTF_MENU_STATE_CHANGE
This event is dispatched by the
AudioCaptions component to notify that subtitle/caption menu is opened or closed.
<static>
s7sdk.event.AudioCaptionEvent.NOTF_SUBTITLE_CHANGE
This event is dispatched by the
AudioCaptions component to notify that subtitle is changed.