services-api / com.keecker.services.interfaces / ServiceBindingInfo / toInterface
toInterface
abstract fun toInterface(binder:
IBinder
):
ServiceInterface
Converts the given binder to a ServiceInterface implementation. Typically implemented as:
return ServiceInterface.Stub.asInterface(binder)
Parameters
binder
- returned by Android when binding to a Service
Return AIDL ServiceInterface implementation