mediaSourceFromLocalFile

actual fun mediaSourceFromLocalFile(fileName: String, fileType: String): MediaSource.Local

Attempts to create a MediaSource from a file name

Return

the MediaSource.Local associated with the file or null if none could be created

Parameters

fileName

the name of the media source file

fileType

the type of the media source file

actual fun mediaSourceFromLocalFile(fileName: String, fileType: String): MediaSource.Local

Attempts to create a MediaSource from a file name

Return

the MediaSource.Local associated with the file or null if none could be created

Parameters

fileName

the name of the media source file

fileType

the type of the media source file

expect fun mediaSourceFromLocalFile(fileName: String, fileType: String): MediaSource.Local

Attempts to create a MediaSource from a file name

Return

the MediaSource.Local associated with the file or null if none could be created

Parameters

fileName

the name of the media source file

fileType

the type of the media source file

actual fun mediaSourceFromLocalFile(fileName: String, fileType: String): MediaSource.Local

Attempts to create a MediaSource from a file name

Return

the MediaSource.Local associated with the file or null if none could be created

Parameters

fileName

the name of the media source file

fileType

the type of the media source file