Dropbox .NET SDK
Show / Hide Table of Contents

Class MediaMetadata

Metadata for a photo or video.

Inheritance
object
MediaMetadata
PhotoMetadata
VideoMetadata
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class MediaMetadata

Constructors

View Source

MediaMetadata(Dimensions, GpsCoordinates, 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.

DateTime? timeTaken

The timestamp when the photo/video is taken.

Properties

View Source

AsPhoto

Gets this instance as a PhotoMetadata, or null.

Declaration
public PhotoMetadata AsPhoto { get; }
Property Value
Type Description
PhotoMetadata
View Source

AsVideo

Gets this instance as a VideoMetadata, or null.

Declaration
public VideoMetadata AsVideo { get; }
Property Value
Type Description
VideoMetadata
View Source

Dimensions

Dimension of the photo/video.

Declaration
public Dimensions Dimensions { get; protected set; }
Property Value
Type Description
Dimensions
View Source

IsPhoto

Gets a value indicating whether this instance is Photo

Declaration
public bool IsPhoto { get; }
Property Value
Type Description
bool
View Source

IsVideo

Gets a value indicating whether this instance is Video

Declaration
public bool IsVideo { get; }
Property Value
Type Description
bool
View Source

Location

The GPS coordinate of the photo/video.

Declaration
public GpsCoordinates Location { get; protected set; }
Property Value
Type Description
GpsCoordinates
View Source

TimeTaken

The timestamp when the photo/video is taken.

Declaration
public DateTime? TimeTaken { get; protected set; }
Property Value
Type Description
DateTime?

See Also

PhotoMetadata
VideoMetadata
  • View Source
In this article
Back to top Dropbox .NET SDK