android.bluetooth
Class BluetoothSocket
java.lang.Object
android.bluetooth.BluetoothSocket
- All Implemented Interfaces:
- Closeable
public final class BluetoothSocket
- extends Object
- implements Closeable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connect
public void connect()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
getRemoteDevice
public BluetoothDevice getRemoteDevice()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Throws:
IOException
isConnected
public boolean isConnected()
Copyright © 2008-2012. All Rights Reserved.