Språk

VirtualDisplayConfig.BrightnessEventArgs(Single) Constructor

Definition

Initializes event data with the reported virtual display brightness.

public BrightnessEventArgs(float brightness);
new Android.Hardware.Display.VirtualDisplayConfig.BrightnessEventArgs : single -> Android.Hardware.Display.VirtualDisplayConfig.BrightnessEventArgs

Parameters

brightness
Single

The reported brightness, where 0.0 represents the minimum supported brightness and 1.0 represents the maximum.

Remarks

The constructor stores the supplied value for the Brightness property; it does not change the display brightness.

Applies to