11.07.2015 Views

Contactless Communication API - Oracle Software Delivery Cloud

Contactless Communication API - Oracle Software Delivery Cloud

Contactless Communication API - Oracle Software Delivery Cloud

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Package javax.microedition.contactless.ndefNDEFRecordTypeFieldsEMPTYpublic static final int EMPTYRecord type name format identifier for the empty record. This format indicates there is no type name associated with thisrecord. When this format is used, the record type name is omitted. The only valid value for the record type name with thisEMPTY record type is null .Value: 0EXTERNAL_RTDMIMEpublic static final int EXTERNAL_RTDRecord type name format identifier for application specific record type names that follow the NFC Forum naming conventions.Value: 4public static final int MIMERecord type name format identifier for the MIME type defined in the RFC 2046.Value: 2NFC_FORUM_RTDUNKNOWNURIpublic static final int NFC_FORUM_RTDRecord type name format identifier for the NFC Forum Record Type Description.Value: 1public static final int UNKNOWNRecord type name format identifier for the unknown record type. This format indicates that the type of the payload isunknown. The only valid values for the record type name with this UNKNOWN record type is null .Value: 5public static final int URIRecord type name format identifier for the URI type defined in the RFC 3986.Value: 3ConstructorsNDEFRecordType(int, java.lang.String)public NDEFRecordType (int format, java.lang.String name)Creates a new record type object. The format must be one of the constants defined in this class. If the format is EMPTY orUNKNOWN the name must be null . The record type names of NFC_FORUM_RTD and EXTERNAL_RTD record types mustfollow the naming rules defined in the NFC Forum RTD specification. The record type name must only contain charactersin the US_ASCII character set.39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!