ByUri

class ByUri(val uri: Uri, val width: Int, val height: Int, val rotationDegrees: Int = 0) : MediaProcessor.Media.Image.Original

An Image specified by Uri.

Parameters

uri

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

width

the width of the image in pixels.

height

the height of the image in pixels.

rotationDegrees

rotation that should be applied on the image after decoding.

Constructors

Link copied to clipboard
fun ByUri(uri: Uri, width: Int, height: Int, rotationDegrees: Int = 0)

Functions

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

Properties

Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
val uri: Uri
Link copied to clipboard
val width: Int