AnalyticsSession

interface AnalyticsSession<P, E : Error>

Represents generic protocol for all types of analytics session.

Inheritors

Types

Link copied to clipboard

Represents AnalyticsSession lifecycle transition states.

Properties

Link copied to clipboard
Link copied to clipboard

The connectivity status to the analytics system.

Link copied to clipboard
abstract var logger: Logger

The Logger for call tracing.

Link copied to clipboard

The current lifecycle State.

Functions

Link copied to clipboard
abstract fun start(value: P)

Must be called to initiate analytics session lifecycle.

Link copied to clipboard
abstract fun stop(error: E?)

Must be called to terminate analytics session lifecycle.