Class MediaMetadata
Metadata for a photo or video.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class MediaMetadata
Constructors
| Improve this Doc View SourceMediaMetadata(Dimensions, GpsCoordinates, Nullable<DateTime>)
Initializes a new instance of the MediaMetadata class.
Declaration
protected MediaMetadata(Dimensions dimensions = null, GpsCoordinates location = null, DateTime? timeTaken = null)
Parameters
Type | Name | Description |
---|---|---|
Dimensions | dimensions | Dimension of the photo/video. |
GpsCoordinates | location | The GPS coordinate of the photo/video. |
System.Nullable<System.DateTime> | timeTaken | The timestamp when the photo/video is taken. |
Properties
| Improve this Doc View SourceAsPhoto
Gets this instance as a PhotoMetadata, or null
.
Declaration
public PhotoMetadata AsPhoto { get; }
Property Value
Type | Description |
---|---|
PhotoMetadata |
AsVideo
Gets this instance as a VideoMetadata, or null
.
Declaration
public VideoMetadata AsVideo { get; }
Property Value
Type | Description |
---|---|
VideoMetadata |
Dimensions
Dimension of the photo/video.
Declaration
public Dimensions Dimensions { get; protected set; }
Property Value
Type | Description |
---|---|
Dimensions |
IsPhoto
Gets a value indicating whether this instance is Photo
Declaration
public bool IsPhoto { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsVideo
Gets a value indicating whether this instance is Video
Declaration
public bool IsVideo { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Location
The GPS coordinate of the photo/video.
Declaration
public GpsCoordinates Location { get; protected set; }
Property Value
Type | Description |
---|---|
GpsCoordinates |
TimeTaken
The timestamp when the photo/video is taken.
Declaration
public DateTime? TimeTaken { get; protected set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |