Interface Insights


  • public interface Insights
    Used to send custom events to Insights.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void recordCustomEvent​(java.lang.String eventType, java.util.Map<java.lang.String,​?> attributes)
      Sends an Insights event for the current application.
    • Method Detail

      • recordCustomEvent

        void recordCustomEvent​(java.lang.String eventType,
                               java.util.Map<java.lang.String,​?> attributes)
        Sends an Insights event for the current application.
        Parameters:
        eventType - Must match /^[a-zA-Z0-9:_ ]+$/, be non-null, and less than 256 chars.
        attributes - A map of event data. Each key should be a String and each value should be a String, Number, or Boolean. For map values that are not String, Number, or Boolean object types the toString value will be used.
        Since:
        3.13.0