public class BluetoothClient extends BluetoothConnection
BluetoothConnection.Type
_connectedDevice, _in, _isConnected, _name, _newConnection, _newDisconnection, _out, _terminate, _useObjectStreams
Constructor and Description |
---|
BluetoothClient(java.util.UUID connID,
java.lang.String serverName,
java.lang.String serverAddr) |
Modifier and Type | Method and Description |
---|---|
protected void |
close() |
android.bluetooth.BluetoothDevice |
getRemoteDevice() |
void |
run() |
clear, connect, disconnect, getConnectedDevice, input, isConnected, notifyDataTranferResult, onReceive, output, setConnectedDevice, setConnectionStatus, waitForConnection, waitForDisconnection
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public BluetoothClient(java.util.UUID connID, java.lang.String serverName, java.lang.String serverAddr) throws java.io.IOException
java.io.IOException
public void run()
protected void close()
close
in class BluetoothConnection
public android.bluetooth.BluetoothDevice getRemoteDevice()