Enum Class PlayTime

java.lang.Object
java.lang.Enum<PlayTime>
com.apple.itunes.storekit.model.PlayTime
All Implemented Interfaces:
Serializable, Comparable<PlayTime>, Constable

public enum PlayTime extends Enum<PlayTime>
A value that indicates the amount of time that the customer used the app.
See Also:
  • Enum Constant Details

    • UNDECLARED

      public static final PlayTime UNDECLARED
    • ZERO_TO_FIVE_MINUTES

      public static final PlayTime ZERO_TO_FIVE_MINUTES
    • FIVE_TO_SIXTY_MINUTES

      public static final PlayTime FIVE_TO_SIXTY_MINUTES
    • ONE_TO_SIX_HOURS

      public static final PlayTime ONE_TO_SIX_HOURS
    • SIX_HOURS_TO_TWENTY_FOUR_HOURS

      public static final PlayTime SIX_HOURS_TO_TWENTY_FOUR_HOURS
    • ONE_DAY_TO_FOUR_DAYS

      public static final PlayTime ONE_DAY_TO_FOUR_DAYS
    • FOUR_DAYS_TO_SIXTEEN_DAYS

      public static final PlayTime FOUR_DAYS_TO_SIXTEEN_DAYS
    • OVER_SIXTEEN_DAYS

      public static final PlayTime OVER_SIXTEEN_DAYS
  • Method Details

    • values

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

      public static PlayTime valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromValue

      public static PlayTime fromValue(Integer value)
    • getValue

      public Integer getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PlayTime>