CarPropertyManager.GetPropertyCallback
public
static
interface
CarPropertyManager.GetPropertyCallback
| android.car.hardware.property.CarPropertyManager.GetPropertyCallback |
A callback CarPropertyManager.getPropertiesAsync when succeeded or failed.
Summary
Public methods | |
|---|---|
abstract
void
|
onFailure(CarPropertyManager.PropertyAsyncError propertyAsyncError)
Method called when |
abstract
void
|
onSuccess(GetPropertyResult<?> getPropertyResult)
Method called when |
Public methods
onFailure
public abstract void onFailure (CarPropertyManager.PropertyAsyncError propertyAsyncError)
Method called when GetPropertyRequest returns an error.
| Parameters | |
|---|---|
propertyAsyncError |
CarPropertyManager.PropertyAsyncError |
onSuccess
public abstract void onSuccess (GetPropertyResult<?> getPropertyResult)
Method called when GetPropertyRequest successfully gets a result.
| Parameters | |
|---|---|
getPropertyResult |
GetPropertyResult |