IviServiceConnectionManager

interface IviServiceConnectionManager<C : IviServiceConnection<*, *>, LP>

Interface for IVI service connection managers.

Allows observing whether a connection with an IVI service is available.

Parameters

C

: The <Interface>Connection interface of the IVI service interface.

LP

: The <Interface>LiveDataProperties class of the IVI service interface.

Properties

Link copied to clipboard
abstract val cachedProperties: LP

Mirror cache of the properties of the IVI service interface. The properties are LiveData properties.

Link copied to clipboard
abstract val connection: LiveData<C?>

LiveData containing the connection, if any.

Link copied to clipboard
abstract val serviceAvailable: LiveData<Boolean>

Whether the service interface is available.

Inheritors

Link copied to clipboard