Enum LogItem.Event

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LogItem.Event>
    Enclosing class:
    LogItem

    public static enum LogItem.Event
    extends java.lang.Enum<LogItem.Event>
    Describes the event which triggered the log item.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LogItem.Event valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static LogItem.Event[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

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

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

      • NO_AD_RESPONSE

        public static final LogItem.Event NO_AD_RESPONSE
        No ad response.
      • INVALID_ARGUMENT

        public static final LogItem.Event INVALID_ARGUMENT
        Unaccepted or missing arguments. Only dispatched during session and tracker requests.
      • INVALID_RESPONSE

        public static final LogItem.Event INVALID_RESPONSE
        A request received an empty or malformed response. Potentially dispatched during all types of requests.
      • GENERAL_ERROR

        public static final LogItem.Event GENERAL_ERROR
        Error with no dedicated event type. Potentially dispatched during all types of requests.
      • REQUEST_FAILED

        public static final LogItem.Event REQUEST_FAILED
        HTTP request failed. Potentially dispatched during all types of requests.
      • REQUEST_TIMEOUT

        public static final LogItem.Event REQUEST_TIMEOUT
        HTTP request timed out. Potentially dispatched during all types of requests.
      • REQUEST_CANCELED

        public static final LogItem.Event REQUEST_CANCELED
        SDK user canceled request. Only dispatched during ad requests.
      • WARNING

        public static final LogItem.Event WARNING
        Non-fatal warning message. Potentially dispatched during all types of requests.
      • ILLEGAL_OPERATION

        public static final LogItem.Event ILLEGAL_OPERATION
        The user tried to perform an operation not allowed in the current state. Only dispatched during tracker requests.
    • Method Detail

      • values

        public static LogItem.Event[] 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 (LogItem.Event c : LogItem.Event.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LogItem.Event 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