IsolatedWindowsEnvironmentOptions.AllowCameraAndMicrophoneAccess Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.