AstroPlayer

expect constructor(nativeMediaPlayer: NativeMediaPLayer)

Creates a new AstroPlayer instance.

Parameters

nativeMediaPlayer

An implementation of the underlying native media player that AstroPlayer delegates playback functionality to. The specific type of NativeMediaPLayer will vary depending on the platform and the AstroPlayer implementation.