ByUri

class ByUri(uri: Uri, width: Int, height: Int, rotationDegrees: Int) : 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

ByUri
Link copied to clipboard
fun ByUri(uri: Uri, width: Int, height: Int, rotationDegrees: Int = 0)
an identifier for the image 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

height
Link copied to clipboard
val height: Int
the height of the image in pixels.
rotationDegrees
Link copied to clipboard
val rotationDegrees: Int = 0
rotation that should be applied on the image after decoding.
uri
Link copied to clipboard
val uri: Uri
an identifier for the image content.
width
Link copied to clipboard
val width: Int
the width of the image in pixels.