unbind

open fun unbind(activity: Activity)

Unbind the API server from the given Activity.

Parameters

activity

the activity the service will get unbound from. Must be the same activity that was passed into bind.


open fun unbind(context: Context)

Unbind the API server from the given Context.

Parameters

context

the context the service will get unbound from. Must be the same context that was passed into bind.