net.rim.device.api.io.nfc.emulation
Class VirtualISO14443Part4TypeATarget
java.lang.Object
net.rim.device.api.io.nfc.emulation.VirtualTarget
net.rim.device.api.io.nfc.emulation.VirtualISO14443Part4Target
net.rim.device.api.io.nfc.emulation.VirtualISO14443Part4TypeATarget
public class VirtualISO14443Part4TypeATarget
- extends VirtualISO14443Part4Target
Represents an emulated NFC ISO 14443-4 type A card target.
- Since:
- BlackBerry API 7.0.0
VirtualISO14443Part4TypeATarget
public VirtualISO14443Part4TypeATarget(VirtualISO14443Part4TargetCallback callback)
throws NFCException
- Constructs an emulated NFC ISO 14443 type A card target.
- Parameters:
callback
- A VirtualISO14443TargetCallback
to process ISO 14443 commands.
- Throws:
NFCException
- When the virtual card cannot be created.
IllegalArgumentException
- When callback is null.- Since:
- BlackBerry API 7.0.0
VirtualISO14443Part4TypeATarget
public VirtualISO14443Part4TypeATarget(VirtualISO14443Part4TargetCallback callback,
String identifier,
byte[] historicalBytes)
throws NFCException
- Constructs an emulated NFC ISO 14443 type A card target.
- Parameters:
callback
- A VirtualISO14443TargetCallback
to process ISO 14443 commands.identifier
- An identifier for the emulated NFC ISO 14443 type A card target. If null
the identifier will be automatically generated. The identifier for type A must have length
4, 7 or 10.historicalBytes
- The Historical Bytes of ATS, defined in ISO 14443-4: Section 5.2.7. If
null
the Historical Bytes parameter is ignored.
- Throws:
NFCException
- When the virtual card cannot be created.
IllegalArgumentException
- When callback is null or identifier does not have length 4, 7 or 10 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