ClimateStateRequest
@CarProtocol
@RequiresCarApi(value = 5)
@ExperimentalCarApi
public final class ClimateStateRequest<T>
Allows specification of a request for setting the car climate states using string flags and car zones.
Applications need to use Builder to create a ClimateStateRequest.
| Parameters | |
|---|---|
<T> |
data type of request value |
Summary
Nested types |
|---|
public final class ClimateStateRequest.Builder<T>A builder of |
Public methods |
|
|---|---|
boolean |
|
@NonNull List<CarZone> |
Returns a list of CarZones which are included in this request. |
int |
Returns a feature flag in @ClimateProfileRequest.ClimateProfileFeature which is included in this request. |
@NonNull T |
Returns the requested value which is included in this request. |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
getCarZones
public @NonNull List<CarZone> getCarZones()
Returns a list of CarZones which are included in this request.
getRequestedFeature
public int getRequestedFeature()
Returns a feature flag in @ClimateProfileRequest.ClimateProfileFeature which is included in this request.
getRequestedValue
public @NonNull T getRequestedValue()
Returns the requested value which is included in this request.