Keecker Developer
Android SDK Contact
Getting Started
Overview
Installing Android Studio
Creating a Keecker app
Reference
0.2

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