-
- All Implemented Interfaces:
-
com.brightcove.player.network.IHandler
public interface IAnalyticsHandler implements IHandler
Contract of the class that handle incoming analytics events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
IAnalyticsHandler.ProcessListener
A listener that can receive callback notification from the DefaultAnalyticsHandler after processing an event.
-
Method Summary
Modifier and Type Method Description abstract void
onAnalyticsEvent(@NonNull() AnalyticsEvent event, @Nullable() IAnalyticsErrorListener errorHandler)
This method will be called by the AnalyticsClient, when an analytics event is receivedfrom the application. abstract void
onNetworkEntitlementChanged(int type, boolean enabled)
This method will be called when the entitlement for specific network has been changed. -
-
Method Detail
-
onAnalyticsEvent
abstract void onAnalyticsEvent(@NonNull() AnalyticsEvent event, @Nullable() IAnalyticsErrorListener errorHandler)
This method will be called by the AnalyticsClient, when an analytics event is receivedfrom the application.
- Parameters:
event
- the analytics client.errorHandler
- reference to analytics error listener, if any.
-
onNetworkEntitlementChanged
abstract void onNetworkEntitlementChanged(int type, boolean enabled)
This method will be called when the entitlement for specific network has been changed.
- Parameters:
type
- the network typeenabled
- true if the network is entitled for analytics transmission, otherwise false.
-
-
-
-