android.bluetooth
Class BluetoothSocket

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

public final class BluetoothSocket
extends java.lang.Object
implements java.io.Closeable


Method Summary
 void close()
           
 void connect()
           
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 BluetoothDevice getRemoteDevice()
           
 
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 java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Throws:
java.io.IOException

getRemoteDevice

public BluetoothDevice getRemoteDevice()

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Throws:
java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2008-2010. All Rights Reserved.