Modules.Nfc.NdefMessage
> Modules.Nfc.NdefMessage

Represents an immutable NDEF message.

Requires: iOS 11.0 and later

Use the Modules.Nfc.createNdefMessage method to create an NDEF message.

See also: NdefMessage

  • 1.0.0
  • 6.3.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
Modules.Nfc.NdefMessage
records : Modules.Nfc.NdefRecord[]

NDEF records inside this NDEF message.

NDEF records inside this NDEF message.

Defined By

Methods

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.NdefMessage
( ) : Modules.Nfc.NdefRecord[]
Gets the value of the records property. ...

Gets the value of the records property.

Returns

Sets the value of the lifecycleContainer property. ...

Sets the value of the lifecycleContainer property.

  • 3.6.0

Parameters

Returns

  • void
Modules.Nfc.NdefMessage
( records )
Sets the value of the records property. ...

Sets the value of the records property.

Parameters

Returns

  • void
Modules.Nfc.NdefMessage
( ) : Titanium.Blob
Return the NDEF message as raw bytes. ...

Return the NDEF message as raw bytes.

  • 1.0.0

Returns