TrackerController

Functions

Link copied to clipboard
abstract fun pause()

Pause the tracker. The tracker will stop any new activity tracking but it will continue to send remaining events already tracked but not sent yet. Calling a track method will not have any effect and event tracked will be lost.

Link copied to clipboard
abstract fun resume()

Resume the tracker. The tracker will start tracking again.

Link copied to clipboard
abstract fun track(event: Event): UUID?

Track the event. The tracker will take care to process and send the event assigning event_id and device_timestamp.

Properties

Link copied to clipboard
abstract var appId: String

Identifier of the app.

Link copied to clipboard

Whether application context is sent with all the tracked events.

Link copied to clipboard
abstract var base64encoding: Boolean

It indicates whether the JSON data in the payload should be base64 encoded.

Link copied to clipboard
abstract var deepLinkContext: Boolean

Whether deepLink context is sent with all the ScreenView events.

Link copied to clipboard

It sets the device platform the tracker is running on.

Link copied to clipboard

Whether enable diagnostic reporting.

Link copied to clipboard

EmitterController.

Link copied to clipboard

Whether enable crash reporting.

Link copied to clipboard
abstract val gdpr: GdprController

GdprController.

Link copied to clipboard

Whether geo-location context is sent with all the tracked events.

Link copied to clipboard

GlobalContextsController.

Link copied to clipboard

Whether enable automatic tracking of install event.

Link copied to clipboard
abstract val isTracking: Boolean

Whether the tracker is running and able to collect/send events.

Link copied to clipboard

Whether enable automatic tracking of background and foreground transitions.

Link copied to clipboard

It sets the logger delegate that receive logs from the tracker.

Link copied to clipboard
abstract var logLevel: LogLevel

It sets the log level of tracker logs.

Link copied to clipboard
abstract val namespace: String

Namespace of the tracker. It is used to identify the tracker among multiple trackers running in the same app.

Link copied to clipboard
abstract val network: NetworkController?

NetworkController.

Link copied to clipboard
abstract var platformContext: Boolean

Whether mobile/platform context is sent with all the tracked events.

Link copied to clipboard

Controller for managing tracker plugins

Link copied to clipboard
abstract var screenContext: Boolean

Whether screen context is sent with all the tracked events.

Link copied to clipboard

Whether enable automatic tracking of ScreenView events.

Link copied to clipboard
abstract val session: SessionController?

SessionController.

Link copied to clipboard
abstract var sessionContext: Boolean

Whether session context is sent with all the tracked events.

Link copied to clipboard

SubjectController.

Link copied to clipboard

Decorate the v_tracker field in the tracker protocol.

Link copied to clipboard

Whether to anonymise client-side user identifiers in session (userId, previousSessionId), subject (userId, networkUserId, domainUserId, ipAddress) and platform context entities (IDFA) Setting this property on a running tracker instance starts a new session (if sessions are tracked).

Link copied to clipboard
abstract val version: String

Version of the tracker.

Inheritors

Link copied to clipboard