-
public final class ZeroGpuSdkThe thin, data-driven interpreter. It registers compiled engines once, loads assigned models once, and keeps a WebSocket session that mirrors the app lifecycle:
foreground → (re-)register and open a socket so the device is
idleand ready for tasks;background → close the socket (the backend marks the device
inactive);foreground again → a fresh register + socket.
Transient drops while foregrounded auto-reconnect with backoff. A single OkHttpClient is shared across reconnections and only one socket is alive at a time (no hanging connections).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classZeroGpuSdk.Companion
-
Constructor Summary
Constructors Constructor Description ZeroGpuSdk(Context context, String operatorKey, String baseUrl, String env, Boolean enableTelemetry, ResourcePolicy resourcePolicy, ZeroGpuListener listener)
-