/
expo-video.json
1 lines (1 loc) · 28.1 KB
/
expo-video.json
1
{"name":"expo-video","variant":"project","kind":1,"children":[{"name":"isPictureInPictureSupported","variant":"declaration","kind":64,"signatures":[{"name":"isPictureInPictureSupported","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Returns whether the current device supports Picture in Picture (PiP) mode."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A "},{"kind":"code","text":"`boolean`"},{"kind":"text","text":" which is "},{"kind":"code","text":"`true`"},{"kind":"text","text":" if the device supports PiP mode, and "},{"kind":"code","text":"`false`"},{"kind":"text","text":" otherwise."}]},{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript"}}]},{"name":"useVideoPlayer","variant":"declaration","kind":64,"signatures":[{"name":"useVideoPlayer","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Creates a "},{"kind":"code","text":"`VideoPlayer`"},{"kind":"text","text":", which will be automatically cleaned up when the component is unmounted."}]},"parameters":[{"name":"source","variant":"param","kind":32768,"comment":{"summary":[{"kind":"text","text":"A video source to initialize the player with"}]},"type":{"type":"reference","name":"VideoSource","package":"expo-video"}},{"name":"setup","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A function that allows setting up the player. It will run after the player is created."}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"player","variant":"param","kind":32768,"type":{"type":"reference","name":"VideoPlayer","package":"expo-video"}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","name":"VideoPlayer","package":"expo-video"}}]},{"name":"VideoContentFit","variant":"declaration","kind":2097152,"comment":{"summary":[{"kind":"text","text":"Describes how a video should be scaled to fit in a container.\n- "},{"kind":"code","text":"`contain`"},{"kind":"text","text":": The video maintains its aspect ratio and fits inside the container, with possible letterboxing/pillarboxing.\n- "},{"kind":"code","text":"`cover`"},{"kind":"text","text":": The video maintains its aspect ratio and covers the entire container, potentially cropping some portions.\n- "},{"kind":"code","text":"`fill`"},{"kind":"text","text":": The video stretches/squeezes to completely fill the container, potentially causing distortion."}]},"type":{"type":"union","types":[{"type":"literal","value":"contain"},{"type":"literal","value":"cover"},{"type":"literal","value":"fill"}]}},{"name":"VideoPlayer","variant":"declaration","kind":128,"comment":{"summary":[{"kind":"text","text":"A class that represents an instance of the video player."}]},"children":[{"name":"constructor","variant":"declaration","kind":512,"signatures":[{"name":"new VideoPlayer","variant":"signature","kind":16384,"comment":{"summary":[{"kind":"text","text":"Creates a new event emitter instance."}]},"type":{"type":"reference","name":"VideoPlayer","package":"expo-video"},"inheritedFrom":{"type":"reference","name":"SharedObject<VideoPlayerEvents>.constructor"}}],"inheritedFrom":{"type":"reference","name":"SharedObject<VideoPlayerEvents>.constructor"}},{"name":"currentTime","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Integer value representing the current position in seconds."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"loop","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Determines whether the player should automatically replay after reaching the end of the video."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"false"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"muted","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Boolean value whether the player is currently muted."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"false"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"playbackRate","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Float value between 0 and 16 indicating the current playback speed of the player."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"1.0"}]}]},"type":{"type":"intrinsic","name":"number"}},{"name":"playing","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Boolean value whether the player is currently playing.\n> This property is get-only, use "},{"kind":"code","text":"`play`"},{"kind":"text","text":" and "},{"kind":"code","text":"`pause`"},{"kind":"text","text":" methods to control the playback."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"preservesPitch","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Boolean value indicating if the player should correct audio pitch when the playback speed changes.\n> On web, changing this property is not supported, the player will always correct the pitch."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"true"}]},{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"status","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Indicates the current status of the player.\n> This property is get-only"}]},"type":{"type":"reference","name":"VideoPlayerStatus","package":"expo-video"}},{"name":"staysActiveInBackground","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Determines whether the player should continue playing after the app enters the background."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"false"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]},{"tag":"@platform","content":[{"kind":"text","text":"android"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"volume","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Float value between 0 and 1 representing the current volume.\nMuting the player doesn't affect the volume. In other words, when the player is muted, the volume is the same as\nwhen unmuted. Similarly, setting the volume doesn't unmute the player."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"1.0"}]}]},"type":{"type":"intrinsic","name":"number"}},{"name":"addListener","variant":"declaration","kind":2048,"signatures":[{"name":"addListener","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Adds a listener for the given event name."}]},"typeParameter":[{"name":"EventName","variant":"typeParam","kind":131072,"type":{"type":"typeOperator","operator":"keyof","target":{}}}],"parameters":[{"name":"eventName","variant":"param","kind":32768,"type":{"type":"reference","name":"EventName","package":"expo-modules-core","refersToTypeParameter":true}},{"name":"listener","variant":"param","kind":32768,"type":{"type":"indexedAccess","indexType":{"type":"reference","name":"EventName","package":"expo-modules-core","refersToTypeParameter":true},"objectType":{"type":"reference","name":"VideoPlayerEvents","package":"expo-video"}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"SharedObject.addListener"}}],"inheritedFrom":{"type":"reference","name":"SharedObject.addListener"}},{"name":"emit","variant":"declaration","kind":2048,"signatures":[{"name":"emit","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Synchronously calls all of the listeners attached to that specific event.\nThe event can include any number of arguments that will be passed to the listeners."}]},"typeParameter":[{"name":"EventName","variant":"typeParam","kind":131072,"type":{"type":"typeOperator","operator":"keyof","target":{}}}],"parameters":[{"name":"eventName","variant":"param","kind":32768,"type":{"type":"reference","name":"EventName","package":"expo-modules-core","refersToTypeParameter":true}},{"name":"args","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"reference","typeArguments":[{"type":"indexedAccess","indexType":{"type":"reference","name":"EventName","package":"expo-modules-core","refersToTypeParameter":true},"objectType":{"type":"reference","name":"VideoPlayerEvents","package":"expo-video"}}],"name":"Parameters","package":"typescript"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"SharedObject.emit"}}],"inheritedFrom":{"type":"reference","name":"SharedObject.emit"}},{"name":"pause","variant":"declaration","kind":2048,"signatures":[{"name":"pause","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Pauses the player."}]},"type":{"type":"intrinsic","name":"void"}}]},{"name":"play","variant":"declaration","kind":2048,"signatures":[{"name":"play","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Resumes the player."}]},"type":{"type":"intrinsic","name":"void"}}]},{"name":"release","variant":"declaration","kind":2048,"signatures":[{"name":"release","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"A function that detaches the JS and native objects to let the native object deallocate\nbefore the JS object gets deallocated by the JS garbagge collector. Any subsequent calls to native\nfunctions of the object will throw an error as it is no longer associated with its native counterpart."}]},"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"SharedObject.release"}}],"inheritedFrom":{"type":"reference","name":"SharedObject.release"}},{"name":"removeAllListeners","variant":"declaration","kind":2048,"signatures":[{"name":"removeAllListeners","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Removes all listeners for the given event name."}]},"parameters":[{"name":"eventName","variant":"param","kind":32768,"type":{"type":"typeOperator","operator":"keyof","target":{}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"SharedObject.removeAllListeners"}}],"inheritedFrom":{"type":"reference","name":"SharedObject.removeAllListeners"}},{"name":"removeListener","variant":"declaration","kind":2048,"signatures":[{"name":"removeListener","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Removes a listener for the given event name."}]},"typeParameter":[{"name":"EventName","variant":"typeParam","kind":131072,"type":{"type":"typeOperator","operator":"keyof","target":{}}}],"parameters":[{"name":"eventName","variant":"param","kind":32768,"type":{"type":"reference","name":"EventName","package":"expo-modules-core","refersToTypeParameter":true}},{"name":"listener","variant":"param","kind":32768,"type":{"type":"indexedAccess","indexType":{"type":"reference","name":"EventName","package":"expo-modules-core","refersToTypeParameter":true},"objectType":{"type":"reference","name":"VideoPlayerEvents","package":"expo-video"}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","name":"SharedObject.removeListener"}}],"inheritedFrom":{"type":"reference","name":"SharedObject.removeListener"}},{"name":"replace","variant":"declaration","kind":2048,"signatures":[{"name":"replace","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Replaces the current source with a new one."}]},"parameters":[{"name":"source","variant":"param","kind":32768,"type":{"type":"reference","name":"VideoSource","package":"expo-video"}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"replay","variant":"declaration","kind":2048,"signatures":[{"name":"replay","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Seeks the playback to the beginning."}]},"type":{"type":"intrinsic","name":"void"}}]},{"name":"seekBy","variant":"declaration","kind":2048,"signatures":[{"name":"seekBy","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Seeks the playback by the given number of seconds."}]},"parameters":[{"name":"seconds","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}]}],"extendedTypes":[{"type":"reference","typeArguments":[{"type":"reference","name":"VideoPlayerEvents","package":"expo-video"}],"name":"SharedObject","package":"expo-modules-core"}]},{"name":"VideoPlayerEvents","variant":"declaration","kind":2097152,"comment":{"summary":[{"kind":"text","text":"Handlers for events which can be emitted by the player."}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"playToEnd","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the player plays to the end of the current source."}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the player plays to the end of the current source."}]},"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"playbackRateChange","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the "},{"kind":"code","text":"`playbackRate`"},{"kind":"text","text":" property of the player changes."}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the "},{"kind":"code","text":"`playbackRate`"},{"kind":"text","text":" property of the player changes."}]},"parameters":[{"name":"newPlaybackRate","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"number"}},{"name":"oldPlaybackRate","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"playingChange","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the player starts or stops playback."}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the player starts or stops playback."}]},"parameters":[{"name":"newIsPlaying","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"boolean"}},{"name":"oldIsPlaying","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"sourceChange","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the current media source of the player changes."}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the current media source of the player changes."}]},"parameters":[{"name":"newSource","variant":"param","kind":32768,"type":{"type":"reference","name":"VideoSource","package":"expo-video"}},{"name":"previousSource","variant":"param","kind":32768,"type":{"type":"reference","name":"VideoSource","package":"expo-video"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"statusChange","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the status of the player changes."}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the status of the player changes."}]},"parameters":[{"name":"newStatus","variant":"param","kind":32768,"type":{"type":"reference","name":"VideoPlayerStatus","package":"expo-video"}},{"name":"oldStatus","variant":"param","kind":32768,"type":{"type":"reference","name":"VideoPlayerStatus","package":"expo-video"}},{"name":"error","variant":"param","kind":32768,"type":{"type":"reference","name":"PlayerError","package":"expo-video"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"volumeChange","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the "},{"kind":"code","text":"`volume`"},{"kind":"text","text":" property of the player changes."}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Handler for an event emitted when the "},{"kind":"code","text":"`volume`"},{"kind":"text","text":" property of the player changes."}]},"parameters":[{"name":"newVolume","variant":"param","kind":32768,"type":{"type":"reference","name":"VolumeEvent","package":"expo-video"}},{"name":"oldVolume","variant":"param","kind":32768,"type":{"type":"reference","name":"VolumeEvent","package":"expo-video"}}],"type":{"type":"intrinsic","name":"void"}}]}}}]}}},{"name":"VideoPlayerStatus","variant":"declaration","kind":2097152,"comment":{"summary":[{"kind":"text","text":"Describes the current status of the player.\n- "},{"kind":"code","text":"`idle`"},{"kind":"text","text":": The player is not playing or loading any videos.\n- "},{"kind":"code","text":"`loading`"},{"kind":"text","text":": The player is loading video data from the provided source\n- "},{"kind":"code","text":"`readyToPlay`"},{"kind":"text","text":": The player has loaded enough data to start playing or to continue playback.\n- "},{"kind":"code","text":"`error`"},{"kind":"text","text":": The player has encountered an error while loading or playing the video."}]},"type":{"type":"union","types":[{"type":"literal","value":"idle"},{"type":"literal","value":"loading"},{"type":"literal","value":"readyToPlay"},{"type":"literal","value":"error"}]}},{"name":"VideoSource","variant":"declaration","kind":2097152,"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"drm","variant":"declaration","kind":1024,"flags":{"isOptional":true},"type":{"type":"reference","name":"DRMOptions","package":"expo-video"}},{"name":"uri","variant":"declaration","kind":1024,"type":{"type":"intrinsic","name":"string"}}]}},{"type":"literal","value":null}]}},{"name":"VideoView","variant":"declaration","kind":128,"children":[{"name":"constructor","variant":"declaration","kind":512,"flags":{"isExternal":true},"signatures":[{"name":"new VideoView","variant":"signature","kind":16384,"flags":{"isExternal":true},"parameters":[{"name":"props","variant":"param","kind":32768,"flags":{"isExternal":true},"type":{"type":"union","types":[{"type":"reference","name":"VideoViewProps","package":"expo-video"},{"type":"reference","typeArguments":[{"type":"reference","name":"VideoViewProps","package":"expo-video"}],"name":"Readonly","package":"typescript"}]}}],"type":{"type":"reference","name":"VideoView","package":"expo-video"},"inheritedFrom":{"type":"reference","name":"PureComponent<VideoViewProps>.constructor"}},{"name":"new VideoView","variant":"signature","kind":16384,"flags":{"isExternal":true},"comment":{"summary":[],"blockTags":[{"tag":"@deprecated","content":[]},{"tag":"@see","content":[{"kind":"text","text":"https://reactjs.org/docs/legacy-context.html"}]}]},"parameters":[{"name":"props","variant":"param","kind":32768,"flags":{"isExternal":true},"type":{"type":"reference","name":"VideoViewProps","package":"expo-video"}},{"name":"context","variant":"param","kind":32768,"flags":{"isExternal":true},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"reference","name":"VideoView","package":"expo-video"},"inheritedFrom":{"type":"reference","name":"PureComponent<VideoViewProps>.constructor"}}],"inheritedFrom":{"type":"reference","name":"PureComponent<VideoViewProps>.constructor"}},{"name":"nativeRef","variant":"declaration","kind":1024,"type":{"type":"reference","typeArguments":[{"type":"intrinsic","name":"any"}],"name":"RefObject","package":"@types/react","qualifiedName":"React.RefObject"},"defaultValue":"..."},{"name":"enterFullscreen","variant":"declaration","kind":2048,"signatures":[{"name":"enterFullscreen","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Enters fullscreen mode."}]},"type":{"type":"intrinsic","name":"void"}}]},{"name":"exitFullscreen","variant":"declaration","kind":2048,"signatures":[{"name":"exitFullscreen","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Exits fullscreen mode."}]},"type":{"type":"intrinsic","name":"void"}}]},{"name":"render","variant":"declaration","kind":2048,"signatures":[{"name":"render","variant":"signature","kind":4096,"type":{"type":"reference","name":"ReactNode","package":"@types/react","qualifiedName":"React.ReactNode"},"overwrites":{"type":"reference","name":"PureComponent.render"}}],"overwrites":{"type":"reference","name":"PureComponent.render"}},{"name":"startPictureInPicture","variant":"declaration","kind":2048,"signatures":[{"name":"startPictureInPicture","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Enters Picture in Picture (PiP) mode. Throws an exception if the device does not support PiP.\n> **Note:** Only one player can be in Picture in Picture (PiP) mode at a time."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios 14+"}]}]},"type":{"type":"intrinsic","name":"any"}}]},{"name":"stopPictureInPicture","variant":"declaration","kind":2048,"signatures":[{"name":"stopPictureInPicture","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Exits Picture in Picture (PiP) mode."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios 14+"}]}]},"type":{"type":"intrinsic","name":"any"}}]}],"extendedTypes":[{"type":"reference","typeArguments":[{"type":"reference","name":"VideoViewProps","package":"expo-video"}],"name":"PureComponent","package":"@types/react","qualifiedName":"React.PureComponent"}]},{"name":"VideoViewProps","variant":"declaration","kind":256,"children":[{"name":"allowsFullscreen","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Determines whether fullscreen mode is allowed or not."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"true"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"allowsPictureInPicture","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Determines whether the player allows Picture in Picture (PiP) mode."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"false"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios 14+"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"contentFit","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Describes how the video should be scaled to fit in the container.\nOptions are 'contain', 'cover', and 'fill'."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"'contain'"}]}]},"type":{"type":"reference","name":"VideoContentFit","package":"expo-video"}},{"name":"contentPosition","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Determines the position offset of the video inside the container."}],"blockTags":[{"tag":"@default","content":[]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"dx","variant":"declaration","kind":1024,"flags":{"isOptional":true},"type":{"type":"intrinsic","name":"number"}},{"name":"dy","variant":"declaration","kind":1024,"flags":{"isOptional":true},"type":{"type":"intrinsic","name":"number"}}]}}},{"name":"nativeControls","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Determines whether native controls should be displayed or not."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"true"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"onPictureInPictureStart","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A callback to call after the video player enters Picture in Picture (PiP) mode."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios 14+"}]}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"A callback to call after the video player enters Picture in Picture (PiP) mode."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios 14+"}]}]},"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onPictureInPictureStop","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A callback to call after the video player exits Picture in Picture (PiP) mode."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios 14+"}]}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"A callback to call after the video player exits Picture in Picture (PiP) mode."}],"blockTags":[{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios 14+"}]}]},"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"player","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"A player instance – use "},{"kind":"code","text":"`useVideoPlayer()`"},{"kind":"text","text":" to create one."}]},"type":{"type":"reference","name":"VideoPlayer","package":"expo-video"}},{"name":"requiresLinearPlayback","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Determines whether the player allows the user to skip media content."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"false"}]},{"tag":"@platform","content":[{"kind":"text","text":"android"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"showsTimecodes","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Determines whether the timecodes should be displayed or not."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"true"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios"}]}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"startsPictureInPictureAutomatically","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Determines whether the player should start Picture in Picture (PiP) automatically when the app is in the background.\n> **Note:** Only one player can be in Picture in Picture (PiP) mode at a time."}],"blockTags":[{"tag":"@default","content":[{"kind":"text","text":"false"}]},{"tag":"@platform","content":[{"kind":"text","text":"android 12+"}]},{"tag":"@platform","content":[{"kind":"text","text":"ios 14.2+"}]}]},"type":{"type":"intrinsic","name":"boolean"}}],"extendedTypes":[{"type":"reference","name":"ViewProps","package":"react-native"}]}],"packageName":"expo-video"}