Interface IAnalyticsHandler

All Superinterfaces:
IHandler
All Known Implementing Classes:
DefaultAnalyticsHandler

public interface IAnalyticsHandler extends IHandler
Contract of the class that handle incoming analytics events.
  • Method Details

    • onAnalyticsEvent

      void onAnalyticsEvent(@NonNull com.brightcove.player.analytics.AnalyticsEvent event, @Nullable IAnalyticsErrorListener errorHandler)
      This method will be called by the AnalyticsClient, when an analytics event is received from the application.
      Parameters:
      event - the analytics client.
      errorHandler - reference to analytics error listener, if any.
    • onNetworkEntitlementChanged

      void onNetworkEntitlementChanged(int type, boolean enabled)
      This method will be called when the entitlement for specific network has been changed.
      Parameters:
      type - the network type
      enabled - true if the network is entitled for analytics transmission, otherwise false.