PillarboxAnalyticsCollector

Pillarbox analytics collector

Parameters

clock

The Clock used to generate timestamps.

Constructors

Link copied to clipboard
constructor(clock: Clock = Clock.DEFAULT)

Functions

Link copied to clipboard
open override fun addListener(p0: AnalyticsListener)
Link copied to clipboard
override fun notifySeekStarted()
Link copied to clipboard
Link copied to clipboard
override fun onAudioCodecError(p0: Exception)
Link copied to clipboard
override fun onAudioDecoderInitialized(p0: String, p1: Long, p2: Long)
Link copied to clipboard
override fun onAudioDecoderReleased(p0: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun onAudioPositionAdvancing(p0: Long)
Link copied to clipboard
override fun onAudioSessionIdChanged(p0: Int)
Link copied to clipboard
override fun onAudioSinkError(p0: Exception)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun onAudioUnderrun(p0: Int, p1: Long, p2: Long)
Link copied to clipboard
Link copied to clipboard
override fun onBandwidthSample(p0: Int, p1: Long, p2: Long)
Link copied to clipboard
open override fun onBlockedTimeRangeReached(blockedTimeRange: BlockedTimeRange)

On blocked time range reached

Link copied to clipboard
open override fun onChapterChanged(chapter: Chapter?)

onChapterChanged is called when either:

Link copied to clipboard
open override fun onCreditChanged(credit: Credit?)

onCreditChanged is called when either:

Link copied to clipboard
open override fun onCues(p0: CueGroup)
open override fun onCues(p0: MutableList<Cue>)
Link copied to clipboard
open override fun onDeviceInfoChanged(p0: DeviceInfo)
Link copied to clipboard
open override fun onDeviceVolumeChanged(p0: Int, p1: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun onDroppedFrames(p0: Int, p1: Long)
Link copied to clipboard
open override fun onEvents(p0: Player, p1: Player.Events)
Link copied to clipboard
override fun onIsLoadingChanged(p0: Boolean)
Link copied to clipboard
open override fun onIsPlayingChanged(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onLoadingChanged(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun onMediaItemTransition(@Nullable p0: MediaItem?, p1: Int)
Link copied to clipboard
open override fun onMediaMetadataChanged(p0: MediaMetadata)
Link copied to clipboard
override fun onMetadata(p0: Metadata)
Link copied to clipboard
override fun onPlaybackStateChanged(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun onPlayerStateChanged(p0: Boolean, p1: Int)
Link copied to clipboard
Link copied to clipboard
override fun onPlayWhenReadyChanged(p0: Boolean, p1: Int)
Link copied to clipboard
Link copied to clipboard
open override fun onRenderedFirstFrame()
override fun onRenderedFirstFrame(p0: Any, p1: Long)
Link copied to clipboard
override fun onRepeatModeChanged(p0: Int)
Link copied to clipboard
open override fun onSeekBackIncrementChanged(p0: Long)
Link copied to clipboard
open override fun onSeekForwardIncrementChanged(p0: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onSmoothSeekingEnabledChanged(smoothSeekingEnabled: Boolean)

On smooth seeking enabled changed

Link copied to clipboard
open override fun onStallChanged(isStall: Boolean)

Called when the player stall state changed.

Link copied to clipboard
override fun onSurfaceSizeChanged(p0: Int, p1: Int)
Link copied to clipboard
override fun onTimelineChanged(p0: Timeline, p1: Int)
Link copied to clipboard
open override fun onTrackingEnabledChanged(trackingEnabled: Boolean)

On tracking enabled changed

Link copied to clipboard
open override fun onTracksChanged(p0: Tracks)
Link copied to clipboard
Link copied to clipboard
override fun onVideoCodecError(p0: Exception)
Link copied to clipboard
override fun onVideoDecoderInitialized(p0: String, p1: Long, p2: Long)
Link copied to clipboard
override fun onVideoDecoderReleased(p0: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun onVideoFrameProcessingOffset(p0: Long, p1: Int)
Link copied to clipboard
override fun onVideoSizeChanged(p0: VideoSize)
Link copied to clipboard
override fun onVolumeChanged(p0: Float)
Link copied to clipboard
open override fun release()
Link copied to clipboard
Link copied to clipboard
open override fun setPlayer(p0: Player, p1: Looper)