android.bluetooth
Class BluetoothSocket

java.lang.Object
  extended by android.bluetooth.BluetoothSocket
All Implemented Interfaces:
Closeable

public final class BluetoothSocket
extends Object
implements Closeable


Method Summary
 void close()
           
 void connect()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 BluetoothDevice getRemoteDevice()
           
 boolean isConnected()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.