Show / Hide Table of Contents

Class MediaMetadata

Metadata for a photo or video.

Inheritance
System.Object
MediaMetadata
PhotoMetadata
VideoMetadata
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 Source

MediaMetadata(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 Source

AsPhoto

Gets this instance as a PhotoMetadata, or null.

Declaration
public PhotoMetadata AsPhoto { get; }
Property Value
Type Description
PhotoMetadata
| Improve this Doc View Source

AsVideo

Gets this instance as a VideoMetadata, or null.

Declaration
public VideoMetadata AsVideo { get; }
Property Value
Type Description
VideoMetadata
| Improve this Doc View Source

Dimensions

Dimension of the photo/video.

Declaration
public Dimensions Dimensions { get; protected set; }
Property Value
Type Description
Dimensions
| Improve this Doc View Source

IsPhoto

Gets a value indicating whether this instance is Photo

Declaration
public bool IsPhoto { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsVideo

Gets a value indicating whether this instance is Video

Declaration
public bool IsVideo { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Location

The GPS coordinate of the photo/video.

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

TimeTaken

The timestamp when the photo/video is taken.

Declaration
public DateTime? TimeTaken { get; protected set; }
Property Value
Type Description
System.Nullable<System.DateTime>

See Also

PhotoMetadata
VideoMetadata
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • MediaMetadata(Dimensions, GpsCoordinates, Nullable<DateTime>)
  • Properties
    • AsPhoto
    • AsVideo
    • Dimensions
    • IsPhoto
    • IsVideo
    • Location
    • TimeTaken
  • See Also
Back to top Generated by DocFX