acquireLocalService

fun <T : Service> acquireLocalService(serviceClass: Class<T>): T

create a service proxy which will call the local implementation

Return

the proxy

Parameters

T

the service type

serviceClass

the service class