diff options
| author | Nick Pelly <npelly@google.com> | 2009-08-19 11:00:00 -0700 |
|---|---|---|
| committer | Nick Pelly <npelly@google.com> | 2009-08-19 20:39:54 -0700 |
| commit | 45e2704ff512d41e22af2801d76e96955469ce8d (patch) | |
| tree | 9fff1a5f5e577c5545c2a9e7fdf4a25812d0973b /api | |
| parent | f768d24f7d9c01d1e01fdbccc3adc75fda3f8d4b (diff) | |
| download | frameworks_base-45e2704ff512d41e22af2801d76e96955469ce8d.zip frameworks_base-45e2704ff512d41e22af2801d76e96955469ce8d.tar.gz frameworks_base-45e2704ff512d41e22af2801d76e96955469ce8d.tar.bz2 | |
API CHANGE
Javadoc, and unhide the first pieces of the Bluetooth API.
With this commit there is enough public API to connect and use an RFCOMM
connection between Bluetooth devices.
Diffstat (limited to 'api')
| -rw-r--r-- | api/current.xml | 240 |
1 files changed, 240 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml index e9c3b30..881c71f 100644 --- a/api/current.xml +++ b/api/current.xml @@ -25001,6 +25001,235 @@ </field> </class> </package> +<package name="android.bluetooth" +> +<class name="BluetoothAdapter" + extends="java.lang.Object" + abstract="false" + static="false" + final="true" + deprecated="not deprecated" + visibility="public" +> +<method name="getRemoteDevice" + return="android.bluetooth.BluetoothDevice" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="address" type="java.lang.String"> +</parameter> +</method> +<method name="listenUsingRfcommOn" + return="android.bluetooth.BluetoothServerSocket" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="channel" type="int"> +</parameter> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> +</class> +<class name="BluetoothDevice" + extends="java.lang.Object" + abstract="false" + static="false" + final="true" + deprecated="not deprecated" + visibility="public" +> +<implements name="android.os.Parcelable"> +</implements> +<method name="createRfcommSocket" + return="android.bluetooth.BluetoothSocket" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="channel" type="int"> +</parameter> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> +<method name="describeContents" + return="int" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +<method name="getAddress" + return="java.lang.String" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +<method name="writeToParcel" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="out" type="android.os.Parcel"> +</parameter> +<parameter name="flags" type="int"> +</parameter> +</method> +</class> +<class name="BluetoothServerSocket" + extends="java.lang.Object" + abstract="false" + static="false" + final="true" + deprecated="not deprecated" + visibility="public" +> +<implements name="java.io.Closeable"> +</implements> +<method name="accept" + return="android.bluetooth.BluetoothSocket" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> +<method name="accept" + return="android.bluetooth.BluetoothSocket" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="timeout" type="int"> +</parameter> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> +<method name="close" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> +</class> +<class name="BluetoothSocket" + extends="java.lang.Object" + abstract="false" + static="false" + final="true" + deprecated="not deprecated" + visibility="public" +> +<implements name="java.io.Closeable"> +</implements> +<method name="close" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> +<method name="connect" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> +<method name="getInputStream" + return="java.io.InputStream" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> +<method name="getOutputStream" + return="java.io.OutputStream" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<exception name="IOException" type="java.io.IOException"> +</exception> +</method> +<method name="getRemoteDevice" + return="android.bluetooth.BluetoothDevice" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +</class> +</package> <package name="android.content" > <class name="AbstractCursorEntityIterator" @@ -29359,6 +29588,17 @@ visibility="public" > </field> +<field name="BLUETOOTH_SERVICE" + type="java.lang.String" + transient="false" + volatile="false" + value=""bluetooth"" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> <field name="CLIPBOARD_SERVICE" type="java.lang.String" transient="false" |
