|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.io.nfc.handover.ConnectionHandoverEvent
net.rim.device.api.io.nfc.handover.ConnectionHandoverCompletedEvent
net.rim.device.api.io.nfc.handover.BluetoothConnectionHandoverCompletedEvent
public class BluetoothConnectionHandoverCompletedEvent
Delivered to an application when a Bluetooth® connection handover event completes. Provides the class of device, the device address, the device name and service class UUID properties as specified by the Bluetooth specification.
| Field Summary |
|---|
| Fields inherited from class net.rim.device.api.io.nfc.handover.ConnectionHandoverEvent |
|---|
BLUETOOTH_TRANSPORT, REQUESTER_P2P_DETECTED, SELECTOR_P2P_DETECTED, SELECTOR_TAG_READ |
| Constructor Summary | ||
|---|---|---|
BluetoothConnectionHandoverCompletedEvent(int eventType,
byte[] deviceAddress,
String deviceName,
int classOfDevice,
byte[][] serviceClassUUID)
Constructs a Bluetooth connection handover completed event using the ConnectionHandoverEvent type specified. |
||
| Method Summary | ||
|---|---|---|
int |
getClassOfDevice()
Gets the Bluetooth class of device. |
|
byte[] |
getDeviceAddress()
Gets the Bluetooth device address. |
|
String |
getDeviceName()
Gets the Bluetooth device's name. |
|
byte[][] |
getServiceClassUUID()
Gets the Bluetooth device's service class UUID. |
|
| Methods inherited from class net.rim.device.api.io.nfc.handover.ConnectionHandoverCompletedEvent |
|---|
getTransportType |
| Methods inherited from class net.rim.device.api.io.nfc.handover.ConnectionHandoverEvent |
|---|
getEventType |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BluetoothConnectionHandoverCompletedEvent(int eventType,
byte[] deviceAddress,
String deviceName,
int classOfDevice,
byte[][] serviceClassUUID)
ConnectionHandoverEvent type specified.
eventType - One of the following:
ConnectionHandoverEvent.SELECTOR_TAG_READConnectionHandoverEvent.REQUESTER_P2P_DETECTEDConnectionHandoverEvent.SELECTOR_P2P_DETECTEDdeviceAddress - The Bluetooth device address.deviceName - The Bluetooth device's name.classOfDevice - The Bluetooth class of device.serviceClassUUID - The Bluetooth device's service class UUID.| Method Detail |
|---|
public int getClassOfDevice()
public byte[] getDeviceAddress()
public String getDeviceName()
public byte[][] getServiceClassUUID()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal