openFile

actual fun openFile(file: PlatformFile, initializeplayerState: InitialPlayerState)
expect fun openFile(file: PlatformFile, initializeplayerState: InitialPlayerState = InitialPlayerState.PLAY)
actual fun openFile(file: PlatformFile, initializeplayerState: InitialPlayerState)
actual open fun openFile(file: PlatformFile, initializeplayerState: InitialPlayerState)
actual fun openFile(file: PlatformFile, initializeplayerState: <Error class: unknown class>)

Opens a media file.

Parameters

file

The file to open

initializeplayerState

Controls whether playback should start automatically after opening