net.rim.device.api.io.nfc.emulation
Class VirtualTarget

java.lang.Object
  extended by net.rim.device.api.io.nfc.emulation.VirtualTarget
Direct Known Subclasses:
VirtualISO14443Part4Target, VirtualNDEFTag

public abstract class VirtualTarget
extends Object

Abstract base class for all NFC emulation targets.

Since:
BlackBerry API 7.0.0

Constructor Summary
VirtualTarget()
          Default constructor
 
Method Summary
abstract  boolean isEmulating()
          Indicates whether this target is currently active.
abstract  void startEmulation()
          Starts target emulation.
abstract  void stopEmulation()
          Stops target emulation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

VirtualTarget

public VirtualTarget()
Default constructor

Since:
BlackBerry API 7.0.0


Method Detail

startEmulation

public abstract void startEmulation()
                             throws NFCException
Starts target emulation.

Throws:
NFCException - When emulation cannot be started.
Since:
BlackBerry API 7.0.0

stopEmulation

public abstract void stopEmulation()
                            throws NFCException
Stops target emulation.

Throws:
NFCException - When emulation cannot be stopped.
Since:
BlackBerry API 7.0.0

isEmulating

public abstract boolean isEmulating()
                             throws NFCException
Indicates whether this target is currently active.

Returns:
true if target emulation has begun; otherwise false.
Throws:
NFCException - If a problem occurs while checking emulation status.
Since:
BlackBerry API 7.0.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