IviServiceBinderConnectionBase
abstract class IviServiceBinderConnectionBase<B : IviServiceBinderInterface, P, PO : IviServicePropertiesObserver>(connectionData: IviServiceBinderConnectionData) : IviServiceConnectionBase<P, PO>
Base class for <Interface>BinderConnection
classes.
Parameters
B
<Interface>BinderInterface
class.
P
<Interface>Properties
class.
PO
<Interface>PropertiesObserver
interface.
connectionData
The connection data 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.