java.lang.String getMapping()
If the target type is
RFID_TAG this method returns the name of the mapping between the commands in the
PlainTagConnection and the physical target structure. The returned String can be, for example, "Mifare 1K". If the access to the tag is only supported through some target-specific connection interface the API implementation provides and not through the
PlainTagConnection interface, this method returns
null. If mapping name is provided for the
RFID_TAG, the
PlainTagConnection must be one of the connections returned with the method
getConnectionNames. Mapping names ISO14443A and ISO14443B may be used to indicate protocol based mapping.
For
NDEF_TAG targets this method returns the name and the version of the NDEF mapping, like for example, "JewelTag v1.0"". In both cases the mapping name is provided by the API implementation or by the physical tag manufacturer. For other target types the method must return
null.
Returns:
the name of the mapping, or
null if target type does not have mapping