DBFILESPhotoMetadata
Objective-C
@interface DBFILESPhotoMetadata
    : DBFILESMediaMetadata <DBSerializable, NSCopying>
                Swift
class DBFILESPhotoMetadata : DBFILESMediaMetadata, DBSerializable, NSCopying
                The PhotoMetadata struct.
Metadata for a photo.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
- 
                  
                  
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithDimensions:(nullable DBFILESDimensions *)dimensions location:(nullable DBFILESGpsCoordinates *)location timeTaken:(nullable NSDate *)timeTaken;Swift
init(dimensions: DBFILESDimensions?, location: DBFILESGpsCoordinates?, timeTaken: Date?)Parameters
dimensionsDimension of the photo/video.
locationThe GPS coordinate of the photo/video.
timeTakenThe timestamp when the photo/video is taken.
Return Value
An initialized instance.
 - 
                  
                  
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initDefault;Swift
init(default: ())Return Value
An initialized instance.
 
View on GitHub
        DBFILESPhotoMetadata Class Reference