Udostępnij za pośrednictwem


DisplayBrightnessOverrideScenario Enum

Definition

Represents the brightness scenarios that a BrightnessOverrideSettings object can request.

public enum class DisplayBrightnessOverrideScenario
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class DisplayBrightnessOverrideScenario
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum DisplayBrightnessOverrideScenario
var value = Windows.Graphics.Display.DisplayBrightnessOverrideScenario.idleBrightness
Public Enum DisplayBrightnessOverrideScenario
Inheritance
DisplayBrightnessOverrideScenario
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Name Value Description
IdleBrightness 0

Indicates that a brightness level to be used when the app is idle.

BarcodeReadingBrightness 1

Indicates that a brightness level which is barcode reader friendly is wanted.

FullBrightness 2

Indicates that a brightness level of 100% is wanted.

Applies to