PhotoImportVideoSegment PhotoImportVideoSegment PhotoImportVideoSegment PhotoImportVideoSegment Class

Definition

Represents an imported video segment.

public : sealed class PhotoImportVideoSegment : IPhotoImportVideoSegmentpublic sealed class PhotoImportVideoSegment : IPhotoImportVideoSegmentPublic NotInheritable Class PhotoImportVideoSegment Implements IPhotoImportVideoSegment// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Video segments are produced by some video recorders that split long video files in multiple segments. The reasons might be file format limitations, file size limitations on the storage media file system, or some inherited arbitrary convention, such as the 20mn standard duration of a 35mm movie reel. The naming of the main (“first”) segment and the subsequent (“continuation”) segments depends on the video recorder. The correlation between the segments can be made on based on the full path + the video type + the last four digits, looking for digits in the first four characters to decide which one it the main file. The last continuation is typically smaller than the main file, and the timestamps may also reflect the chronological sequence. Video segments can have siblings.

Properties

Date Date Date Date

Gets the date of the imported video segment.

public : DateTime Date { get; }public DateTimeOffset Date { get; }Public ReadOnly Property Date As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The date of the imported video segment.

Name Name Name Name

Gets the name of the imported video segment.

public : PlatForm::String Name { get; }public string Name { get; }Public ReadOnly Property Name As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The name of the imported video segment.

Sibling Sibling Sibling Sibling

Gets the sibling file associated with the imported video segment.

public : PhotoImportSidecar Sibling { get; }public PhotoImportSidecar Sibling { get; }Public ReadOnly Property Sibling As PhotoImportSidecar// You can use this property in JavaScript.
Value
PhotoImportSidecar PhotoImportSidecar PhotoImportSidecar PhotoImportSidecar

The sibling file associated with the imported video segment.

Sidecars Sidecars Sidecars Sidecars

Gets the sidecar file associated with the imported video segment.

public : IVectorView<PhotoImportSidecar> Sidecars { get; }public IReadOnlyList<PhotoImportSidecar> Sidecars { get; }Public ReadOnly Property Sidecars As IReadOnlyList<PhotoImportSidecar>// You can use this property in JavaScript.
Value
IVectorView<PhotoImportSidecar> IReadOnlyList<PhotoImportSidecar> IReadOnlyList<PhotoImportSidecar> IReadOnlyList<PhotoImportSidecar>

The sidecar file associated with the imported video segment.

SizeInBytes SizeInBytes SizeInBytes SizeInBytes

Gets the size of the imported video segment, in bytes.

public : ulong SizeInBytes { get; }public ulong SizeInBytes { get; }Public ReadOnly Property SizeInBytes As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The size of the imported video segment, in bytes.