IviServiceBinderConnectionBase
abstract class IviServiceBinderConnectionBase<B : IviServiceBinderInterface, P, PO : IviServicePropertiesObserver>(connectionData: IviServiceBinderConnectionData) : IviServiceConnectionBase<P, PO>
Content copied to clipboard
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.
Constructors
Link copied to clipboard
fun IviServiceBinderConnectionBase(connectionData: IviServiceBinderConnectionData)
Content copied to clipboard
Properties
Inherited properties
Functions
Link copied to clipboard
open suspend override fun setPropertiesObserver(lifecycleOwner: LifecycleOwner, propertiesObserver: PO)
Content copied to clipboard
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.
Link copied to clipboard