Share via


IsolatedWindowsEnvironmentOptions.AllowCameraAndMicrophoneAccess Property

Definition

Deprecated. Boolean of whether applications running inside Isolated Windows Environment can access the device’s camera and microphone.

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

void AllowCameraAndMicrophoneAccess(bool value);
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
bool AllowCameraAndMicrophoneAccess();

void AllowCameraAndMicrophoneAccess(bool value);
public bool AllowCameraAndMicrophoneAccess { get; set; }
public bool AllowCameraAndMicrophoneAccess { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] get; [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOptions is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] set; }
var boolean = isolatedWindowsEnvironmentOptions.allowCameraAndMicrophoneAccess;
isolatedWindowsEnvironmentOptions.allowCameraAndMicrophoneAccess = boolean;
Public Property AllowCameraAndMicrophoneAccess As Boolean

Property Value

Boolean

bool

Boolean

Attributes

Remarks

Warning

This is a deprecated API.

Applies to