PerceptionFrameSourceAccessStatus Enum
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.
Indicates the access status an app is allowed for a particular type of frame source.
public enum class PerceptionFrameSourceAccessStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PerceptionFrameSourceAccessStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("PerceptionFrameSourceAccessStatus may be unavailable after Windows Creator Update. Please refer to Windows.Media.Capture.Frames APIs on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
enum class PerceptionFrameSourceAccessStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PerceptionFrameSourceAccessStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("PerceptionFrameSourceAccessStatus may be unavailable after Windows Creator Update. Please refer to Windows.Media.Capture.Frames APIs on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public enum PerceptionFrameSourceAccessStatus
var value = Windows.Devices.Perception.PerceptionFrameSourceAccessStatus.unspecified
Public Enum PerceptionFrameSourceAccessStatus
- Inheritance
-
PerceptionFrameSourceAccessStatus
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Unspecified | 0 | Access status is not specified. |
Allowed | 1 | The app is allowed to access the type of perception frame source it requested. |
DeniedByUser | 2 | The app is not allowed to access the type of perception frame source it requested because the user denied the app access to camera devices. |
DeniedBySystem | 3 | The app is not allowed to access the type of perception frame source it requested because system access to camera devices is denied. This usually occurs when the user denies all apps access to camera devices in the system privacy settings. |