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.