Modules.Nfc.TagTechnologyMifareUltralight
> Modules.Nfc.TagTechnologyMifareUltralight

Provides access to MIFARE Ultralight properties and I/O operations on a Modules.Nfc.NfcTag.

Use the Modules.Nfc.createTagTechnologyMifareUltralight method to create this tag technology.

See also: MifareUltralight

  • 1.1.0
Defined By

Properties

apiName : Stringreadonly

The name of the API that this proxy corresponds to.

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, Button returns Ti.UI.Button.

  • 3.2.0
  • 3.2.0
  • 3.2.0

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

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.

  • 3.6.0

The tag technology that has been discovered.

The tag technology that has been discovered.

When a tag is discovered, a Modules.Nfc.NfcTag proxy is created and passed as a property to the onNdefDiscovered, onTagDiscovered, or onTechDiscovered callback (see NdefDiscovered).

Defined By

Methods

Disable I/O operations to the tag and release resources. ...

Disable I/O operations to the tag and release resources.

Returns

  • void
Enable I/O operations to the tag. ...

Enable I/O operations to the tag.

Only one Tag Technology proxy can be connected to a Tag at a time.

Returns

  • void
Gets the value of the apiName property. ...

Gets the value of the apiName property.

  • 3.2.0
  • 3.2.0
  • 3.2.0

Returns

  • String
Gets the value of the lifecycleContainer property. ...

Gets the value of the lifecycleContainer property.

  • 3.6.0

Returns

Modules.Nfc.TagTechnologyMifareUltralight
( ) : Number
Return the maximum number of bytes that can be sent with transceive. ...

Return the maximum number of bytes that can be sent with transceive.

Returns

  • Number
Gets the value of the tag property. ...

Gets the value of the tag property.

Returns

Modules.Nfc.TagTechnologyMifareUltralight
( ) : Number
Get the current transceive timeout in milliseconds. ...

Get the current transceive timeout in milliseconds.

Returns

  • Number
Modules.Nfc.TagTechnologyMifareUltralight
( ) : Number
Return the MIFARE Ultralight type of the tag. ...

Return the MIFARE Ultralight type of the tag.

One of MIFARE_ULTRALIGHT_TYPE_ULTRALIGHT, MIFARE_ULTRALIGHT_TYPE_ULTRALIGHT_C, or MIFARE_ULTRALIGHT_TYPE_UNKNOWN.

Returns

  • Number
Returns true if connect has completed, and close has not been called, and the tag is not known to be out of range. ...

Returns true if connect has completed, and close has not been called, and the tag is not known to be out of range.

Returns

  • Boolean
Return true if this tag technology was successfully obtained. ...

Return true if this tag technology was successfully obtained.

Returns

  • Boolean
Modules.Nfc.TagTechnologyMifareUltralight
( pageOffset ) : Titanium.Buffer
Read 4 pages (16 bytes). ...

Read 4 pages (16 bytes).

Parameters

  • pageOffset : Number

    Index of first page to read, starting from 0.

Returns

Sets the value of the lifecycleContainer property. ...

Sets the value of the lifecycleContainer property.

  • 3.6.0

Parameters

Returns

  • void
Sets the value of the tag property. ...

Sets the value of the tag property.

Parameters

Returns

  • void
Modules.Nfc.TagTechnologyMifareUltralight
( timeout )
Set the transceive timeout in milliseconds. ...

Set the transceive timeout in milliseconds.

Parameters

  • timeout : Number

    Timeout value in milliseconds.

Returns

  • void
Modules.Nfc.TagTechnologyMifareUltralight
( data ) : Titanium.Buffer
Send raw NfcA data to the tag and receive the response. ...

Send raw NfcA data to the tag and receive the response.

Parameters

Returns

Modules.Nfc.TagTechnologyMifareUltralight
( pageOffset, data )
Write 1 page (4 bytes). ...

Write 1 page (4 bytes).

Parameters

  • pageOffset : Number

    Index of page to write, starting from 0.

  • data : Titanium.Buffer

    4 bytes to write.

Returns

  • void