ImageCapture.Metadata
class ImageCapture.Metadata
Holder class for metadata that will be saved with captured images.
Summary
Public constructors |
|---|
Metadata() |
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 |
toString() |
Public constructors
Public functions
getLocation
fun getLocation(): Location?
Gets the geographic location of the capture.
| Returns | |
|---|---|
Location? |
the geographic location. |
isReversedHorizontal
fun isReversedHorizontal(): Boolean
Gets left-right mirroring of the capture.
| Returns | |
|---|---|
Boolean |
true if the capture is left-right mirrored. |
isReversedVertical
fun isReversedVertical(): Boolean
Gets upside-down mirroring of the capture.
| Returns | |
|---|---|
Boolean |
true if the capture is upside-down. |
setLocation
fun setLocation(location: Location?): Unit
Sets the geographic location of the capture.
| Parameters | |
|---|---|
location: Location? |
the geographic location. |
setReversedHorizontal
fun setReversedHorizontal(isReversedHorizontal: Boolean): Unit
Sets left-right mirroring of the capture.
| Parameters | |
|---|---|
isReversedHorizontal: Boolean |
true if the capture is left-right mirrored. |
setReversedVertical
fun setReversedVertical(isReversedVertical: Boolean): Unit
Sets upside-down mirroring of the capture.
| Parameters | |
|---|---|
isReversedVertical: Boolean |
true if the capture is upside-down. |