services-api / com.keecker.services.interfaces

Package com.keecker.services.interfaces

Types

EphemeralServiceConnection class EphemeralServiceConnection : ServiceConnection
Wraps an Android android.content.ServiceConnection to be used in coroutines.
KeeckerServiceConnection class KeeckerServiceConnection<ServiceInterface : IInterface> : PersistentServiceConnection<ServiceInterface>
A PersistentServiceConnection wrapping AIDL calls to handle potential IPC errors automatically.
PersistentServiceConnection interface PersistentServiceConnection<ServiceInterface : IInterface>
A Service connection that will attempt to connect forever. Wraps
RemoteExceptionListener interface RemoteExceptionListener
Notifies about KeeckerServiceConnection internal exceptions.
ServiceBindingInfo interface ServiceBindingInfo<ServiceInterface : IInterface>
To bind to a android.app.Service we need to provide: