WindowManagerLayoutParams.ScreenBrightness Property

Definition

This can be used to override the user's preferred brightness of the screen.

[Android.Runtime.Register("screenBrightness")]
public float ScreenBrightness { get; set; }
[<Android.Runtime.Register("screenBrightness")>]
member this.ScreenBrightness : single with get, set

Property Value

Attributes

Remarks

This can be used to override the user's preferred brightness of the screen. A value of less than 0, the default, means to use the preferred screen brightness. 0 to 1 adjusts the brightness from dark to full bright.

Java documentation for android.view.WindowManager.LayoutParams.screenBrightness.

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