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

Added in 1.0.0
public Metadata()

Public methods

getLocation

Added in 1.0.0
public @Nullable Location getLocation()

Gets the geographic location of the capture.

Returns
@Nullable Location

the geographic location.

isReversedHorizontal

Added in 1.0.0
public boolean isReversedHorizontal()

Gets left-right mirroring of the capture.

Returns
boolean

true if the capture is left-right mirrored.

isReversedVertical

Added in 1.0.0
public boolean isReversedVertical()

Gets upside-down mirroring of the capture.

Returns
boolean

true if the capture is upside-down.

setLocation

Added in 1.0.0
public void setLocation(@Nullable Location location)

Sets the geographic location of the capture.

Parameters
@Nullable Location location

the geographic location.

setReversedHorizontal

Added in 1.0.0
public void setReversedHorizontal(boolean isReversedHorizontal)

Sets left-right mirroring of the capture.

Parameters
boolean isReversedHorizontal

true if the capture is left-right mirrored.

setReversedVertical

Added in 1.0.0
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()