IviServiceEventListener

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class IviServiceEventListener

Exposes an inner interface of an IVI service as an event listener interface.

Each member function in this interface is an event callback. Each event callback is propagated to event listeners registered to the <Interface>Api class.

Note: The annotated inner interface class name needs to have the Listener suffix and all event callback member functions need to be prefixed with on. The annotation processor will fail otherwise.

This annotation only takes effect on an (outer) interface annotated with an IviService or IviDiscoverableService annotation.

Constructors

Link copied to clipboard
fun IviServiceEventListener()