xref: /expo/packages/expo-av/build/Video.types.js (revision 9f72d43b)
1// @needsAudit
2export var ResizeMode;
3(function (ResizeMode) {
4    /**
5     * Fit within component bounds while preserving aspect ratio.
6     */
7    ResizeMode["CONTAIN"] = "contain";
8    /**
9     * Fill component bounds while preserving aspect ratio.
10     */
11    ResizeMode["COVER"] = "cover";
12    /**
13     * Stretch to fill component bounds.
14     */
15    ResizeMode["STRETCH"] = "stretch";
16})(ResizeMode || (ResizeMode = {}));
17// @needsAudit
18export var VideoFullscreenUpdate;
19(function (VideoFullscreenUpdate) {
20    /**
21     * Describing that the fullscreen player is about to present.
22     */
23    VideoFullscreenUpdate[VideoFullscreenUpdate["PLAYER_WILL_PRESENT"] = 0] = "PLAYER_WILL_PRESENT";
24    /**
25     * Describing that the fullscreen player just finished presenting.
26     */
27    VideoFullscreenUpdate[VideoFullscreenUpdate["PLAYER_DID_PRESENT"] = 1] = "PLAYER_DID_PRESENT";
28    /**
29     * Describing that the fullscreen player is about to dismiss.
30     */
31    VideoFullscreenUpdate[VideoFullscreenUpdate["PLAYER_WILL_DISMISS"] = 2] = "PLAYER_WILL_DISMISS";
32    /**
33     * Describing that the fullscreen player just finished dismissing.
34     */
35    VideoFullscreenUpdate[VideoFullscreenUpdate["PLAYER_DID_DISMISS"] = 3] = "PLAYER_DID_DISMISS";
36})(VideoFullscreenUpdate || (VideoFullscreenUpdate = {}));
37//# sourceMappingURL=Video.types.js.map