Stay organized with collections Save and categorize content based on your preferences.

ImageCapture.Metadata

public final class ImageCapture.Metadata


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

Summary

Public constructors

Public methods

@Nullable Location

Gets the geographic location of the capture.

boolean

Gets left-right mirroring of the capture.

boolean

Gets upside-down mirroring of the capture.

void

Sets the geographic location of the capture.

void
setReversedHorizontal(boolean isReversedHorizontal)

Sets left-right mirroring of the capture.

void
setReversedVertical(boolean isReversedVertical)

Sets upside-down mirroring of the capture.

@NonNull String

Public constructors

Metadata

public Metadata()

Public methods

getLocation

public @Nullable Location getLocation()

Gets the geographic location of the capture.

Returns
@Nullable Location

the geographic location.

isReversedHorizontal

public boolean isReversedHorizontal()

Gets left-right mirroring of the capture.

Returns
boolean

true if the capture is left-right mirrored.

isReversedVertical

public boolean isReversedVertical()

Gets upside-down mirroring of the capture.

Returns
boolean

true if the capture is upside-down.

setLocation

public void setLocation(@Nullable Location location)

Sets the geographic location of the capture.

Parameters
@Nullable Location location

the geographic location.

setReversedHorizontal

public void setReversedHorizontal(boolean isReversedHorizontal)

Sets left-right mirroring of the capture.

Parameters
boolean isReversedHorizontal

true if the capture is left-right mirrored.

setReversedVertical

public void setReversedVertical(boolean isReversedVertical)

Sets upside-down mirroring of the capture.

Parameters
boolean isReversedVertical

true if the capture is upside-down.

toString

public @NonNull String toString()