IviServiceDirectConnectionBase
abstract class IviServiceDirectConnectionBase<S : IviServiceBase<P, PO>, P : Any, PO : IviServicePropertiesObserver>(connectionData: IviServiceDirectConnectionData<S>) : IviServiceConnectionBase<P, PO>
Base class for <Interface>DirectConnection
classes.
S: The <Interface>Base
class. P: The <Interface>Properties
class. PO: The <Interface>PropertiesObserver
interface.
Parameters
connectionData
The connection data to use for this connection.
Inherited properties
Functions
Link copied to clipboard
open suspend override fun setPropertiesObserver(lifecycleOwner: LifecycleOwner, propertiesObserver: PO)
Registers the givens propertiesObserver for a given lifecycleOwner.
Inherited functions
Link copied to clipboard
Should be called after the IviServiceConnection instance is constructed.
Link copied to clipboard
Called when the connection is disconnected or about to be disconnected.