Android Guides | Samples

Android.Views.WindowManagerLayoutParams.ScreenBrightness Property

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

Syntax

[Android.Runtime.Register("screenBrightness")]
public Single ScreenBrightness { get; set; }

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.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3