ByUri

fun ByUri(uri: Uri, durationInMillis: Long)

Parameters

uri

an identifier for the video content. There are the URI schemes accepted: file://, asset://, res:// and content://.

durationInMillis

a video duration in milliseconds.