PillarboxAnalyticsListener

An interface for receiving analytics events from a PillarboxPlayer.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Called when the player reaches a blocked time range.

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

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

Link copied to clipboard
open 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 fun onSmoothSeekingEnabledChanged(eventTime: AnalyticsListener.EventTime, smoothSeekingEnabled: Boolean)

Called when the smooth seeking enabled state changes.

Link copied to clipboard
open 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 fun onTrackingEnabledChanged(eventTime: AnalyticsListener.EventTime, trackingEnabled: Boolean)

Called when the tracking enabled state changes.

Link copied to clipboard
Link copied to clipboard