public static class PowerSaving.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PowerSaving |
build() |
PowerSaving.Builder |
features(java.util.List<PowerSavingFeature> features) |
PowerSaving.Builder |
lightSensorHysteresis(int lightSensorHysteresis) |
PowerSaving.Builder |
lightSensorSamplingInterval(long lightSensorSamplingInterval) |
PowerSaving.Builder |
lightSensorThreshold(int lightSensorThreshold) |
PowerSaving.Builder |
moveSuspendTimeout(long moveSuspendTimeout) |
public PowerSaving.Builder features(java.util.List<PowerSavingFeature> features)
public PowerSaving.Builder moveSuspendTimeout(long moveSuspendTimeout)
public PowerSaving.Builder lightSensorThreshold(int lightSensorThreshold)
public PowerSaving.Builder lightSensorHysteresis(int lightSensorHysteresis)
public PowerSaving.Builder lightSensorSamplingInterval(long lightSensorSamplingInterval)
public PowerSaving build()