OnCarDataAvailableListener


@CarProtocol
@RequiresCarApi(value = 3)
public interface OnCarDataAvailableListener<T>


A listener for data being returned about from the car hardware.

Parameters
<T>

data type returned by the listener

Summary

Public methods

abstract void

Notifies that the requested data is available.

Public methods

onCarDataAvailable

Added in 1.1.0
abstract void onCarDataAvailable(@NonNull T data)

Notifies that the requested data is available.

Parameters
@NonNull T data

the car hardware data that was requested