MediaClickedEvent


public class MediaClickedEvent extends AnalyticsEvent


Describes a media clicked event.

Summary

Inherited Constants

From androidx.car.app.mediaextensions.analytics.event.AnalyticsEvent
static final int

Indicates BrowseChangeEvent

static final int

Indicates ErrorEvent

static final int

Indicates MediaClickedEvent

static final int

Indicates an unknown event

static final int

Indicates ViewChangeEvent

static final int

Indicates VisibleItemsEvent

static final int

Indicates view was hidden

static final int

Indicates view action mode is default/none

static final int

Indicates view action mode is from a scroll

static final int

Indicates view was shown

static final int

Indicates event generated from Browse Action Overflow view component

static final int

Indicates event generated from Browse List view component

static final int

Indicates event generated from Browse Tabs view component

static final int

Indicates event generated from Error Message view component

static final int

Indicates event generated from Launcher view component

static final int

Indicates event generated from Media Host view component

static final int

Indicates event generated from Mini Playback view component

static final int

Indicates event generated from Playback view component

static final int

Indicates event generated from Queue List view component

static final int

Indicates event generated from Settings view component

static final int

Indicates event generated from an Unknown view component

Inherited methods

From androidx.car.app.mediaextensions.analytics.event.AnalyticsEvent
int

Returns the analytics version.

@NonNull String

Returns the platform component that is generating analytic events.

int

Returns the EventType.

long

Returns the time of the event in milliseconds since 1970-01-01T00:00:00Z.

Public methods

getMediaId

Added in 1.7.0-beta03
public @Nullable String getMediaId()

getViewComponent

Added in 1.7.0-beta03
public int getViewComponent()

toString

public @NonNull String toString()