AVPlayerViewControllerProviderProps
AVPlayerViewControllerProviderProps =
object
Props for the AVPlayerViewControllerProvider component.
Properties
children
children:
ReactNode|ReactElement<typeofAppleTvPlayerControls>
Child component are not rendered visually, but they can interact with the player instance.
This may include AppleTvPlayerControls for custom tvOS player controls.
onClose()?
optionalonClose: () =>void
Callback invoked when the underlying AVPlayerViewController is closed.
Returns
void
playerConfig?
optionalplayerConfig:PlayerConfiguration
The configuration used to initialize the player instance.
For detailed options, see PlayerConfiguration.