PillarboxEventLogger

A logger for Pillarbox analytics events.

Parameters

tag

The tag to use for logging.

Constructors

Link copied to clipboard
constructor(tag: String = "EventLogger")

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onBlockedTimeRangeReached(eventTime: AnalyticsListener.EventTime, blockedTimeRange: BlockedTimeRange)

Called when the player reaches a blocked time range.

Link copied to clipboard
open override fun onChapterChanged(eventTime: AnalyticsListener.EventTime, chapter: Chapter?)

Called when the current chapter changes. This can occur when either:

Link copied to clipboard
open override fun onCreditChanged(eventTime: AnalyticsListener.EventTime, credit: Credit?)

Called when the current credit changes. This can occur when either:

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onSmoothSeekingEnabledChanged(eventTime: AnalyticsListener.EventTime, smoothSeekingEnabled: Boolean)

Called when the smooth seeking enabled state changes.

Link copied to clipboard
open override fun onStallChanged(eventTime: AnalyticsListener.EventTime, isStall: Boolean)

Called when the player's stall state changes.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onTrackingEnabledChanged(eventTime: AnalyticsListener.EventTime, trackingEnabled: Boolean)

Called when the tracking enabled state changes.

Link copied to clipboard
Link copied to clipboard