/
expo-video-av.json
1 lines (1 loc) · 38.5 KB
/
expo-video-av.json
1
{"name":"expo-video-av","variant":"project","kind":1,"children":[{"name":"default","variant":"declaration","kind":128,"children":[{"name":"constructor","variant":"declaration","kind":512,"signatures":[{"name":"new default","variant":"signature","kind":16384,"parameters":[{"name":"props","variant":"param","kind":32768,"type":{"type":"reference","name":"VideoProps","package":"expo-av"}}],"type":{"type":"reference","name":"Video","package":"expo-av"},"overwrites":{"type":"reference","name":"React.Component<VideoProps, VideoState>.constructor"}}],"overwrites":{"type":"reference","name":"React.Component<VideoProps, VideoState>.constructor"}},{"name":"_nativeRef","variant":"declaration","kind":1024,"type":{"type":"reference","typeArguments":[{"type":"intersection","types":[{"type":"reference","typeArguments":[{"type":"reference","name":"VideoNativeProps","package":"expo-av"},{"type":"intrinsic","name":"any"},{"type":"intrinsic","name":"any"}],"name":"Component","package":"@types/react","qualifiedName":"React.Component"},{"type":"reference","name":"NativeMethods","package":"react-native"}]}],"name":"RefObject","package":"@types/react","qualifiedName":"React.RefObject"},"defaultValue":"..."},{"name":"_onPlaybackStatusUpdate","variant":"declaration","kind":1024,"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"status","variant":"param","kind":32768,"type":{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}}],"type":{"type":"intrinsic","name":"void"}}]}}]},"defaultValue":"null"},{"name":"pauseAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.pauseAsync"}},{"name":"playAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.playAsync"}},{"name":"playFromPositionAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"positionMillis","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"number"}},{"name":"tolerances","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","name":"AVPlaybackTolerance","package":"expo-av"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.playFromPositionAsync"}},{"name":"setIsLoopingAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"isLooping","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.setIsLoopingAsync"}},{"name":"setIsMutedAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"isMuted","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.setIsMutedAsync"}},{"name":"setPositionAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"positionMillis","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"number"}},{"name":"tolerances","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","name":"AVPlaybackTolerance","package":"expo-av"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.setPositionAsync"}},{"name":"setProgressUpdateIntervalAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"progressUpdateIntervalMillis","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.setProgressUpdateIntervalAsync"}},{"name":"setRateAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"rate","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"number"}},{"name":"shouldCorrectPitch","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"boolean"}},{"name":"pitchCorrectionQuality","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","name":"PitchCorrectionQuality","package":"expo-av"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.setRateAsync"}},{"name":"setVolumeAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"volume","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"number"}},{"name":"audioPan","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.setVolumeAsync"}},{"name":"stopAsync","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}},"implementationOf":{"type":"reference","name":"Playback.stopAsync"}},{"name":"_handleNewStatus","variant":"declaration","kind":2048,"signatures":[{"name":"_handleNewStatus","variant":"signature","kind":4096,"parameters":[{"name":"status","variant":"param","kind":32768,"type":{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"_nativeOnError","variant":"declaration","kind":2048,"signatures":[{"name":"_nativeOnError","variant":"signature","kind":4096,"parameters":[{"name":"event","variant":"param","kind":32768,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"nativeEvent","variant":"declaration","kind":1024,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"error","variant":"declaration","kind":1024,"type":{"type":"intrinsic","name":"string"}}]}}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"_nativeOnFullscreenUpdate","variant":"declaration","kind":2048,"signatures":[{"name":"_nativeOnFullscreenUpdate","variant":"signature","kind":4096,"parameters":[{"name":"event","variant":"param","kind":32768,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"nativeEvent","variant":"declaration","kind":1024,"type":{"type":"reference","name":"VideoFullscreenUpdateEvent","package":"expo-av"}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"_nativeOnLoad","variant":"declaration","kind":2048,"signatures":[{"name":"_nativeOnLoad","variant":"signature","kind":4096,"parameters":[{"name":"event","variant":"param","kind":32768,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"nativeEvent","variant":"declaration","kind":1024,"type":{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"_nativeOnLoadStart","variant":"declaration","kind":2048,"signatures":[{"name":"_nativeOnLoadStart","variant":"signature","kind":4096,"type":{"type":"intrinsic","name":"void"}}]},{"name":"_nativeOnPlaybackStatusUpdate","variant":"declaration","kind":2048,"signatures":[{"name":"_nativeOnPlaybackStatusUpdate","variant":"signature","kind":4096,"parameters":[{"name":"event","variant":"param","kind":32768,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"nativeEvent","variant":"declaration","kind":1024,"type":{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"_nativeOnReadyForDisplay","variant":"declaration","kind":2048,"signatures":[{"name":"_nativeOnReadyForDisplay","variant":"signature","kind":4096,"parameters":[{"name":"event","variant":"param","kind":32768,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"nativeEvent","variant":"declaration","kind":1024,"type":{"type":"reference","name":"VideoReadyForDisplayEvent","package":"expo-av"}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"name":"_performOperationAndHandleStatusAsync","variant":"declaration","kind":2048,"signatures":[{"name":"_performOperationAndHandleStatusAsync","variant":"signature","kind":4096,"parameters":[{"name":"operation","variant":"param","kind":32768,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"tag","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]}}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]},{"name":"_renderPoster","variant":"declaration","kind":2048,"signatures":[{"name":"_renderPoster","variant":"signature","kind":4096,"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","name":"Element","package":"@types/react","qualifiedName":"__global.JSX.Element"}]}}]},{"name":"_setFullscreen","variant":"declaration","kind":2048,"signatures":[{"name":"_setFullscreen","variant":"signature","kind":4096,"parameters":[{"name":"value","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]},{"name":"componentWillUnmount","variant":"declaration","kind":2048,"signatures":[{"name":"componentWillUnmount","variant":"signature","kind":4096,"type":{"type":"intrinsic","name":"void"},"overwrites":{"type":"reference","name":"React.Component.componentWillUnmount"}}],"overwrites":{"type":"reference","name":"React.Component.componentWillUnmount"}},{"name":"dismissFullscreenPlayer","variant":"declaration","kind":2048,"signatures":[{"name":"dismissFullscreenPlayer","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"This dismisses the fullscreen video view."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A "},{"kind":"code","text":"`Promise`"},{"kind":"text","text":" that is fulfilled with the "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":" of the video once the fullscreen player has finished dismissing,\nor rejects if there was an error, or if this was called on an Android device."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]},{"name":"presentFullscreenPlayer","variant":"declaration","kind":2048,"signatures":[{"name":"presentFullscreenPlayer","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"This presents a fullscreen view of your video component on top of your app's UI. Note that even if "},{"kind":"code","text":"`useNativeControls`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`false`"},{"kind":"text","text":",\nnative controls will be visible in fullscreen mode."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A "},{"kind":"code","text":"`Promise`"},{"kind":"text","text":" that is fulfilled with the "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":" of the video once the fullscreen player has finished presenting,\nor rejects if there was an error, or if this was called on an Android device."}]}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}],"name":"Promise","package":"typescript"}}]},{"name":"render","variant":"declaration","kind":2048,"signatures":[{"name":"render","variant":"signature","kind":4096,"type":{"type":"reference","name":"Element","package":"@types/react","qualifiedName":"__global.JSX.Element"},"overwrites":{"type":"reference","name":"React.Component.render"}}],"overwrites":{"type":"reference","name":"React.Component.render"}},{"name":"setOnPlaybackStatusUpdate","variant":"declaration","kind":2048,"signatures":[{"name":"setOnPlaybackStatusUpdate","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"Sets a function to be called regularly with the "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":" of the playback object.\n\n"},{"kind":"code","text":"`onPlaybackStatusUpdate`"},{"kind":"text","text":" will be called whenever a call to the API for this playback object completes\n(such as "},{"kind":"code","text":"`setStatusAsync()`"},{"kind":"text","text":", "},{"kind":"code","text":"`getStatusAsync()`"},{"kind":"text","text":", or "},{"kind":"code","text":"`unloadAsync()`"},{"kind":"text","text":"), nd will also be called at regular intervals\nwhile the media is in the loaded state.\n\nSet "},{"kind":"code","text":"`progressUpdateIntervalMillis`"},{"kind":"text","text":" via "},{"kind":"code","text":"`setStatusAsync()`"},{"kind":"text","text":" or "},{"kind":"code","text":"`setProgressUpdateIntervalAsync()`"},{"kind":"text","text":" to modify\nthe interval with which "},{"kind":"code","text":"`onPlaybackStatusUpdate`"},{"kind":"text","text":" is called while loaded."}]},"parameters":[{"name":"onPlaybackStatusUpdate","variant":"param","kind":32768,"comment":{"summary":[{"kind":"text","text":"A function taking a single parameter "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":"."}]},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"parameters":[{"name":"status","variant":"param","kind":32768,"type":{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}}],"type":{"type":"intrinsic","name":"void"}}]}}]}}],"type":{"type":"intrinsic","name":"void"}}]}],"extendedTypes":[{"type":"reference","typeArguments":[{"type":"reference","name":"VideoProps","package":"expo-av"},{"type":"reference","name":"VideoState","package":"expo-av"}],"name":"Component","package":"@types/react","qualifiedName":"React.Component"}],"implementedTypes":[{"type":"reference","name":"Playback","package":"expo-av"}]},{"name":"ResizeMode","variant":"declaration","kind":8,"children":[{"name":"CONTAIN","variant":"declaration","kind":16,"comment":{"summary":[{"kind":"text","text":"Fit within component bounds while preserving aspect ratio."}]},"type":{"type":"literal","value":"contain"}},{"name":"COVER","variant":"declaration","kind":16,"comment":{"summary":[{"kind":"text","text":"Fill component bounds while preserving aspect ratio."}]},"type":{"type":"literal","value":"cover"}},{"name":"STRETCH","variant":"declaration","kind":16,"comment":{"summary":[{"kind":"text","text":"Stretch to fill component bounds."}]},"type":{"type":"literal","value":"stretch"}}]},{"name":"VideoFullscreenUpdate","variant":"declaration","kind":8,"children":[{"name":"PLAYER_DID_DISMISS","variant":"declaration","kind":16,"comment":{"summary":[{"kind":"text","text":"Describing that the fullscreen player just finished dismissing."}]},"type":{"type":"literal","value":3}},{"name":"PLAYER_DID_PRESENT","variant":"declaration","kind":16,"comment":{"summary":[{"kind":"text","text":"Describing that the fullscreen player just finished presenting."}]},"type":{"type":"literal","value":1}},{"name":"PLAYER_WILL_DISMISS","variant":"declaration","kind":16,"comment":{"summary":[{"kind":"text","text":"Describing that the fullscreen player is about to dismiss."}]},"type":{"type":"literal","value":2}},{"name":"PLAYER_WILL_PRESENT","variant":"declaration","kind":16,"comment":{"summary":[{"kind":"text","text":"Describing that the fullscreen player is about to present."}]},"type":{"type":"literal","value":0}}]},{"name":"VideoFullscreenUpdateEvent","variant":"declaration","kind":2097152,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"fullscreenUpdate","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"The kind of the fullscreen update."}]},"type":{"type":"reference","name":"VideoFullscreenUpdate","package":"expo-av"}},{"name":"status","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":" of the video. See the [AV documentation](./av) for further information."}]},"type":{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}}]}}},{"name":"VideoNaturalSize","variant":"declaration","kind":2097152,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"height","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"A number describing the height in pixels of the video data."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"orientation","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"A string describing the natural orientation of the video data."}]},"type":{"type":"union","types":[{"type":"literal","value":"portrait"},{"type":"literal","value":"landscape"}]}},{"name":"width","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"A number describing the width in pixels of the video data."}]},"type":{"type":"intrinsic","name":"number"}}]}}},{"name":"VideoProps","variant":"declaration","kind":2097152,"comment":{"summary":[{"kind":"text","text":"The Video component props can be divided into following groups:\n- The "},{"kind":"code","text":"`source`"},{"kind":"text","text":" and "},{"kind":"code","text":"`posterSource`"},{"kind":"text","text":" props customize the source of the video content.\n- The "},{"kind":"code","text":"`useNativeControls`"},{"kind":"text","text":", "},{"kind":"code","text":"`resizeMode`"},{"kind":"text","text":", and "},{"kind":"code","text":"`usePoster`"},{"kind":"text","text":" props customize the UI of the component.\n- The "},{"kind":"code","text":"`onPlaybackStatusUpdate`"},{"kind":"text","text":", "},{"kind":"code","text":"`onReadyForDisplay`"},{"kind":"text","text":", and "},{"kind":"code","text":"`onIOSFullscreenUpdate`"},{"kind":"text","text":" props pass information of the state of the "},{"kind":"code","text":"`Video`"},{"kind":"text","text":" component.\n- The "},{"kind":"code","text":"`onLoadStart`"},{"kind":"text","text":", "},{"kind":"code","text":"`onLoad`"},{"kind":"text","text":", and "},{"kind":"code","text":"`onError`"},{"kind":"text","text":" props are also provided for backwards compatibility with "},{"kind":"code","text":"`Image`"},{"kind":"text","text":"\n (but they are redundant with "},{"kind":"code","text":"`onPlaybackStatusUpdate`"},{"kind":"text","text":").\nFinally, the rest of props are available to control the playback of the video, but we recommend that, for finer control, you use the methods\navailable on the "},{"kind":"code","text":"`ref`"},{"kind":"text","text":" described in the [AV documentation](./av)."}]},"type":{"type":"intersection","types":[{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"PosterComponent","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A react-native "},{"kind":"code","text":"`Image`"},{"kind":"text","text":" like component to display the poster image."}]},"type":{"type":"reference","typeArguments":[{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"source","variant":"declaration","kind":1024,"type":{"type":"indexedAccess","indexType":{"type":"literal","value":"source"},"objectType":{"type":"reference","name":"ImageProps","package":"react-native"}}},{"name":"style","variant":"declaration","kind":1024,"type":{"type":"indexedAccess","indexType":{"type":"literal","value":"style"},"objectType":{"type":"reference","name":"ImageProps","package":"react-native"}}}]}}],"name":"React.ComponentType","package":"@types/react"}},{"name":"audioPan","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The desired audio panning value of the audio for this media. This value must be between "},{"kind":"code","text":"`-1.0`"},{"kind":"text","text":" (full left) and "},{"kind":"code","text":"`1.0`"},{"kind":"text","text":" (full right).\nSee the [AV documentation](./av) for more information."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"isLooping","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A boolean describing if the media should play once ("},{"kind":"code","text":"`false`"},{"kind":"text","text":") or loop indefinitely ("},{"kind":"code","text":"`true`"},{"kind":"text","text":").\nSee the [AV documentation](./av) for more information."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"isMuted","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A boolean describing if the audio of this media should be muted.\nSee the [AV documentation](./av) for more information."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"onError","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A function to be called if load or playback have encountered a fatal error. The function is passed a single error message string as a parameter.\nErrors sent here are also set on "},{"kind":"code","text":"`playbackStatus.error`"},{"kind":"text","text":" that are passed into the "},{"kind":"code","text":"`onPlaybackStatusUpdate`"},{"kind":"text","text":" callback."}],"blockTags":[{"tag":"@param","name":"error","content":[]}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"A function to be called if load or playback have encountered a fatal error. The function is passed a single error message string as a parameter.\nErrors sent here are also set on "},{"kind":"code","text":"`playbackStatus.error`"},{"kind":"text","text":" that are passed into the "},{"kind":"code","text":"`onPlaybackStatusUpdate`"},{"kind":"text","text":" callback."}]},"parameters":[{"name":"error","variant":"param","kind":32768,"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onFullscreenUpdate","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A function to be called when the state of the native iOS fullscreen view changes (controlled via the "},{"kind":"code","text":"`presentFullscreenPlayer()`"},{"kind":"text","text":"\nand "},{"kind":"code","text":"`dismissFullscreenPlayer()`"},{"kind":"text","text":" methods on the "},{"kind":"code","text":"`Video`"},{"kind":"text","text":"'s "},{"kind":"code","text":"`ref`"},{"kind":"text","text":")."}],"blockTags":[{"tag":"@param","name":"event","content":[]}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"A function to be called when the state of the native iOS fullscreen view changes (controlled via the "},{"kind":"code","text":"`presentFullscreenPlayer()`"},{"kind":"text","text":"\nand "},{"kind":"code","text":"`dismissFullscreenPlayer()`"},{"kind":"text","text":" methods on the "},{"kind":"code","text":"`Video`"},{"kind":"text","text":"'s "},{"kind":"code","text":"`ref`"},{"kind":"text","text":")."}]},"parameters":[{"name":"event","variant":"param","kind":32768,"type":{"type":"reference","name":"VideoFullscreenUpdateEvent","package":"expo-av"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onLoad","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A function to be called once the video has been loaded. The data is streamed so all of it may not have been fetched yet, just enough to render the first frame.\nThe function is called with the "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":" of the video as its parameter. See the [AV documentation](./av) for further information."}],"blockTags":[{"tag":"@param","name":"status","content":[]}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"A function to be called once the video has been loaded. The data is streamed so all of it may not have been fetched yet, just enough to render the first frame.\nThe function is called with the "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":" of the video as its parameter. See the [AV documentation](./av) for further information."}]},"parameters":[{"name":"status","variant":"param","kind":32768,"type":{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onLoadStart","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A function to be called when the video begins to be loaded into memory. Called without any arguments."}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"A function to be called when the video begins to be loaded into memory. Called without any arguments."}]},"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onPlaybackStatusUpdate","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A function to be called regularly with the "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":" of the video. You will likely be using this a lot.\nSee the [AV documentation](./av) for further information on "},{"kind":"code","text":"`onPlaybackStatusUpdate`"},{"kind":"text","text":", and the interval at which it is called."}],"blockTags":[{"tag":"@param","name":"status","content":[]}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"A function to be called regularly with the "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":" of the video. You will likely be using this a lot.\nSee the [AV documentation](./av) for further information on "},{"kind":"code","text":"`onPlaybackStatusUpdate`"},{"kind":"text","text":", and the interval at which it is called."}]},"parameters":[{"name":"status","variant":"param","kind":32768,"type":{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"onReadyForDisplay","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A function to be called when the video is ready for display. Note that this function gets called whenever the video's natural size changes."}],"blockTags":[{"tag":"@param","name":"event","content":[]}]},"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"signatures":[{"name":"__type","variant":"signature","kind":4096,"comment":{"summary":[{"kind":"text","text":"A function to be called when the video is ready for display. Note that this function gets called whenever the video's natural size changes."}]},"parameters":[{"name":"event","variant":"param","kind":32768,"type":{"type":"reference","name":"VideoReadyForDisplayEvent","package":"expo-av"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"name":"positionMillis","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The desired position of playback in milliseconds.\nSee the [AV documentation](./av) for more information."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"posterSource","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The source of an optional image to display over the video while it is loading. The following forms are supported:\n- A dictionary of the form "},{"kind":"code","text":"`{ uri: 'http://path/to/file' }`"},{"kind":"text","text":" with a network URL pointing to an image file on the web.\n- "},{"kind":"code","text":"`require('path/to/file')`"},{"kind":"text","text":" for an image file asset in the source code directory."}]},"type":{"type":"indexedAccess","indexType":{"type":"literal","value":"source"},"objectType":{"type":"reference","name":"ImageProps","package":"react-native"}}},{"name":"posterStyle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"An optional property to pass custom styles to the poster image."}]},"type":{"type":"indexedAccess","indexType":{"type":"literal","value":"style"},"objectType":{"type":"reference","name":"ImageProps","package":"react-native"}}},{"name":"progressUpdateIntervalMillis","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A number describing the new minimum interval in milliseconds between calls of "},{"kind":"code","text":"`onPlaybackStatusUpdate`"},{"kind":"text","text":".\nSee the [AV documentation](./av) for more information."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"rate","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The desired playback rate of the media. This value must be between "},{"kind":"code","text":"`0.0`"},{"kind":"text","text":" and "},{"kind":"code","text":"`32.0`"},{"kind":"text","text":". Only available on Android API version 23 and later and iOS.\nSee the [AV documentation](./av) for more information."}]},"type":{"type":"intrinsic","name":"number"}},{"name":"resizeMode","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A string describing how the video should be scaled for display in the component view bounds.\nMust be one of the ["},{"kind":"code","text":"`ResizeMode`"},{"kind":"text","text":"](#resizemode) enum values."}]},"type":{"type":"reference","name":"ResizeMode","package":"expo-av"}},{"name":"shouldCorrectPitch","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A boolean describing if we should correct the pitch for a changed rate. If set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":", the pitch of the audio will be corrected\n(so a rate different than "},{"kind":"code","text":"`1.0`"},{"kind":"text","text":" will timestretch the audio).\nSee the [AV documentation](./av) for more information."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"shouldPlay","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A boolean describing if the media is supposed to play. Playback may not start immediately after setting this value for reasons such as buffering.\nMake sure to update your UI based on the "},{"kind":"code","text":"`isPlaying`"},{"kind":"text","text":" and "},{"kind":"code","text":"`isBuffering`"},{"kind":"text","text":" properties of the "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":".\nSee the [AV documentation](./av) for more information."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"source","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The source of the video data to display. If this prop is "},{"kind":"code","text":"`null`"},{"kind":"text","text":", or left blank, the video component will display nothing.\nNote that this can also be set on the "},{"kind":"code","text":"`ref`"},{"kind":"text","text":" via "},{"kind":"code","text":"`loadAsync()`"},{"kind":"text","text":". See the [AV documentation](./av) for further information."}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":"The [Android developer documentation](https://developer.android.com/guide/topics/media/platform/supported-formats#video-formats)\nand the [iOS developer documentation](https://developer.apple.com/documentation/coremedia/1564239-video_codec_constants)\nlists of the video formats supported on Android and iOS."}]}]},"type":{"type":"reference","name":"AVPlaybackSource","package":"expo-av"}},{"name":"status","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A dictionary setting a new "},{"kind":"code","text":"`AVPlaybackStatusToSet`"},{"kind":"text","text":" on the video.\nSee the [AV documentation](./av#default-initial--avplaybackstatustoset) for more information on "},{"kind":"code","text":"`AVPlaybackStatusToSet`"},{"kind":"text","text":"."}]},"type":{"type":"reference","name":"AVPlaybackStatusToSet","package":"expo-av"}},{"name":"useNativeControls","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A boolean which, if set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":", will display native playback controls (such as play and pause) within the "},{"kind":"code","text":"`Video`"},{"kind":"text","text":" component.\nIf you'd prefer to use custom controls, you can write them yourself, and/or check out the ["},{"kind":"code","text":"`VideoPlayer`"},{"kind":"text","text":" component](https://github.com/ihmpavel/expo-video-player)."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"usePoster","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"A boolean which, if set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":", will display an image (whose source is set via the prop "},{"kind":"code","text":"`posterSource`"},{"kind":"text","text":") while the video is loading."}]},"type":{"type":"intrinsic","name":"boolean"}},{"name":"videoStyle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"An optional property to pass custom styles to the internal video component."}]},"type":{"type":"reference","typeArguments":[{"type":"reference","name":"ViewStyle","package":"react-native"}],"name":"StyleProp","package":"react-native"}},{"name":"volume","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The desired volume of the audio for this media. This value must be between "},{"kind":"code","text":"`0.0`"},{"kind":"text","text":" (silence) and "},{"kind":"code","text":"`1.0`"},{"kind":"text","text":" (maximum volume).\nSee the [AV documentation](./av) for more information."}]},"type":{"type":"intrinsic","name":"number"}}]}},{"type":"reference","name":"ViewProps","package":"react-native"}]}},{"name":"VideoReadyForDisplayEvent","variant":"declaration","kind":2097152,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"naturalSize","variant":"declaration","kind":1024,"comment":{"summary":[{"kind":"text","text":"An object containing the basic data about video size."}]},"type":{"type":"reference","name":"VideoNaturalSize","package":"expo-av"}},{"name":"status","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The "},{"kind":"code","text":"`AVPlaybackStatus`"},{"kind":"text","text":" of the video. See the [AV documentation](./av/#playback-status) for further information."}]},"type":{"type":"reference","name":"AVPlaybackStatus","package":"expo-av"}}]}}},{"name":"VideoState","variant":"declaration","kind":2097152,"type":{"type":"reflection","declaration":{"name":"__type","variant":"declaration","kind":65536,"children":[{"name":"showPoster","variant":"declaration","kind":1024,"type":{"type":"intrinsic","name":"boolean"}}]}}}],"packageName":"expo-av"}