AppCaptureSettings.IsMicrophoneCaptureEnabled Property

Definition

Gets or sets a value indicating if microphone capture is enabled.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

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

void IsMicrophoneCaptureEnabled(bool value);
public bool IsMicrophoneCaptureEnabled { get; set; }
var boolean = appCaptureSettings.isMicrophoneCaptureEnabled;
appCaptureSettings.isMicrophoneCaptureEnabled = boolean;
Public Property IsMicrophoneCaptureEnabled As Boolean

Property Value

Boolean

bool

True if microphone capture is enabled; otherwise, false.

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10586.0)
API contract
Windows.Media.Capture.AppCaptureContract (introduced in v2.0)
App capabilities
appCaptureSettings

Applies to

See also