# Modules.Nfc.NdefRecordText

Represents an immutable NDEF record containing text.

Availability
1.0.0

# Properties

# apiName READONLY

Availability
3.2.0
apiName :String

The name of the API that this proxy corresponds to.

The value of this property is the fully qualified name of the API. For example, Titanium.UI.Button returns Ti.UI.Button.


# encoding

Availability
1.0.0
encoding :String

Encoding format. Default is ENCODING_UTF8 ("UTF-8");


# hashCode READONLY

Availability
1.0.0
hashCode :Number

The integer hash code for this object.


# id READONLY

Availability
1.0.0
id :String

The variable length ID.


# languageCode

Availability
1.0.0
languageCode :String

Language code. Defaults to current locale.


# lifecycleContainer

Availability
3.6.0

The Window or TabGroup whose Activity lifecycle should be triggered on the proxy.

If this property is set to a Window or TabGroup, then the corresponding Activity lifecycle event callbacks will also be called on the proxy. Proxies that require the activity lifecycle will need this property set to the appropriate containing Window or TabGroup.


# payload

Availability
1.0.0
payload :Titanium.Blob

The variable length payload for the record.


# recordType READONLY

Availability
1.0.0
recordType :String

The record type.


# text

Availability
1.0.0
text :String

Text.


# tnf READONLY

Availability
1.0.0
tnf :Number

The 3-bit TNF.


# type READONLY

Availability
1.0.0
type :String

The variable length Type field.

# Methods

# getHashCode

Availability
1.0.0
getHashCode() Number

Returns the integer hash code for this object.

Returns

Type
Number

# getId

Availability
1.0.0
getId() String

Returns the variable length ID.

Returns

Type
String

# getRecordType

Availability
1.0.0
getRecordType() String

Returns the record type.

This is the class name of the NDEF record (e.g. NdefRecordText)

Returns

Type
String

# getTnf

Availability
1.0.0
getTnf() Number

Returns the 3-bit TNF.

Returns

Type
Number

# getType

Availability
1.0.0
getType() String

Returns the variable length Type field.

Returns

Type
String