Udostępnij za pośrednictwem


AppCaptureSettings.IsMicrophoneCaptureEnabledByDefault Property

Definition

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

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 IsMicrophoneCaptureEnabledByDefault { bool get(); void set(bool value); };
bool IsMicrophoneCaptureEnabledByDefault();

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

Property Value

Boolean

bool

True if microphone capture is enabled by default; otherwise, false.

Windows requirements

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

Applies to

See also