net.rim.device.api.io.nfc.handover
Class ConnectionHandoverCompletedEvent

java.lang.Object
  extended by net.rim.device.api.io.nfc.handover.ConnectionHandoverEvent
      extended by 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

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
ConnectionHandoverCompletedEvent(int transportType, int eventType)
          Creates a connection handover completed event.
 
Method Summary
 int getTransportType()
          Gets the transport type for which the connection handover happened.
 
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

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


Method Detail

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