ErrorEvent


public class ErrorEvent extends AnalyticsEvent


Analytics event indicating a parsing error.

Summary

Constants

static final int

Indicates an invalid bundle

static final int

Indicates invalid event

static final int

Indicates an invalid intent

Public methods

int

Returns error code

@NonNull String

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.

Constants

ERROR_CODE_INVALID_BUNDLE

Added in 1.7.0-beta02
public static final int ERROR_CODE_INVALID_BUNDLE = 1

Indicates an invalid bundle

ERROR_CODE_INVALID_EVENT

Added in 1.7.0-beta02
public static final int ERROR_CODE_INVALID_EVENT = 2

Indicates invalid event

ERROR_CODE_INVALID_EXTRAS

Added in 1.7.0-beta02
public static final int ERROR_CODE_INVALID_EXTRAS = 0

Indicates an invalid intent

Public methods

getErrorCode

Added in 1.7.0-beta02
public int getErrorCode()

Returns error code

toString

public @NonNull String toString()