Drive API v2 (revision 47)



com.google.api.services.drive.model
Class File.ImageMediaMetadata

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.drive.model.File.ImageMediaMetadata
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
Enclosing class:
File

public static final class File.ImageMediaMetadata
extends GenericJson

Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.


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

Constructor Detail

File.ImageMediaMetadata

public File.ImageMediaMetadata()
Method Detail

getAperture

public java.lang.Float getAperture()
The aperture used to create the photo (f-number). The value returned may be null.


setAperture

public File.ImageMediaMetadata setAperture(java.lang.Float aperture)
The aperture used to create the photo (f-number). The value set may be null.


getCameraMake

public java.lang.String getCameraMake()
The make of the camera used to create the photo. The value returned may be null.


setCameraMake

public File.ImageMediaMetadata setCameraMake(java.lang.String cameraMake)
The make of the camera used to create the photo. The value set may be null.


getCameraModel

public java.lang.String getCameraModel()
The model of the camera used to create the photo. The value returned may be null.


setCameraModel

public File.ImageMediaMetadata setCameraModel(java.lang.String cameraModel)
The model of the camera used to create the photo. The value set may be null.


getColorSpace

public java.lang.String getColorSpace()
The color space of the photo. The value returned may be null.


setColorSpace

public File.ImageMediaMetadata setColorSpace(java.lang.String colorSpace)
The color space of the photo. The value set may be null.


getDate

public java.lang.String getDate()
The date and time the photo was taken (EXIF format timestamp). The value returned may be null.


setDate

public File.ImageMediaMetadata setDate(java.lang.String date)
The date and time the photo was taken (EXIF format timestamp). The value set may be null.


getExposureBias

public java.lang.Float getExposureBias()
The exposure bias of the photo (APEX value). The value returned may be null.


setExposureBias

public File.ImageMediaMetadata setExposureBias(java.lang.Float exposureBias)
The exposure bias of the photo (APEX value). The value set may be null.


getExposureMode

public java.lang.String getExposureMode()
The exposure mode used to create the photo. The value returned may be null.


setExposureMode

public File.ImageMediaMetadata setExposureMode(java.lang.String exposureMode)
The exposure mode used to create the photo. The value set may be null.


getExposureTime

public java.lang.Float getExposureTime()
The length of the exposure, in seconds. The value returned may be null.


setExposureTime

public File.ImageMediaMetadata setExposureTime(java.lang.Float exposureTime)
The length of the exposure, in seconds. The value set may be null.


getFlashUsed

public java.lang.Boolean getFlashUsed()
Whether a flash was used to create the photo. The value returned may be null.


setFlashUsed

public File.ImageMediaMetadata setFlashUsed(java.lang.Boolean flashUsed)
Whether a flash was used to create the photo. The value set may be null.


getFocalLength

public java.lang.Float getFocalLength()
The focal length used to create the photo, in millimeters. The value returned may be null.


setFocalLength

public File.ImageMediaMetadata setFocalLength(java.lang.Float focalLength)
The focal length used to create the photo, in millimeters. The value set may be null.


getHeight

public java.lang.Integer getHeight()
The height of the image in pixels. The value returned may be null.


setHeight

public File.ImageMediaMetadata setHeight(java.lang.Integer height)
The height of the image in pixels. The value set may be null.


getIsoSpeed

public java.lang.Integer getIsoSpeed()
The ISO speed used to create the photo. The value returned may be null.


setIsoSpeed

public File.ImageMediaMetadata setIsoSpeed(java.lang.Integer isoSpeed)
The ISO speed used to create the photo. The value set may be null.


getLens

public java.lang.String getLens()
The lens used to create the photo. The value returned may be null.


setLens

public File.ImageMediaMetadata setLens(java.lang.String lens)
The lens used to create the photo. The value set may be null.


getLocation

public File.ImageMediaMetadata.Location getLocation()
Geographic location information stored in the image. The value returned may be null.


setLocation

public File.ImageMediaMetadata setLocation(File.ImageMediaMetadata.Location location)
Geographic location information stored in the image. The value set may be null.


getMaxApertureValue

public java.lang.Float getMaxApertureValue()
The smallest f-number of the lens at the focal length used to create the photo (APEX value). The value returned may be null.


setMaxApertureValue

public File.ImageMediaMetadata setMaxApertureValue(java.lang.Float maxApertureValue)
The smallest f-number of the lens at the focal length used to create the photo (APEX value). The value set may be null.


getMeteringMode

public java.lang.String getMeteringMode()
The metering mode used to create the photo. The value returned may be null.


setMeteringMode

public File.ImageMediaMetadata setMeteringMode(java.lang.String meteringMode)
The metering mode used to create the photo. The value set may be null.


getRotation

public java.lang.Integer getRotation()
The rotation in clockwise degrees from the image's original orientation. The value returned may be null.


setRotation

public File.ImageMediaMetadata setRotation(java.lang.Integer rotation)
The rotation in clockwise degrees from the image's original orientation. The value set may be null.


getSensor

public java.lang.String getSensor()
The type of sensor used to create the photo. The value returned may be null.


setSensor

public File.ImageMediaMetadata setSensor(java.lang.String sensor)
The type of sensor used to create the photo. The value set may be null.


getSubjectDistance

public java.lang.Integer getSubjectDistance()
The distance to the subject of the photo, in meters. The value returned may be null.


setSubjectDistance

public File.ImageMediaMetadata setSubjectDistance(java.lang.Integer subjectDistance)
The distance to the subject of the photo, in meters. The value set may be null.


getWhiteBalance

public java.lang.String getWhiteBalance()
The white balance mode used to create the photo. The value returned may be null.


setWhiteBalance

public File.ImageMediaMetadata setWhiteBalance(java.lang.String whiteBalance)
The white balance mode used to create the photo. The value set may be null.


getWidth

public java.lang.Integer getWidth()
The width of the image in pixels. The value returned may be null.


setWidth

public File.ImageMediaMetadata setWidth(java.lang.Integer width)
The width of the image in pixels. The value set may be null.