services-api / com.keecker.services.interfaces / KeeckerServiceConnection / execute
execute
suspend fun <T> execute(lambda: (
ServiceInterface
) ->
T
):
T
?
Overrides PersistentServiceConnection.execute
- Wraps an AIDL call and retries it once if it failed.
- Lazily binds before executing the AIDL call.
Return the result of the AIDL call, null if it failed two times