ErrorEvent


class ErrorEvent : AnalyticsEvent


Analytics event indicating a parsing error.

Summary

Constants

const Int

Indicates an invalid bundle

const Int

Indicates invalid event

const Int

Indicates an invalid intent

Public functions

Int

Returns error code

String

Inherited Constants

From androidx.car.app.mediaextensions.analytics.event.AnalyticsEvent
const Int

Indicates BrowseChangeEvent

const Int

Indicates ErrorEvent

const Int

Indicates MediaClickedEvent

const Int

Indicates an unknown event

const Int

Indicates ViewChangeEvent

const Int

Indicates VisibleItemsEvent

const Int

Indicates view was hidden

const Int

Indicates view action mode is default/none

const Int

Indicates view action mode is from a scroll

const Int

Indicates view was shown

const Int

Indicates event generated from Browse Action Overflow view component

const Int

Indicates event generated from Browse List view component

const Int

Indicates event generated from Browse Tabs view component

const Int

Indicates event generated from Error Message view component

const Int

Indicates event generated from Launcher view component

const Int

Indicates event generated from Media Host view component

const Int

Indicates event generated from Mini Playback view component

const Int

Indicates event generated from Playback view component

const Int

Indicates event generated from Queue List view component

const Int

Indicates event generated from Settings view component

const Int

Indicates event generated from an Unknown view component

Inherited functions

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

Returns the analytics version.

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-beta03
const val ERROR_CODE_INVALID_BUNDLE = 1: Int

Indicates an invalid bundle

ERROR_CODE_INVALID_EVENT

Added in 1.7.0-beta03
const val ERROR_CODE_INVALID_EVENT = 2: Int

Indicates invalid event

ERROR_CODE_INVALID_EXTRAS

Added in 1.7.0-beta03
const val ERROR_CODE_INVALID_EXTRAS = 0: Int

Indicates an invalid intent

Public functions

getErrorCode

Added in 1.7.0-beta03
fun getErrorCode(): Int

Returns error code

toString

fun toString(): String