public class PhotoMetadata extends MediaMetadata
| Modifier and Type | Class and Description | 
|---|---|
| static class  | PhotoMetadata.BuilderBuilder for  PhotoMetadata. | 
dimensions, location, timeTaken| Constructor and Description | 
|---|
| PhotoMetadata()Metadata for a photo. | 
| PhotoMetadata(Dimensions dimensions,
             GpsCoordinates location,
             Date timeTaken)Metadata for a photo. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| int | hashCode() | 
| static PhotoMetadata.Builder | newBuilder()Returns a new builder for creating an instance of this class. | 
| String | toString() | 
| String | toStringMultiline()Returns a String representation of this object formatted for easier
 readability. | 
getDimensions, getLocation, getTimeTakenpublic PhotoMetadata(Dimensions dimensions, GpsCoordinates location, Date timeTaken)
 Use newBuilder to create instances of this class without
 specifying values for all optional fields. 
dimensions - Dimension of the photo/video.location - The GPS coordinate of the photo/video.timeTaken - The timestamp when the photo/video is taken.public PhotoMetadata()
The default values for unset fields will be used.
public static PhotoMetadata.Builder newBuilder()
public int hashCode()
hashCode in class MediaMetadatapublic boolean equals(Object obj)
equals in class MediaMetadatapublic String toString()
toString in class MediaMetadatapublic String toStringMultiline()
The returned String may contain newlines.
toStringMultiline in class MediaMetadata