Package-level declarations

Configure the network connection between tracker and event collector.

Types

Link copied to clipboard

An implementation of OkHttp.Cookie, for use with the CollectorCookieJar.

Link copied to clipboard
class CollectorCookieJar(context: Context) : CookieJar

This class is the default cookie jar in OkHttpNetworkConnection, the default class for controlling network connections between the tracker and the event collector. It allows the response cookie (assigned to network_userid) to be saved and added to subsequent requests.

Link copied to clipboard

HttpMethod is used to set the request method for your Emitter (i.e. GET or POST requests).

Link copied to clipboard

Interface for the component that sends events to the collector.

Link copied to clipboard

Components in charge to send events to the collector. It uses OkHttp as Http client.

Link copied to clipboard

Protocol is used to set the protocol used for sending Requests. Either HTTP or HTTPS.

Link copied to clipboard
class Request

Request class that contains the payloads to send to the collector.

Link copied to clipboard
interface RequestCallback

Interface for all Emitter Callbacks

Link copied to clipboard
class RequestResult(val statusCode: Int, val oversize: Boolean, val eventIds: List<Long>)

Stores the result of a Request attempt.