public interface IBluetoothObserver
修飾子とタイプ | メソッドと説明 |
---|---|
void |
connected(BluetoothDevice device)
接続された時の処理を行う。
|
void |
connectFailed()
接続失敗した時の処理を行う。
|
void |
connectionLost()
切断した時の処理を行う。
|
void |
receive(java.lang.String str)
データを受信した時の処理を行う。
|
void |
write(byte[] buffer)
データを送信した時の処理を行う。
|
void connected(BluetoothDevice device)
device
- 接続したデバイスvoid connectFailed()
void connectionLost()
void write(byte[] buffer)
buffer
- void receive(java.lang.String str)
str
-