Enum Class Player.Result

java.lang.Object
java.lang.Enum<Player.Result>
org.luwrain.player.Player.Result
All Implemented Interfaces:
Serializable, Comparable<Player.Result>, Constable
Enclosing interface:
Player

public static enum Player.Result extends Enum<Player.Result>
  • Enum Constant Details

    • OK

      public static final Player.Result OK
    • INVALID_PLAYLIST

      public static final Player.Result INVALID_PLAYLIST
    • UNSUPPORTED_FORMAT_STARTING_TRACK

      public static final Player.Result UNSUPPORTED_FORMAT_STARTING_TRACK
    • INACCESSIBLE_SOURCE

      public static final Player.Result INACCESSIBLE_SOURCE
    • GENERAL_PLAYER_ERROR

      public static final Player.Result GENERAL_PLAYER_ERROR
  • Method Details

    • values

      public static Player.Result[] 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 Player.Result 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