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 Media
Declaration
protected MediaMetadata(Dimensions dimensions = null, GpsCoordinates location = null, DateTime? timeTaken = null)
Parameters
Type | Name | Description |
---|---|---|
Dimensions | dimensions | Dimension of the photo/video. |
Gps |
location | The GPS coordinate of the photo/video. |
System. |
timeTaken | The timestamp when the photo/video is taken. |
Properties
| Improve this Doc View SourceAsPhoto
Gets this instance as a Photonull
.
Declaration
public PhotoMetadata AsPhoto { get; }
Property Value
Type | Description |
---|---|
Photo |
AsVideo
Gets this instance as a Videonull
.
Declaration
public VideoMetadata AsVideo { get; }
Property Value
Type | Description |
---|---|
Video |
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. |
IsVideo
Gets a value indicating whether this instance is Video
Declaration
public bool IsVideo { get; }
Property Value
Type | Description |
---|---|
System. |
Location
The GPS coordinate of the photo/video.
Declaration
public GpsCoordinates Location { get; protected set; }
Property Value
Type | Description |
---|---|
Gps |
TimeTaken
The timestamp when the photo/video is taken.
Declaration
public DateTime? TimeTaken { get; protected set; }
Property Value
Type | Description |
---|---|
System. |