|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanger.bluetooth.BluetoothConnection
public class BluetoothConnection
This class is based on HiptopConnection. It's JavaDoc suffices. Username here can either be the name of a bluetooth device, or it's address in the form "nn:nn:nn:nn:nn:nn".
| Constructor Summary | |
|---|---|
BluetoothConnection()
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs. |
|
| Method Summary | |
|---|---|
static void |
getVersion()
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.Request the version of the BluetoothConnection protocol. |
static void |
miscellaneous_ThrowError(byte[] data,
int sequenceID)
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.Send data to service - provided for future expansion. |
static void |
miscellaneous(byte[] data,
int sequenceID)
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.Send data to service - provided for future expansion. |
static void |
send_ThrowError(String username,
byte[] data,
int sequenceID)
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.Send data to another hiptop. |
static void |
send(String username,
byte[] data,
int sequenceID)
EXPERIMENTAL Experimental APIs are APIs that are early-stage and not yet finalized or fully qualified. In future releases, these APIs may be changed in incompatible ways, replaced or even removed completely without warning. For these reasons, Danger will not publish applications that use any experimental APIs.Send data to another hiptop. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BluetoothConnection()
| Method Detail |
|---|
public static void getVersion()
public static void send(String username,
byte[] data,
int sequenceID)
username - non-null; The bluetooth name or address of the hiptop to send to.data - The data to be sent.sequenceID - A sequence number used to match responses with requests
public static void send_ThrowError(String username,
byte[] data,
int sequenceID)
throws IOException
username - non-null; The bluetooth name or address of the hiptop to send to.data - The data to be sent.sequenceID - A sequence number used to match responses with requests
IOException
public static void miscellaneous(byte[] data,
int sequenceID)
data - The data to be sent.sequenceID - A sequence number used to match responses with requests
public static void miscellaneous_ThrowError(byte[] data,
int sequenceID)
throws IOException
data - The data to be sent.sequenceID - A sequence number used to match responses with requests
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||