CarPropertyManager.PropertyAsyncError

public static final class CarPropertyManager.PropertyAsyncError
extends Object

java.lang.Object
   ↳ android.car.hardware.property.CarPropertyManager.PropertyAsyncError


An error result for GetPropertyCallback or SetPropertyCallback.

Summary

Public methods

int getAreaId()
int getDetailedErrorCode()

Gets the detailed system error code.

int getErrorCode()
int getPropertyId()
int getRequestId()
String toString()

Prints out debug message.

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 methods

getAreaId

public int getAreaId ()

Returns
int

getDetailedErrorCode

public int getDetailedErrorCode ()

Gets the detailed system error code. These must be a value defined in DetailedErrorCode. The values in DetailedErrorCode may be extended in the future to include additional error codes.

Returns
int the detailed error code if it is set, otherwise set to 0.

getErrorCode

public int getErrorCode ()

Returns
int Value is com.android.car.internal.property.CarPropertyErrorCodes.STATUS_OK, CarPropertyManager.STATUS_ERROR_INTERNAL_ERROR, CarPropertyManager.STATUS_ERROR_NOT_AVAILABLE, or CarPropertyManager.STATUS_ERROR_TIMEOUT

getPropertyId

public int getPropertyId ()

Returns
int

getRequestId

public int getRequestId ()

Returns
int

toString

public String toString ()

Prints out debug message.

Returns
String