public enum BluetoothServiceState extends java.lang.Enum<BluetoothServiceState>
列挙型定数と説明 |
---|
connected
接続中状態
|
connecting
接続開始状態
|
listen
接続待ち状態
|
none
状態なし
|
修飾子とタイプ | メソッドと説明 |
---|---|
static BluetoothServiceState |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static BluetoothServiceState[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final BluetoothServiceState none
public static final BluetoothServiceState listen
public static final BluetoothServiceState connecting
public static final BluetoothServiceState connected
public static BluetoothServiceState[] values()
for(BluetoothServiceState c: BluetoothServiceState.values()) System.out.println(c);
public static BluetoothServiceState valueOf(java.lang.String name)
name返される列挙型定数の名前
- IllegalArgumentException指定された名前を持つ定数を
- この列挙型が持っていない場合NullPointerException引数がnullの場合