Package apple.corenfc.protocol
Interface NFCTag
-
- All Superinterfaces:
NSCoding,NSCopying,NSSecureCoding
- All Known Subinterfaces:
NFCFeliCaTag,NFCISO15693Tag,NFCISO7816Tag,NFCMiFareTag
public interface NFCTag extends NSSecureCoding, NSCopying
[@protocol] NFCTag A NFC / RFID tag object conforms to this protocol. The NFCReaderSession returns an instance of this type when a tag is detected.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NFCFeliCaTagasNFCFeliCaTag()[@property] asNFCFeliCaTag Returns nil if tag does not conform to NFCFeliCaTag.NFCISO15693TagasNFCISO15693Tag()asNFCISO15693TagNFCISO7816TagasNFCISO7816Tag()asNFCISO7816TagNFCMiFareTagasNFCMiFareTag()[@property] asNFCMiFareTag Returns nil if tag does not conform to NFCMiFareTag.booleanisAvailable()[@property] available: Check whether a detected tag is available.NFCReaderSessionsession()[@property] session Session that provides this tag.longtype()[@property] type See @link CNFCTagType @link/-
Methods inherited from interface apple.foundation.protocol.NSCoding
encodeWithCoder, initWithCoder
-
Methods inherited from interface apple.foundation.protocol.NSCopying
copyWithZone
-
Methods inherited from interface apple.foundation.protocol.NSSecureCoding
_supportsSecureCoding
-
-
-
-
Method Detail
-
asNFCFeliCaTag
NFCFeliCaTag asNFCFeliCaTag()
[@property] asNFCFeliCaTag Returns nil if tag does not conform to NFCFeliCaTag.
-
asNFCISO15693Tag
NFCISO15693Tag asNFCISO15693Tag()
asNFCISO15693Tag- Returns:
- Returns self if it conforms to the NFCISO15693Tag protocol; else returns nil.
-
asNFCISO7816Tag
NFCISO7816Tag asNFCISO7816Tag()
asNFCISO7816Tag- Returns:
- Returns self if it conforms to the NFCISO7816Tag protocol; else returns nil.
-
asNFCMiFareTag
NFCMiFareTag asNFCMiFareTag()
[@property] asNFCMiFareTag Returns nil if tag does not conform to NFCMiFareTag.
-
isAvailable
boolean isAvailable()
[@property] available: Check whether a detected tag is available.- Returns:
- YES if tag is available in the current reader session. A tag remove from the RF field will become unavailable. Tag in disconnected state will return NO.
-
session
NFCReaderSession session()
[@property] session Session that provides this tag.
-
type
long type()
[@property] type See @link CNFCTagType @link/
-
-