IviServiceApi

interface IviServiceApi

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

Inheritors

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.