Interface IAnalyticsHandler

  • All Superinterfaces:
    All Known Implementing Classes:

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

      • onAnalyticsEvent

        void onAnalyticsEvent​(@NonNull
                              IAnalyticsErrorListener errorHandler)
        This method will be called by the AnalyticsClient, when an analytics event is received from the application.
        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.
        type - the network type
        enabled - true if the network is entitled for analytics transmission, otherwise false.