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

java.lang.Object
  extended by net.rim.device.api.io.nfc.emulation.VirtualTarget
      extended by net.rim.device.api.io.nfc.emulation.VirtualISO14443Part4Target
          extended by net.rim.device.api.io.nfc.emulation.VirtualISO14443Part4TypeBTarget

public class VirtualISO14443Part4TypeBTarget
extends VirtualISO14443Part4Target

Represents an emulated NFC ISO 14443-4 type B card target.

Since:
BlackBerry API 7.0.0

Constructor Summary
VirtualISO14443Part4TypeBTarget(VirtualISO14443Part4TargetCallback callback)
          Constructs an emulated NFC ISO 14443 type B card target.
VirtualISO14443Part4TypeBTarget(VirtualISO14443Part4TargetCallback callback, String identifier, byte afi, int numOfApps, byte[] informationField)
          Constructs an emulated NFC ISO 14443 type B card target.
 
Method Summary
 
Methods inherited from class net.rim.device.api.io.nfc.emulation.VirtualISO14443Part4Target
isEmulating, startEmulation, stopEmulation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

VirtualISO14443Part4TypeBTarget

public VirtualISO14443Part4TypeBTarget(VirtualISO14443Part4TargetCallback callback)
                                throws NFCException
Constructs an emulated NFC ISO 14443 type B card target.

Parameters:
callback - A VirtualISO14443TargetCallback to process ISO 14443 commands.
Throws:
NFCException - When the virtual card cannot be created.
IllegalArgumentException - If callback is null.
Since:
BlackBerry API 7.0.0

VirtualISO14443Part4TypeBTarget

public VirtualISO14443Part4TypeBTarget(VirtualISO14443Part4TargetCallback callback,
                                       String identifier,
                                       byte afi,
                                       int numOfApps,
                                       byte[] informationField)
                                throws NFCException
Constructs an emulated NFC ISO 14443 type B card target.

Parameters:
callback - A VirtualISO14443TargetCallback to process ISO 14443 commands.
identifier - An identifier for the emulated NFC ISO 14443 type B card target. If null the identifier will be automatically generated. The identifier for type B must have length 4.
afi - The Application Family Identifier defined in ISO 14443-3: Section 7.7.3 (Coding of AFI).
numOfApps - The number of applications defined in ISO 14443-3: Section 7.9.3 (Application Data).
informationField - The Information Field defined in ISO 14443-4: Section 7.1.2 Information field. If null this parameter is ignored.
Throws:
NFCException - When the virtual card cannot be created.
IllegalArgumentException - When callback is null or identifier does not have length 4 when not null.
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