MediaCaptureInitializationSettings.MediaCategory Property

Definition

Gets or set the media category.

public:
 property MediaCategory MediaCategory { MediaCategory get(); void set(MediaCategory value); };
MediaCategory MediaCategory();

void MediaCategory(MediaCategory value);
public MediaCategory MediaCategory { get; set; }
var mediaCategory = mediaCaptureInitializationSettings.mediaCategory;
mediaCaptureInitializationSettings.mediaCategory = mediaCategory;
Public Property MediaCategory As MediaCategory

Property Value

MediaCategory

The media category.

Windows 10 requirements

App capabilities
backgroundMediaRecording

Remarks

If you set the MediaCategory property, the media capture pipeline will attempt to optimize for the specified scenario. For example, if you set the value to Speech, audio processing such as echo cancellation and noise suppression may be enabled.

Applies to