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

Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

Public constructors

Builder

public Builder ()

Public methods

build

public CarPowerPolicyFilter build ()

Builds the instance. This builder should not be touched after calling this!

setComponents

public CarPowerPolicyFilter.Builder setComponents (int... value)

List of components of interest. Components are one of android.frameworks.automotive.powerpolicy.PowerComponent.

Parameters
value int