ByUri

class ByUri(uri: Uri, durationInMillis: Long) : MediaProcessor.Media.Video.Original

A Video specified by Uri.

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.

Constructors

ByUri
Link copied to clipboard
fun ByUri(uri: Uri, durationInMillis: Long)
an identifier for the video content.

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

durationInMillis
Link copied to clipboard
val durationInMillis: Long
a video duration in milliseconds.
uri
Link copied to clipboard
val uri: Uri
an identifier for the video content.