-
- All Implemented Interfaces:
-
ai.zerogpu.android.sdk.telemetry.EventStorage
public final class PrefsEventStorage implements EventStorage
SharedPreferences-backed storage (JSON array under one key). All access is swallowed — a storage failure must never break the SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPrefsEventStorage.Companion
-
Constructor Summary
Constructors Constructor Description PrefsEventStorage(Context context)
-
Method Summary
Modifier and Type Method Description List<LifecycleEvent>load()Unitsave(List<LifecycleEvent> events)-
-
Constructor Detail
-
PrefsEventStorage
PrefsEventStorage(Context context)
-
-
Method Detail
-
load
List<LifecycleEvent> load()
-
save
Unit save(List<LifecycleEvent> events)
-
-
-
-