UNPKG

react-native-theoplayer

Version:

A THEOplayer video component for react-native.

85 lines (84 loc) 2.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TrackListEventType = exports.TextTrackEventType = exports.MediaTrackType = exports.MediaTrackEventType = void 0; /** * The event types dispatched by a {@link TextTrackList}. * * @category Media and Text Tracks * @category Events * @public */ let TrackListEventType = exports.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 */ let TextTrackEventType = exports.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 */ let MediaTrackType = exports.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 */ let MediaTrackEventType = exports.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