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 ClimateStateRequest

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
@NonNull String

Public methods

equals

Added in 1.4.0-rc02
public boolean equals(Object o)

getCarZones

Added in 1.3.0
public @NonNull List<CarZonegetCarZones()

Returns a list of CarZones which are included in this request.

getRequestedFeature

Added in 1.3.0
public int getRequestedFeature()

Returns a feature flag in @ClimateProfileRequest.ClimateProfileFeature which is included in this request.

getRequestedValue

Added in 1.3.0
public @NonNullgetRequestedValue()

Returns the requested value which is included in this request.

hashCode

Added in 1.4.0-rc02
public int hashCode()

toString

Added in 1.4.0-rc02
public @NonNull String toString()