MediaFrameFormat.MajorType Property

Definition

Gets a string identifying the major type of a media frame.

public:
 property Platform::String ^ MajorType { Platform::String ^ get(); };
winrt::hstring MajorType();
public string MajorType { get; }
var string = mediaFrameFormat.majorType;
Public ReadOnly Property MajorType As String

Property Value

String

Platform::String

winrt::hstring

A string identifying the major type of a media frame.

Remarks

The value of this property is one of the following strings:

"audio"The frame contains audio data.
"video"The frame contains video data, which may represent color, depth, infrared, or other content.
"perception"The frame contains perception data such as skeletal or facial data.

Applies to