public interface IAnalyticsHandler
Modifier and Type | Interface and Description |
---|---|
static interface |
IAnalyticsHandler.ProcessListener
A listener that can receive callback notification from the
DefaultAnalyticsHandler
after processing an event. |
Modifier and Type | Method and Description |
---|---|
void |
onAnalyticsEvent(com.brightcove.player.analytics.AnalyticsEvent event,
IAnalyticsErrorListener errorHandler)
This method will be called by the
AnalyticsClient , when an analytics event is received
from the application. |
void |
onAttached()
This method will be invoked when the handler is added to
AnalyticsClient . |
void |
onNetworkEntitlementChanged(int type,
boolean enabled)
This method will be called when the entitlement for specific network has been changed.
|
void |
onRemoved()
This method will be invoked when the handler is removed from
AnalyticsClient . |
void onAttached()
AnalyticsClient
.void onRemoved()
AnalyticsClient
.void onAnalyticsEvent(@NonNull com.brightcove.player.analytics.AnalyticsEvent event, @Nullable IAnalyticsErrorListener errorHandler)
AnalyticsClient
, when an analytics event is received
from the application.event
- the analytics client.errorHandler
- reference to analytics error listener, if any.void onNetworkEntitlementChanged(int type, boolean enabled)
type
- the network typeenabled
- true if the network is entitled for analytics transmission, otherwise false.