remoter-builder / remoter.builder / IServiceConnector

IServiceConnector

interface IServiceConnector

Connects with a service and returns a Binder through the suspendable getService function

See Also

ServiceConnector

Functions

disconnect

Disconnect from the service

abstract fun disconnect(): Unit

getService

Returns the IBinder for the service, by binding to it as needed

abstract suspend fun getService(): IBinder

Inheritors

ServiceConnector

Implements IServiceConnector

class ServiceConnector : IServiceConnector, CoroutineScope