ApiClient
interface ApiClient
Defines public API of the network coordinator service
Functions
Link copied to clipboard
For sending aggregate analytics for IAF - not to be called directly
Link copied to clipboard
Link copied to clipboard
Queue an API request to save Profile data to Klaviyo
Link copied to clipboard
Queue an API request to save a push token to Klaviyo for a Profile
Link copied to clipboard
Queue an API request to remove a push token from a Profile
Link copied to clipboard
Tell the client to attempt to flush network request queue now
Link copied to clipboard
De-register an observer from onApiRequest
Link copied to clipboard
Register an observer to be notified when an API request is enqueued or changes state
Link copied to clipboard
Tell the client to write its queue to the persistent store
Link copied to clipboard
Tell the client to restore its queue from the persistent store engine
Link copied to clipboard
Launch the API client service Should be idempotent in case of re-initialization