AnalyticsCallback


@ExperimentalCarApi
public interface AnalyticsCallback


Callback from (Bundle, IAnalyticsCallback).

Summary

Public methods

abstract void

Callback for BrowseChangeEvent events.

abstract void

Callback for ErrorEvent events.

abstract void

Callback for MediaClickedEvent events.

default void

Callback for unknown event.

abstract void

Callback for ViewChangeEvent events.

abstract void

Callback for VisibleItemsEvent events.

Public methods

onBrowseNodeChangeEvent

Added in 1.7.0-beta03
abstract void onBrowseNodeChangeEvent(@NonNull BrowseChangeEvent event)

Callback for BrowseChangeEvent events.

Parameters
@NonNull BrowseChangeEvent event

onErrorEvent

Added in 1.7.0-beta03
abstract void onErrorEvent(@NonNull ErrorEvent event)

Callback for ErrorEvent events.

Called when error parsing events.

Parameters
@NonNull ErrorEvent event

onMediaClickedEvent

Added in 1.7.0-beta03
abstract void onMediaClickedEvent(@NonNull MediaClickedEvent event)

Callback for MediaClickedEvent events.

Parameters
@NonNull MediaClickedEvent event

onUnknownEvent

Added in 1.7.0-beta03
default void onUnknownEvent(@NonNull Bundle eventBundle)

Callback for unknown event.

onViewChangeEvent

Added in 1.7.0-beta03
abstract void onViewChangeEvent(@NonNull ViewChangeEvent event)

Callback for ViewChangeEvent events.

Parameters
@NonNull ViewChangeEvent event

onVisibleItemsEvent

Added in 1.7.0-beta03
abstract void onVisibleItemsEvent(@NonNull VisibleItemsEvent event)

Callback for VisibleItemsEvent events.

Parameters
@NonNull VisibleItemsEvent event