PlaybackStats.EventTimeAndPlaybackState


public final class PlaybackStats.EventTimeAndPlaybackState


Stores a playback state with the event time at which it became active.

Public fields

final AnalyticsListener.EventTime

The event time at which the playback state became active.

final int

The playback state that became active.

Public constructors

EventTimeAndPlaybackState(
    AnalyticsListener.EventTime eventTime,
    int playbackState
)

Creates a new timed playback state event.

Public methods

boolean
int

Public fields

eventTime

public final AnalyticsListener.EventTime eventTime

The event time at which the playback state became active.

playbackState

public final int playbackState

The playback state that became active.

Public constructors

EventTimeAndPlaybackState

public EventTimeAndPlaybackState(
    AnalyticsListener.EventTime eventTime,
    int playbackState
)

Creates a new timed playback state event.

Parameters
AnalyticsListener.EventTime eventTime

The event time at which the playback state became active.

int playbackState

The playback state that became active.

Public methods

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Apr 11, 2024

In this codelab you’ll learn how to use the Data Binding library. The Data Binding Library allows you to bind UI components in your layouts to data sources in your app using a declarative format rather than programmatically. You’ll learn to set it all up, use layout expressions, work with observable objects, and create custom Binding Adapters to reduce boilerplate to a minimum.

Updated Dec 10, 2024

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Jan 3, 2024