-
public final class Network
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNetwork.Companion
-
Field Summary
Fields Modifier and Type Field Description private final <ERROR CLASS>activeDeliveriesprivate StringapiKey
-
Constructor Summary
Constructors Constructor Description Network(Context context, FlushWorker flushWorker, String apiKey)
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>getActiveDeliveries()final StringgetApiKey()final UnitsetApiKey(String apiKey)final StringdataPush(BatchData data)final StringnewSession(NewSessionBodyInput data)final UnitcompleteSession(String clientSessionID)final UnitsetTriggerEvent(String clientSessionID, String event)-
-
Constructor Detail
-
Network
Network(Context context, FlushWorker flushWorker, String apiKey)
-
-
Method Detail
-
getActiveDeliveries
final <ERROR CLASS> getActiveDeliveries()
-
newSession
final String newSession(NewSessionBodyInput data)
-
completeSession
final Unit completeSession(String clientSessionID)
-
setTriggerEvent
final Unit setTriggerEvent(String clientSessionID, String event)
-
-
-
-