Interface AnalyticsClient

  • All Implemented Interfaces:

    
    public interface AnalyticsClient
    
                        

    Interface of a client that can receive analytics data. Register implementations of this interface via addAnalyticsClient.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onEvent(@NonNull() String name, @Nullable() Bundle data) Callback for analytics events.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onEvent

         abstract void onEvent(@NonNull() String name, @Nullable() Bundle data)

        Callback for analytics events. This method is called by PSPDFKit as soon as an analytics event was triggered. This method will be called on a background thread, dedicated to the analytics client.

        Parameters:
        name - Name of the event.
        data - Bundle with event data.