WindowManagerLayoutParams.ScreenBrightnessUnit Property
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.
The unit of screenBrightness.
[Android.Runtime.GeneratedEnum]
[Android.Runtime.Register("screenBrightnessUnit", ApiSince=37)]
public Android.Hardware.Display.DisplayBrightnessUnit ScreenBrightnessUnit { get; set; }
[<Android.Runtime.GeneratedEnum>]
[<Android.Runtime.Register("screenBrightnessUnit", ApiSince=37)>]
member this.ScreenBrightnessUnit : Android.Hardware.Display.DisplayBrightnessUnit with get, set
Property Value
The brightness scale: Raw for the system 0 to 1 range, or Percentage for the user-facing 0 to 100 range.
- Attributes
Remarks
The unit of screenBrightness. If not set, the default is DisplayManager.BRIGHTNESS_UNIT_RAW. Value is one of the following: DisplayManager.BRIGHTNESS_UNIT_PERCENTAGE; DisplayManager.BRIGHTNESS_UNIT_RAW
Android reference for android.view.WindowManager.LayoutParams.screenBrightnessUnit.
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.