OnCarDataAvailableListener


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


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

Parameters
<T>

data type returned by the listener

Summary

Public functions

Unit

Notifies that the requested data is available.

Public functions

onCarDataAvailable

Added in 1.1.0
fun onCarDataAvailable(data: T): Unit

Notifies that the requested data is available.

Parameters
data: T

the car hardware data that was requested