PlaybackStatsListener.Callback


public interface PlaybackStatsListener.Callback


A listener for PlaybackStats updates.

Summary

Public methods

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

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

Public methods

onPlaybackStatsReady

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

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

Parameters
AnalyticsListener.EventTime eventTime

The EventTime at which the playback session started. Can be used to identify the playback session.

PlaybackStats playbackStats

The PlaybackStats for the ended playback session.