ImageCapture.Metadata

class ImageCapture.Metadata


Holder class for metadata that will be saved with captured images.

Summary

Public constructors

Public functions

Location?

Gets the geographic location of the capture.

Boolean

Gets left-right mirroring of the capture.

Boolean

Gets upside-down mirroring of the capture.

Unit
setLocation(location: Location?)

Sets the geographic location of the capture.

Unit
setReversedHorizontal(isReversedHorizontal: Boolean)

Sets left-right mirroring of the capture.

Unit
setReversedVertical(isReversedVertical: Boolean)

Sets upside-down mirroring of the capture.

String

Public constructors

Metadata

Added in 1.0.0
Metadata()

Public functions

getLocation

Added in 1.0.0
fun getLocation(): Location?

Gets the geographic location of the capture.

Returns
Location?

the geographic location.

isReversedHorizontal

Added in 1.0.0
fun isReversedHorizontal(): Boolean

Gets left-right mirroring of the capture.

Returns
Boolean

true if the capture is left-right mirrored.

isReversedVertical

Added in 1.0.0
fun isReversedVertical(): Boolean

Gets upside-down mirroring of the capture.

Returns
Boolean

true if the capture is upside-down.

setLocation

Added in 1.0.0
fun setLocation(location: Location?): Unit

Sets the geographic location of the capture.

Parameters
location: Location?

the geographic location.

setReversedHorizontal

Added in 1.0.0
fun setReversedHorizontal(isReversedHorizontal: Boolean): Unit

Sets left-right mirroring of the capture.

Parameters
isReversedHorizontal: Boolean

true if the capture is left-right mirrored.

setReversedVertical

Added in 1.0.0
fun setReversedVertical(isReversedVertical: Boolean): Unit

Sets upside-down mirroring of the capture.

Parameters
isReversedVertical: Boolean

true if the capture is upside-down.

toString

fun toString(): String