コード例 #1
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="MediaMetadata" /> class.</para>
 /// </summary>
 /// <param name="dimensions">Dimension of the photo/video.</param>
 /// <param name="location">The GPS coordinate of the photo/video.</param>
 /// <param name="timeTaken">The timestamp when the photo/video is taken.</param>
 protected MediaMetadata(Dimensions dimensions   = null,
                         GpsCoordinates location = null,
                         sys.DateTime?timeTaken  = null)
 {
     this.Dimensions = dimensions;
     this.Location   = location;
     this.TimeTaken  = timeTaken;
 }
コード例 #2
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="VideoMetadata" /> class.</para>
 /// </summary>
 /// <param name="dimensions">Dimension of the photo/video.</param>
 /// <param name="location">The GPS coordinate of the photo/video.</param>
 /// <param name="timeTaken">The timestamp when the photo/video is taken.</param>
 /// <param name="duration">The duration of the video in milliseconds.</param>
 public VideoMetadata(Dimensions dimensions   = null,
                      GpsCoordinates location = null,
                      sys.DateTime?timeTaken  = null,
                      ulong?duration          = null)
     : base(dimensions, location, timeTaken)
 {
     this.Duration = duration;
 }
コード例 #3
0
 /// <summary>
 /// <para>Initializes a new instance of the <see cref="PhotoMetadata" /> class.</para>
 /// </summary>
 /// <param name="dimensions">Dimension of the photo/video.</param>
 /// <param name="location">The GPS coordinate of the photo/video.</param>
 /// <param name="timeTaken">The timestamp when the photo/video is taken.</param>
 public PhotoMetadata(Dimensions dimensions   = null,
                      GpsCoordinates location = null,
                      sys.DateTime?timeTaken  = null)
     : base(dimensions, location, timeTaken)
 {
 }