Code example for BluetoothSocket

Methods: close

0
            } 
        } 
 
        public void cancel() { 
            try { 
                mmSocket.close();
            } catch (IOException e) {
                Log.e(TAG, "close() of connect socket failed", e);
            } 
        } 
    } 
}