MediaFrameSourceInfo.ProfileId Property

Definition

Gets the unique identifier of the MediaCaptureVideoProfile associated with the MediaFrameSourceInfo.

public:
 property Platform::String ^ ProfileId { Platform::String ^ get(); };
winrt::hstring ProfileId();
public string ProfileId { get; }
var string = mediaFrameSourceInfo.profileId;
Public ReadOnly Property ProfileId As String

Property Value

String

Platform::String

winrt::hstring

The unique identifier of the MediaCaptureVideoProfile associated with the MediaFrameSourceInfo.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

A MediaCaptureVideoProfile represents a set of capture settings supported by a given sensor. This includes supported frame rates, resolutions, and whether the sensor can be used simultaneously with other capture devices. Use the VideoProfileMediaDescription property to discover the detailed capabilities of a MediaFrameSource. After selecting a frame source with your desired capabilities, you can use this property to get the identifier of the MediaCaptureVideoProfile object to use when initializing the MediaCapture object in order to enable the desired capabilities.

Applies to

See also