IviServiceApi

A base interface for the APIs that clients of IVI services interact with.

Parameters

C

The connection interface of the IVI service.

P

The properties class of the IVI services.

PO

The properties observer interface of the IVI service.

LP

The LiveData properties interface of the IVI service.

Properties

Link copied to clipboard

true when the service interface is available.

Functions

Link copied to clipboard
abstract fun queueOrRunAction(action: () -> Unit)

Runs an action if the service is available. Otherwise, it adds the action to a queue that will be processed when the service becomes available.

Inheritors

Link copied to clipboard