Enum Class AskCommand

java.lang.Object
java.lang.Enum<AskCommand>
jp.co.asterisk.asreader.a60d.sdk.type.ask.AskCommand
すべての実装されたインタフェース:
Serializable, Comparable<AskCommand>, Constable

public enum AskCommand extends Enum<AskCommand>
ASK 設定コマンドの列挙体です。
  • 列挙型定数の詳細

    • MsgPower

      public static final AskCommand MsgPower
    • MsgTrigger

      public static final AskCommand MsgTrigger
    • MsgBattery

      public static final AskCommand MsgBattery
    • MsgProgramMode

      public static final AskCommand MsgProgramMode
    • MsgSetting

      public static final AskCommand MsgSetting
  • メソッドの詳細

    • values

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

      public static AskCommand 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.)
      パラメータ:
      name - 返される列挙型定数の名前。
      戻り値:
      指定した名前の列挙型定数
      例外:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 引数がnullの場合
    • getCode

      public int getCode()
      codeを返します。
      戻り値:
      code
    • getName

      public String getName()
      コマンド名を返します
      戻り値:
      name