\Google\Photos\Library\V1Photo

Metadata that is specific to a photo, such as, ISO, focal length and exposure time. Some of these fields may be null or not included.

Generated from protobuf message google.photos.library.v1.Photo

Summary

Methods
Properties
Constants
__construct()
getCameraMake()
setCameraMake()
getCameraModel()
setCameraModel()
getFocalLength()
setFocalLength()
getApertureFNumber()
setApertureFNumber()
getIsoEquivalent()
setIsoEquivalent()
getExposureTime()
setExposureTime()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$camera_make
$camera_model
$focal_length
$aperture_f_number
$iso_equivalent
$exposure_time
N/A

Properties

$camera_make

$camera_make : 

Brand of the camera with which the photo was taken.

Generated from protobuf field string camera_make = 1;

Type

$camera_model

$camera_model : 

Model of the camera with which the photo was taken.

Generated from protobuf field string camera_model = 2;

Type

$focal_length

$focal_length : 

Focal length of the camera lens with which the photo was taken.

Generated from protobuf field float focal_length = 3;

Type

$aperture_f_number

$aperture_f_number : 

Aperture f number of the camera lens with which the photo was taken.

Generated from protobuf field float aperture_f_number = 4;

Type

$iso_equivalent

$iso_equivalent : 

ISO of the camera with which the photo was taken.

Generated from protobuf field int32 iso_equivalent = 5;

Type

$exposure_time

$exposure_time : 

Exposure time of the camera aperture when the photo was taken.

Generated from protobuf field .google.protobuf.Duration exposure_time = 6;

Type

Methods

__construct()

__construct(array  $data = NULL) 

Constructor.

Parameters

array $data

{ Optional. Data for populating the Message object.

@type string $camera_make
      Brand of the camera with which the photo was taken.
@type string $camera_model
      Model of the camera with which the photo was taken.
@type float $focal_length
      Focal length of the camera lens with which the photo was taken.
@type float $aperture_f_number
      Aperture f number of the camera lens with which the photo was taken.
@type int $iso_equivalent
      ISO of the camera with which the photo was taken.
@type \Google\Protobuf\Duration $exposure_time
      Exposure time of the camera aperture when the photo was taken.

}

getCameraMake()

getCameraMake() : string

Brand of the camera with which the photo was taken.

Generated from protobuf field string camera_make = 1;

Returns

string

setCameraMake()

setCameraMake(string  $var) : $this

Brand of the camera with which the photo was taken.

Generated from protobuf field string camera_make = 1;

Parameters

string $var

Returns

$this

getCameraModel()

getCameraModel() : string

Model of the camera with which the photo was taken.

Generated from protobuf field string camera_model = 2;

Returns

string

setCameraModel()

setCameraModel(string  $var) : $this

Model of the camera with which the photo was taken.

Generated from protobuf field string camera_model = 2;

Parameters

string $var

Returns

$this

getFocalLength()

getFocalLength() : float

Focal length of the camera lens with which the photo was taken.

Generated from protobuf field float focal_length = 3;

Returns

float

setFocalLength()

setFocalLength(float  $var) : $this

Focal length of the camera lens with which the photo was taken.

Generated from protobuf field float focal_length = 3;

Parameters

float $var

Returns

$this

getApertureFNumber()

getApertureFNumber() : float

Aperture f number of the camera lens with which the photo was taken.

Generated from protobuf field float aperture_f_number = 4;

Returns

float

setApertureFNumber()

setApertureFNumber(float  $var) : $this

Aperture f number of the camera lens with which the photo was taken.

Generated from protobuf field float aperture_f_number = 4;

Parameters

float $var

Returns

$this

getIsoEquivalent()

getIsoEquivalent() : integer

ISO of the camera with which the photo was taken.

Generated from protobuf field int32 iso_equivalent = 5;

Returns

integer

setIsoEquivalent()

setIsoEquivalent(integer  $var) : $this

ISO of the camera with which the photo was taken.

Generated from protobuf field int32 iso_equivalent = 5;

Parameters

integer $var

Returns

$this

getExposureTime()

getExposureTime() : \Google\Protobuf\Duration

Exposure time of the camera aperture when the photo was taken.

Generated from protobuf field .google.protobuf.Duration exposure_time = 6;

Returns

\Google\Protobuf\Duration

setExposureTime()

setExposureTime(\Google\Protobuf\Duration  $var) : $this

Exposure time of the camera aperture when the photo was taken.

Generated from protobuf field .google.protobuf.Duration exposure_time = 6;

Parameters

\Google\Protobuf\Duration $var

Returns

$this