public final class BluetoothSocket extends Object implements Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
BluetoothDevice |
getRemoteDevice() |
boolean |
isConnected() |
public void connect()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic BluetoothDevice getRemoteDevice()
public InputStream getInputStream() throws IOException
IOExceptionpublic OutputStream getOutputStream() throws IOException
IOExceptionpublic boolean isConnected()
Copyright © 2008-2013. All Rights Reserved.