DisplayManager.BrightnessUnitPercentage Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Display.DisplayBrightnessUnit enum directly instead of this field.

Brightness value type where the value is in the range [0, 100] and when set, the brightness UI slider will show the same value.

[Android.Runtime.Register("BRIGHTNESS_UNIT_PERCENTAGE", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Display.DisplayBrightnessUnit enum directly instead of this field.", true)]
public const Android.Hardware.Display.DisplayBrightnessUnit BrightnessUnitPercentage = 1;
[<Android.Runtime.Register("BRIGHTNESS_UNIT_PERCENTAGE", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Display.DisplayBrightnessUnit enum directly instead of this field.", true)>]
val mutable BrightnessUnitPercentage : Android.Hardware.Display.DisplayBrightnessUnit

Field Value

Value = 1
Attributes

Remarks

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 of used, 0 and 100 map to the current brightness minimum and maximum respectively.

Java documentation for android.hardware.display.DisplayManager.BRIGHTNESS_UNIT_PERCENTAGE.

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.

Applies to