class ServiceConnector : IServiceConnector, CoroutineScope
Implements IServiceConnector
disconnect |
Disconnect from the service fun disconnect(): Unit |
getService |
Returns the IBinder for the service, by binding to it as needed suspend fun getService(): IBinder |
disconnectAll |
Disconnects from all the services that are returned from this fun disconnectAll(): Unit |
of |
Returns an IServiceConnector for the given explicit Intent. fun of(context: Context, explicitIntent: Intent): IServiceConnector
Returns an IServiceConnector for a service that is registered with the given intent action intentAction fun of(context: Context, intentAction: String): IServiceConnector |