DisplayBrightnessUnit 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.
public enum DisplayBrightnessUnit
type DisplayBrightnessUnit =
- Inheritance
-
DisplayBrightnessUnit
Fields
| Name | Value | Description |
|---|---|---|
| Percentage | 1 | Brightness value type where the value is in the range [0, 100] and when set, the brightness UI slider will show the same value. It gets converted from the user-perception scale to the power scale and mapped to the current brightness range. The current brightness range may change over time depending on the device state (such as the brightness of the ambient environment). When this type is used, 0 and 100 map to the current brightness minimum and maximum respectively. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Raw | 3 | Brightness value type where the value is in the system range [0.0f, 1.0f]. The specific implementation of this unit might be device-dependent and it might differ from the brightness percentage seen by the user on the brightness slider. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |