java.lang.Enum<BaseAudioDevice.BluetoothState>
com.opentok.android.BaseAudioDevice.BluetoothState
実装済みのすべてのインターフェース:
: Serializable, Comparable<BaseAudioDevice.BluetoothState>, Constable
包含クラス: : BaseAudioDevice
public static enum BaseAudioDevice.BluetoothState extends 列挙型<BaseAudioDevice.BluetoothState>
の値を定義します。 BaseAudioDevice.getBluetoothState() メソッドを使用する。
ネストされたクラスの概要
java.lang. クラスを継承したネストされたクラス/インターフェース。列挙型
Enum.EnumDesc<E extends Enum<E>>
列挙定数の概要
列挙定数
列挙定数
説明
Connected
Bluetoothデバイスが接続されており、そのデバイスへ音声が再生されています。
Disconnected
このオーディオデバイスは、再生にBluetoothを使用していません。
方法の概要
すべてのメソッド 静的メソッド 具象メソッド
修飾子と型
方法
説明
static BaseAudioDevice.BluetoothState
valueOf(String name)
指定された名前の、このクラスの列挙定数を返します。
static BaseAudioDevice.BluetoothState[]
values()
この列挙型クラスの定数を、 宣言された順序で格納した配列を返します。
java.lang クラスから継承されたメソッド。列挙型
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
java.lang クラスから継承されたメソッド。目的
getClass, notify, notifyAll, wait, wait, wait
列挙定数の詳細
接続済み
public static final BaseAudioDevice.BluetoothState 接続済み
Bluetoothデバイスが接続されており、そのデバイスへ音声が再生されています。
切断
public static final BaseAudioDevice.BluetoothState 接続が切断されました
このオーディオデバイスは、再生にBluetoothを使用していません。
メソッドの詳細
価値観
public static BaseAudioDevice.BluetoothState[] values()
この列挙型クラスの定数を、 宣言された順序で格納した配列を返します。
戻り値: : この列挙型クラスの定数を、宣言された順に格納した配列
valueOf
public static BaseAudioDevice.BluetoothState valueOf(ストリング 名前)
指定された名前の、このクラスの列挙定数を返します。 文字列は以下と一致している必要があります。 まさに このクラス内で 列挙定数を宣言するために使用される識別子です。(余分な空白文字は 使用できません。)
パラメータ:
: name - 返す列挙定数の名前。
戻り値: : 指定された名前の列挙定数
投球:
: IllegalArgumentException - この列挙型クラスに、指定された名前の定数が存在しない場合
: NullPointerException - 引数がnullの場合