Enum EventType

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String asBeaconValue()
      Returns the value of this instance in the form how it will be written to the beacon
      int protocolValue()  
      static EventType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static EventType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • ACTION

        public static final EventType ACTION
        Action event
      • VALUE_STRING

        public static final EventType VALUE_STRING
        Report string value event
      • VALUE_INT

        public static final EventType VALUE_INT
        Report integer value event
      • VALUE_DOUBLE

        public static final EventType VALUE_DOUBLE
        Report double value event
      • NAMED_EVENT

        public static final EventType NAMED_EVENT
        Named event
      • SESSION_START

        public static final EventType SESSION_START
        Session start event
      • SESSION_END

        public static final EventType SESSION_END
        Session end event
      • WEB_REQUEST

        public static final EventType WEB_REQUEST
        Tagged web request event
      • ERROR

        public static final EventType ERROR
        Report error code event
      • EXCEPTION

        public static final EventType EXCEPTION
        Report exception event
      • CRASH

        public static final EventType CRASH
        Report crash event
      • IDENTIFY_USER

        public static final EventType IDENTIFY_USER
        Identify user event
      • EVENT

        public static final EventType EVENT
        Event API
    • Method Detail

      • values

        public static EventType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EventType c : EventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EventType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • protocolValue

        public int protocolValue()