Added in API level 31
CarPowerPolicyFilter.Builder
public
static
final
class
CarPowerPolicyFilter.Builder
extends Object
java.lang.Object | |
↳ | android.car.hardware.power.CarPowerPolicyFilter.Builder |
A builder for CarPowerPolicyFilter
Summary
Public constructors | |
---|---|
Builder()
|
Public methods | |
---|---|
CarPowerPolicyFilter
|
build()
Builds the instance. |
CarPowerPolicyFilter.Builder
|
setComponents(int... value)
List of components of interest. |
Inherited methods | |
---|---|
Public constructors
Public methods
build
Added in API level 31
public CarPowerPolicyFilter build ()
Builds the instance. This builder should not be touched after calling this!
Returns | |
---|---|
CarPowerPolicyFilter |
setComponents
Added in API level 31
public CarPowerPolicyFilter.Builder setComponents (int... value)
List of components of interest. Components are one of
android.frameworks.automotive.powerpolicy.PowerComponent
.
Parameters | |
---|---|
value |
int |
Returns | |
---|---|
CarPowerPolicyFilter.Builder |