public static enum PhoneProfileConstants.PhoneMode extends java.lang.Enum<PhoneProfileConstants.PhoneMode>
修飾子とタイプ | メソッドと説明 |
---|---|
static PhoneProfileConstants.PhoneMode |
getInstance(int value)
電話のモードのコード値からオブジェクトを取得する.
|
int |
getValue()
値を取得する.
|
static PhoneProfileConstants.PhoneMode |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static PhoneProfileConstants.PhoneMode[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final PhoneProfileConstants.PhoneMode UNKNOWN
public static final PhoneProfileConstants.PhoneMode SILENT
public static final PhoneProfileConstants.PhoneMode MANNER
public static final PhoneProfileConstants.PhoneMode SOUND
public static PhoneProfileConstants.PhoneMode[] values()
for(PhoneProfileConstants.PhoneMode c: PhoneProfileConstants.PhoneMode.values()) System.out.println(c);
public static PhoneProfileConstants.PhoneMode valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合public int getValue()
public static PhoneProfileConstants.PhoneMode getInstance(int value)
value
- コード