public interface

PlaybackStatsListener.Callback

 androidx.media3.exoplayer.analytics.PlaybackStatsListener.Callback

Overview

A listener for PlaybackStats updates.

Summary

Methods
public voidonPlaybackStatsReady(AnalyticsListener.EventTime eventTime, PlaybackStats playbackStats)

Called when a playback session ends and its PlaybackStats are ready.

Methods

public void onPlaybackStatsReady(AnalyticsListener.EventTime eventTime, PlaybackStats playbackStats)

Called when a playback session ends and its PlaybackStats are ready.

Parameters:

eventTime: The at which the playback session started. Can be used to identify the playback session.
playbackStats: The PlaybackStats for the ended playback session.