Package com.iabtcf.v2

Enum SegmentType

java.lang.Object
java.lang.Enum<SegmentType>
com.iabtcf.v2.SegmentType
All Implemented Interfaces:
Serializable, Comparable<SegmentType>, java.lang.constant.Constable

public enum SegmentType
extends Enum<SegmentType>
  • Enum Constant Details

    • DEFAULT

      public static final SegmentType DEFAULT
    • DISCLOSED_VENDOR

      public static final SegmentType DISCLOSED_VENDOR
    • ALLOWED_VENDOR

      public static final SegmentType ALLOWED_VENDOR
    • PUBLISHER_TC

      public static final SegmentType PUBLISHER_TC
    • INVALID

      public static final SegmentType INVALID
  • Method Details

    • values

      public static SegmentType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SegmentType valueOf​(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • from

      public static SegmentType from​(int id)
    • value

      public abstract int value()