Modifier and Type | Class and Description |
---|---|
static class |
File.ImageMediaMetadata.Location
Geographic location information stored in the image.
|
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
File.ImageMediaMetadata() |
Modifier and Type | Method and Description |
---|---|
File.ImageMediaMetadata |
clone() |
Float |
getAperture()
The aperture used to create the photo (f-number).
|
String |
getCameraMake()
The make of the camera used to create the photo.
|
String |
getCameraModel()
The model of the camera used to create the photo.
|
String |
getColorSpace()
The color space of the photo.
|
String |
getDate()
The date and time the photo was taken (EXIF format timestamp).
|
Float |
getExposureBias()
The exposure bias of the photo (APEX value).
|
String |
getExposureMode()
The exposure mode used to create the photo.
|
Float |
getExposureTime()
The length of the exposure, in seconds.
|
Boolean |
getFlashUsed()
Whether a flash was used to create the photo.
|
Float |
getFocalLength()
The focal length used to create the photo, in millimeters.
|
Integer |
getHeight()
The height of the image in pixels.
|
Integer |
getIsoSpeed()
The ISO speed used to create the photo.
|
String |
getLens()
The lens used to create the photo.
|
File.ImageMediaMetadata.Location |
getLocation()
Geographic location information stored in the image.
|
Float |
getMaxApertureValue()
The smallest f-number of the lens at the focal length used to create the photo (APEX value).
|
String |
getMeteringMode()
The metering mode used to create the photo.
|
Integer |
getRotation()
The rotation in clockwise degrees from the image's original orientation.
|
String |
getSensor()
The type of sensor used to create the photo.
|
Integer |
getSubjectDistance()
The distance to the subject of the photo, in meters.
|
String |
getWhiteBalance()
The white balance mode used to create the photo.
|
Integer |
getWidth()
The width of the image in pixels.
|
File.ImageMediaMetadata |
set(String fieldName,
Object value) |
File.ImageMediaMetadata |
setAperture(Float aperture)
The aperture used to create the photo (f-number).
|
File.ImageMediaMetadata |
setCameraMake(String cameraMake)
The make of the camera used to create the photo.
|
File.ImageMediaMetadata |
setCameraModel(String cameraModel)
The model of the camera used to create the photo.
|
File.ImageMediaMetadata |
setColorSpace(String colorSpace)
The color space of the photo.
|
File.ImageMediaMetadata |
setDate(String date)
The date and time the photo was taken (EXIF format timestamp).
|
File.ImageMediaMetadata |
setExposureBias(Float exposureBias)
The exposure bias of the photo (APEX value).
|
File.ImageMediaMetadata |
setExposureMode(String exposureMode)
The exposure mode used to create the photo.
|
File.ImageMediaMetadata |
setExposureTime(Float exposureTime)
The length of the exposure, in seconds.
|
File.ImageMediaMetadata |
setFlashUsed(Boolean flashUsed)
Whether a flash was used to create the photo.
|
File.ImageMediaMetadata |
setFocalLength(Float focalLength)
The focal length used to create the photo, in millimeters.
|
File.ImageMediaMetadata |
setHeight(Integer height)
The height of the image in pixels.
|
File.ImageMediaMetadata |
setIsoSpeed(Integer isoSpeed)
The ISO speed used to create the photo.
|
File.ImageMediaMetadata |
setLens(String lens)
The lens used to create the photo.
|
File.ImageMediaMetadata |
setLocation(File.ImageMediaMetadata.Location location)
Geographic location information stored in the image.
|
File.ImageMediaMetadata |
setMaxApertureValue(Float maxApertureValue)
The smallest f-number of the lens at the focal length used to create the photo (APEX value).
|
File.ImageMediaMetadata |
setMeteringMode(String meteringMode)
The metering mode used to create the photo.
|
File.ImageMediaMetadata |
setRotation(Integer rotation)
The rotation in clockwise degrees from the image's original orientation.
|
File.ImageMediaMetadata |
setSensor(String sensor)
The type of sensor used to create the photo.
|
File.ImageMediaMetadata |
setSubjectDistance(Integer subjectDistance)
The distance to the subject of the photo, in meters.
|
File.ImageMediaMetadata |
setWhiteBalance(String whiteBalance)
The white balance mode used to create the photo.
|
File.ImageMediaMetadata |
setWidth(Integer width)
The width of the image in pixels.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Float getAperture()
null
for nonepublic File.ImageMediaMetadata setAperture(Float aperture)
aperture
- aperture or null
for nonepublic String getCameraMake()
null
for nonepublic File.ImageMediaMetadata setCameraMake(String cameraMake)
cameraMake
- cameraMake or null
for nonepublic String getCameraModel()
null
for nonepublic File.ImageMediaMetadata setCameraModel(String cameraModel)
cameraModel
- cameraModel or null
for nonepublic String getColorSpace()
null
for nonepublic File.ImageMediaMetadata setColorSpace(String colorSpace)
colorSpace
- colorSpace or null
for nonepublic String getDate()
null
for nonepublic File.ImageMediaMetadata setDate(String date)
date
- date or null
for nonepublic Float getExposureBias()
null
for nonepublic File.ImageMediaMetadata setExposureBias(Float exposureBias)
exposureBias
- exposureBias or null
for nonepublic String getExposureMode()
null
for nonepublic File.ImageMediaMetadata setExposureMode(String exposureMode)
exposureMode
- exposureMode or null
for nonepublic Float getExposureTime()
null
for nonepublic File.ImageMediaMetadata setExposureTime(Float exposureTime)
exposureTime
- exposureTime or null
for nonepublic Boolean getFlashUsed()
null
for nonepublic File.ImageMediaMetadata setFlashUsed(Boolean flashUsed)
flashUsed
- flashUsed or null
for nonepublic Float getFocalLength()
null
for nonepublic File.ImageMediaMetadata setFocalLength(Float focalLength)
focalLength
- focalLength or null
for nonepublic Integer getHeight()
null
for nonepublic File.ImageMediaMetadata setHeight(Integer height)
height
- height or null
for nonepublic Integer getIsoSpeed()
null
for nonepublic File.ImageMediaMetadata setIsoSpeed(Integer isoSpeed)
isoSpeed
- isoSpeed or null
for nonepublic String getLens()
null
for nonepublic File.ImageMediaMetadata setLens(String lens)
lens
- lens or null
for nonepublic File.ImageMediaMetadata.Location getLocation()
null
for nonepublic File.ImageMediaMetadata setLocation(File.ImageMediaMetadata.Location location)
location
- location or null
for nonepublic Float getMaxApertureValue()
null
for nonepublic File.ImageMediaMetadata setMaxApertureValue(Float maxApertureValue)
maxApertureValue
- maxApertureValue or null
for nonepublic String getMeteringMode()
null
for nonepublic File.ImageMediaMetadata setMeteringMode(String meteringMode)
meteringMode
- meteringMode or null
for nonepublic Integer getRotation()
null
for nonepublic File.ImageMediaMetadata setRotation(Integer rotation)
rotation
- rotation or null
for nonepublic String getSensor()
null
for nonepublic File.ImageMediaMetadata setSensor(String sensor)
sensor
- sensor or null
for nonepublic Integer getSubjectDistance()
null
for nonepublic File.ImageMediaMetadata setSubjectDistance(Integer subjectDistance)
subjectDistance
- subjectDistance or null
for nonepublic String getWhiteBalance()
null
for nonepublic File.ImageMediaMetadata setWhiteBalance(String whiteBalance)
whiteBalance
- whiteBalance or null
for nonepublic Integer getWidth()
null
for nonepublic File.ImageMediaMetadata setWidth(Integer width)
width
- width or null
for nonepublic File.ImageMediaMetadata set(String fieldName, Object value)
set
in class GenericJson
public File.ImageMediaMetadata clone()
clone
in class GenericJson