GameBarTargetCapturePolicy Enum

Definition

Provides information around the allowable actions for this application.

public enum class GameBarTargetCapturePolicy
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.GameBarContract, 65536)]
enum class GameBarTargetCapturePolicy
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.GameBarContract), 65536)]
public enum GameBarTargetCapturePolicy
var value = Windows.Media.Capture.GameBarTargetCapturePolicy.enabledBySystem
Public Enum GameBarTargetCapturePolicy
Inheritance
GameBarTargetCapturePolicy
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.GameBarContract (introduced in v1.0)
App capabilities
gameBarServices

Fields

Name Value Description
EnabledBySystem 0

The OS determined that the target allows capture

EnabledByUser 1

The OS does not know the policy for the app, but the user did identify the target as capturable.

NotEnabled 2

The OS doesn’t know the policy for the app and hasn’t been identified by the user as capturable.

ProhibitedBySystem 3

The OS determined that the target is prohibited from being captured.

ProhibitedByPublisher 4

The publisher of the target has indicated that capture is not allowed.

Applies to