All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.drive.model.File.ImageMediaMetadata.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240903-2.0.0
Show newest version






File.ImageMediaMetadata (Drive API v2-rev20180830-1.26.0)












com.google.api.services.drive.model

Class File.ImageMediaMetadata

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>
    Enclosing class:
    File


    public static final class File.ImageMediaMetadata
    extends com.google.api.client.json.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.
    • Constructor Detail

      • ImageMediaMetadata

        public ImageMediaMetadata()
    • Method Detail

      • getAperture

        public Float getAperture()
        The aperture used to create the photo (f-number).
        Returns:
        value or null for none
      • setAperture

        public File.ImageMediaMetadata setAperture(Float aperture)
        The aperture used to create the photo (f-number).
        Parameters:
        aperture - aperture or null for none
      • getCameraMake

        public String getCameraMake()
        The make of the camera used to create the photo.
        Returns:
        value or null for none
      • setCameraMake

        public File.ImageMediaMetadata setCameraMake(String cameraMake)
        The make of the camera used to create the photo.
        Parameters:
        cameraMake - cameraMake or null for none
      • getCameraModel

        public String getCameraModel()
        The model of the camera used to create the photo.
        Returns:
        value or null for none
      • setCameraModel

        public File.ImageMediaMetadata setCameraModel(String cameraModel)
        The model of the camera used to create the photo.
        Parameters:
        cameraModel - cameraModel or null for none
      • getColorSpace

        public String getColorSpace()
        The color space of the photo.
        Returns:
        value or null for none
      • setColorSpace

        public File.ImageMediaMetadata setColorSpace(String colorSpace)
        The color space of the photo.
        Parameters:
        colorSpace - colorSpace or null for none
      • getDate

        public String getDate()
        The date and time the photo was taken (EXIF format timestamp).
        Returns:
        value or null for none
      • setDate

        public File.ImageMediaMetadata setDate(String date)
        The date and time the photo was taken (EXIF format timestamp).
        Parameters:
        date - date or null for none
      • getExposureBias

        public Float getExposureBias()
        The exposure bias of the photo (APEX value).
        Returns:
        value or null for none
      • setExposureBias

        public File.ImageMediaMetadata setExposureBias(Float exposureBias)
        The exposure bias of the photo (APEX value).
        Parameters:
        exposureBias - exposureBias or null for none
      • getExposureMode

        public String getExposureMode()
        The exposure mode used to create the photo.
        Returns:
        value or null for none
      • setExposureMode

        public File.ImageMediaMetadata setExposureMode(String exposureMode)
        The exposure mode used to create the photo.
        Parameters:
        exposureMode - exposureMode or null for none
      • getExposureTime

        public Float getExposureTime()
        The length of the exposure, in seconds.
        Returns:
        value or null for none
      • setExposureTime

        public File.ImageMediaMetadata setExposureTime(Float exposureTime)
        The length of the exposure, in seconds.
        Parameters:
        exposureTime - exposureTime or null for none
      • getFlashUsed

        public Boolean getFlashUsed()
        Whether a flash was used to create the photo.
        Returns:
        value or null for none
      • setFlashUsed

        public File.ImageMediaMetadata setFlashUsed(Boolean flashUsed)
        Whether a flash was used to create the photo.
        Parameters:
        flashUsed - flashUsed or null for none
      • getFocalLength

        public Float getFocalLength()
        The focal length used to create the photo, in millimeters.
        Returns:
        value or null for none
      • setFocalLength

        public File.ImageMediaMetadata setFocalLength(Float focalLength)
        The focal length used to create the photo, in millimeters.
        Parameters:
        focalLength - focalLength or null for none
      • getHeight

        public Integer getHeight()
        The height of the image in pixels.
        Returns:
        value or null for none
      • setHeight

        public File.ImageMediaMetadata setHeight(Integer height)
        The height of the image in pixels.
        Parameters:
        height - height or null for none
      • getIsoSpeed

        public Integer getIsoSpeed()
        The ISO speed used to create the photo.
        Returns:
        value or null for none
      • setIsoSpeed

        public File.ImageMediaMetadata setIsoSpeed(Integer isoSpeed)
        The ISO speed used to create the photo.
        Parameters:
        isoSpeed - isoSpeed or null for none
      • getLens

        public String getLens()
        The lens used to create the photo.
        Returns:
        value or null for none
      • getMaxApertureValue

        public Float getMaxApertureValue()
        The smallest f-number of the lens at the focal length used to create the photo (APEX value).
        Returns:
        value or null for none
      • setMaxApertureValue

        public File.ImageMediaMetadata setMaxApertureValue(Float maxApertureValue)
        The smallest f-number of the lens at the focal length used to create the photo (APEX value).
        Parameters:
        maxApertureValue - maxApertureValue or null for none
      • getMeteringMode

        public String getMeteringMode()
        The metering mode used to create the photo.
        Returns:
        value or null for none
      • setMeteringMode

        public File.ImageMediaMetadata setMeteringMode(String meteringMode)
        The metering mode used to create the photo.
        Parameters:
        meteringMode - meteringMode or null for none
      • getRotation

        public Integer getRotation()
        The rotation in clockwise degrees from the image's original orientation.
        Returns:
        value or null for none
      • setRotation

        public File.ImageMediaMetadata setRotation(Integer rotation)
        The rotation in clockwise degrees from the image's original orientation.
        Parameters:
        rotation - rotation or null for none
      • getSensor

        public String getSensor()
        The type of sensor used to create the photo.
        Returns:
        value or null for none
      • setSensor

        public File.ImageMediaMetadata setSensor(String sensor)
        The type of sensor used to create the photo.
        Parameters:
        sensor - sensor or null for none
      • getSubjectDistance

        public Integer getSubjectDistance()
        The distance to the subject of the photo, in meters.
        Returns:
        value or null for none
      • setSubjectDistance

        public File.ImageMediaMetadata setSubjectDistance(Integer subjectDistance)
        The distance to the subject of the photo, in meters.
        Parameters:
        subjectDistance - subjectDistance or null for none
      • getWhiteBalance

        public String getWhiteBalance()
        The white balance mode used to create the photo.
        Returns:
        value or null for none
      • setWhiteBalance

        public File.ImageMediaMetadata setWhiteBalance(String whiteBalance)
        The white balance mode used to create the photo.
        Parameters:
        whiteBalance - whiteBalance or null for none
      • getWidth

        public Integer getWidth()
        The width of the image in pixels.
        Returns:
        value or null for none
      • clone

        public File.ImageMediaMetadata clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2018 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy