UNPKG

react-native-theoplayer

Version:

A THEOplayer video component for react-native.

88 lines (80 loc) 2.05 kB
"use strict"; /** * The event types dispatched by a {@link TextTrackList}. * * @category Media and Text Tracks * @category Events * @public */ export let TrackListEventType = /*#__PURE__*/function (TrackListEventType) { TrackListEventType["ADD_TRACK"] = "addtrack"; TrackListEventType["REMOVE_TRACK"] = "removetrack"; TrackListEventType["CHANGE_TRACK"] = "changetrack"; return TrackListEventType; }({}); /** * The events dispatched by a {@link TextTrackList}. * * @category Media and Text Tracks * @category Events * @public */ /** * The event types dispatched by a {@link TextTrack}. * * @category Media and Text Tracks * @category Events * @public */ export let TextTrackEventType = /*#__PURE__*/function (TextTrackEventType) { TextTrackEventType["ADD_CUE"] = "addcue"; TextTrackEventType["REMOVE_CUE"] = "removecue"; TextTrackEventType["ENTER_CUE"] = "entercue"; TextTrackEventType["EXIT_CUE"] = "exitcue"; return TextTrackEventType; }({}); /** * The events dispatched by a {@link TextTrack}. * * @category Media and Text Tracks * @category Events * @public */ /** * The type of media track (audio or video) associated with an event. * * @category Media and Text Tracks * @category Events * @public */ export let MediaTrackType = /*#__PURE__*/function (MediaTrackType) { MediaTrackType["AUDIO"] = "audio"; MediaTrackType["VIDEO"] = "video"; return MediaTrackType; }({}); /** * The events dispatched by a {@link MediaTrack}. * * @category Media and Text Tracks * @category Events * @public */ /** * The event types dispatched by a {@link MediaTrack}. * * @category Media and Text Tracks * @category Events * @public */ export let MediaTrackEventType = /*#__PURE__*/function (MediaTrackEventType) { MediaTrackEventType["ACTIVE_QUALITY_CHANGED"] = "activequalitychanged"; return MediaTrackEventType; }({}); /** * The events dispatched by a {@link MediaTrack}. * * @category Media and Text Tracks * @category Events * @public */ //# sourceMappingURL=TrackEvent.js.map