net.rim.device.api.io.nfc.handover
Class ConnectionHandoverCompletedEvent
java.lang.Object
net.rim.device.api.io.nfc.handover.ConnectionHandoverEvent
net.rim.device.api.io.nfc.handover.ConnectionHandoverCompletedEvent
- Direct Known Subclasses:
- BluetoothConnectionHandoverCompletedEvent
public class ConnectionHandoverCompletedEvent
- extends ConnectionHandoverEvent
Delivered to an application when a connection handover event completes.
- Since:
- BlackBerry API 7.1.0
|
Method Summary |
int |
getTransportType()
Gets the transport type for which the connection handover happened. |
ConnectionHandoverCompletedEvent
public ConnectionHandoverCompletedEvent(int transportType,
int eventType)
- Creates a connection handover completed event.
- Parameters:
transportType - The transport for which the connection handover happened. Currently, the only supported transport is Bluetooth®.eventType - One of the following:
ConnectionHandoverEvent.SELECTOR_TAG_READ
ConnectionHandoverEvent.REQUESTER_P2P_DETECTED
ConnectionHandoverEvent.SELECTOR_P2P_DETECTED
- Since:
- BlackBerry API 7.1.0
getTransportType
public int getTransportType()
- Gets the transport type for which the connection handover happened.
- Returns:
- The transport type for which the connection handover happened.
- Since:
- BlackBerry API 7.1.0
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