IviServiceApiBase
Base class for <Interface>Api
classes.
Goal for this class is to keep the generated <Interface>Api
class as simple as possible. As a result, the generic types of this class are a bit complex.
This class is parameterized by a <Interface>Connection
interface C of the IVI service. Interface C extends the IviServiceConnection interface which is parameterized by the <Interface>Properties
class P and the <Interface>PropertiesObserver
interface PO of the IVI service.
As such, this class is parameterized by C, P, PO and LP:
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.
As any <Interface>Api
has to deal with observing an IviServiceConnectionManager and register the observer on a new connection, this base class deals with it as best as it can.
Parameters
The connection manager used to connect to the service instance.
The lifecycle owner of this <Interface>Api
instance.
The service ID of the IVI service.
The IVI instance ID provider.
Constructors
Types
Properties
Report the service as available after connectionToAvailableService is set to a non-null
value.