AnalyticsEventLogger

Simple implementation of EventLogger for logging critical Media3 events.

Most logging behaviour is inherited from EventLogger.

Constructors

Link copied to clipboard
constructor(appEventLogger: ErrorReporter)

Functions

Link copied to clipboard
open override fun onAudioCodecError(eventTime: AnalyticsListener.EventTime, audioCodecError: Exception)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onAudioInputFormatChanged(eventTime: AnalyticsListener.EventTime, format: Format, decoderReuseEvaluation: DecoderReuseEvaluation?)
Link copied to clipboard
Link copied to clipboard
open override fun onAudioSinkError(eventTime: AnalyticsListener.EventTime, audioSinkError: Exception)
Link copied to clipboard
open override fun onAudioUnderrun(eventTime: AnalyticsListener.EventTime, bufferSize: Int, bufferSizeMs: Long, elapsedSinceLastFeedMs: Long)
Link copied to clipboard
open override fun onBandwidthEstimate(eventTime: AnalyticsListener.EventTime, totalLoadTimeMs: Int, totalBytesLoaded: Long, bitrateEstimate: Long)
Link copied to clipboard
Link copied to clipboard
open override fun onDownstreamFormatChanged(eventTime: AnalyticsListener.EventTime, mediaLoadData: MediaLoadData)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onIsLoadingChanged(eventTime: AnalyticsListener.EventTime, isLoading: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onLoadCompleted(eventTime: AnalyticsListener.EventTime, loadEventInfo: LoadEventInfo, mediaLoadData: MediaLoadData)
Link copied to clipboard
open override fun onLoadError(eventTime: AnalyticsListener.EventTime, loadEventInfo: LoadEventInfo, mediaLoadData: MediaLoadData, error: IOException, wasCanceled: Boolean)
Link copied to clipboard
open override fun onLoadStarted(eventTime: AnalyticsListener.EventTime, loadEventInfo: LoadEventInfo, mediaLoadData: MediaLoadData)
Link copied to clipboard
Link copied to clipboard
open override fun onMediaMetadataChanged(eventTime: AnalyticsListener.EventTime, mediaMetadata: MediaMetadata)
Link copied to clipboard
Link copied to clipboard
open override fun onPlaybackStateChanged(eventTime: AnalyticsListener.EventTime, state: Int)
Link copied to clipboard
open override fun onPlayerError(eventTime: AnalyticsListener.EventTime, error: PlaybackException)
Link copied to clipboard
open override fun onPlayWhenReadyChanged(eventTime: AnalyticsListener.EventTime, playWhenReady: Boolean, reason: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard