public interface

AnalyticsListener

com.urbanairship.analytics.AnalyticsListener

Class Overview

An analytics event listener. Used to listen for generated screen tracking, custom, and region events by adding the listener using addAnalyticsListener(AnalyticsListener).

Summary

Public Methods
abstract void onCustomEventAdded(CustomEvent event)
Called when a new custom event is tracked.
abstract void onRegionEventAdded(RegionEvent event)
Called when a new region event is generated.
abstract void onScreenTracked(String screenName)
Called when a new screen is tracked.

Public Methods

public abstract void onCustomEventAdded (CustomEvent event)

Called when a new custom event is tracked.

Parameters
event The custom event.

public abstract void onRegionEventAdded (RegionEvent event)

Called when a new region event is generated.

Parameters
event The region event.

public abstract void onScreenTracked (String screenName)

Called when a new screen is tracked.

Parameters
screenName The screen name.