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

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

public abstract class VirtualISO14443Part4Target
extends VirtualTarget

Base class that represents an emulated NFC ISO 14443 card target.

Since:
BlackBerry API 7.0.0

Constructor Summary
VirtualISO14443Part4Target()
          Constructs a VirtualISO14443Target object.
 
Method Summary
 boolean isEmulating()
          Indicates whether this target is started.
 void startEmulation()
          Starts virtual ISO 14443 target emulation.
 void stopEmulation()
          Stops virtual ISO 14443 target emulation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

VirtualISO14443Part4Target

public VirtualISO14443Part4Target()
Constructs a VirtualISO14443Target object.

Since:
BlackBerry API 7.0.0


Method Detail

startEmulation

public final void startEmulation()
                          throws EmulationInProgressException,
                                 NFCException
Starts virtual ISO 14443 target emulation.

Specified by:
startEmulation in class VirtualTarget
Throws:
EmulationInProgressException - When emulation cannot be started because an emulation operation is already in progress.
NFCException - When emulation cannot be started for any other reason
ControlledAccessException - When emulation cannot be started because of insufficient application permissions.
SecurityException - When emulation cannot be started because of IT Policy restrictions.
Since:
BlackBerry API 7.0.0

stopEmulation

public final void stopEmulation()
                         throws NFCException
Stops virtual ISO 14443 target emulation.

Specified by:
stopEmulation in class VirtualTarget
Throws:
NFCException - When emulation cannot be stopped.
Since:
BlackBerry API 7.0.0

isEmulating

public final boolean isEmulating()
                          throws NFCException
Indicates whether this target is started.

Specified by:
isEmulating in class VirtualTarget
Returns:
true if target emulation has begun; false otherwise.
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