CarClimateFeature

@RequiresCarApi(value = 5)
@MainThread
@ExperimentalCarApi
class CarClimateFeature


A data value used in climate related requests to indicate the features and zones the caller is interested in.

Summary

Nested types

A builder for CarClimateFeature.

Public functions

Boolean
equals(o: Any!)
(Mutable)List<CarZone!>

Returns a list of CarZones.

Int

Returns an integer flag of the feature.

Int
String

Public functions

equals

Added in 1.4.0-rc02
fun equals(o: Any!): Boolean

getCarZones

Added in 1.3.0
fun getCarZones(): (Mutable)List<CarZone!>

Returns a list of CarZones.

If the application is interested in all zones, the return value will only contains a CarZone#CAR_ZONE_GLOBAL. Otherwise, the return values will contain every individual seats the application requested for.

For example, the application requested information for the second row seats. The list will contain three individual CarZones. They are the left side seat of the second row, the center seat of the second row and the right side seat of the second row.

getFeature

Added in 1.3.0
fun getFeature(): Int

Returns an integer flag of the feature.

The feature flag must be one of ClimateProfileRequest.ClimateProfileFeatures.

hashCode

Added in 1.4.0-rc02
fun hashCode(): Int

toString

Added in 1.4.0-rc02
fun toString(): String