AreaIdConfig

public final class AreaIdConfig
extends Object implements Parcelable

java.lang.Object
   ↳ android.car.hardware.property.AreaIdConfig<T>


Represents area ID specific configuration information for a vehicle property.

Summary

Inherited constants

Fields

public static final Creator<AreaIdConfig<Object>> CREATOR

Public methods

int describeContents()
int getAreaId()

Returns the area ID for this configuration.

T getMaxValue()

Returns the maximum value supported for the getAreaId().

T getMinValue()

Returns the minimum value supported for the getAreaId().

List<T> getSupportedEnumValues()

Returns the supported enum values for the getAreaId().

String toString()
void writeToParcel(Parcel dest, int flags)

Inherited methods

Fields

CREATOR

Added in API level 34
public static final Creator<AreaIdConfig<Object>> CREATOR

Public methods

describeContents

Added in API level 34
public int describeContents ()

Returns
int

getAreaId

Added in API level 34
public int getAreaId ()

Returns the area ID for this configuration.

Returns
int area ID for this configuration.

getMaxValue

Added in API level 34
public T getMaxValue ()

Returns the maximum value supported for the getAreaId().

Returns
T maximum value supported for the getAreaId(). Will return null if no maximum value supported.

getMinValue

Added in API level 34
public T getMinValue ()

Returns the minimum value supported for the getAreaId().

Returns
T minimum value supported for the getAreaId(). Will return null if no minimum value supported.

getSupportedEnumValues

Added in API level 34
public List<T> getSupportedEnumValues ()

Returns the supported enum values for the getAreaId(). If list is empty, the property does not support an enum.

Returns
List<T>

toString

Added in API level 34
public String toString ()

Returns
String

writeToParcel

Added in API level 34
public void writeToParcel (Parcel dest, 
                int flags)

Parameters
dest Parcel

flags int