Package org.robolectric.shadows
Class BrightnessChangeEventBuilder
java.lang.Object
org.robolectric.shadows.BrightnessChangeEventBuilder
public class BrightnessChangeEventBuilder extends Object
Builder for
BrightnessChangeEvent
.-
Constructor Summary
Constructors Constructor Description BrightnessChangeEventBuilder()
-
Method Summary
-
Constructor Details
-
BrightnessChangeEventBuilder
public BrightnessChangeEventBuilder()
-
-
Method Details
-
setBrightness
-
setTimeStamp
-
setPackageName
-
setUserId
-
setLuxValues
-
setLuxTimestamps
-
setBatteryLevel
-
setPowerBrightnessFactor
-
setNightMode
-
setColorTemperature
-
setLastBrightness
-
setIsDefaultBrightnessConfig
public BrightnessChangeEventBuilder setIsDefaultBrightnessConfig(boolean isDefaultBrightnessConfig) -
setUserBrightnessPoint
-
setColorValues
public BrightnessChangeEventBuilder setColorValues(long[] colorValueBuckets, long colorSampleDuration) -
build
-