nfc.beam()


Type Function

Return value none

Platform Android only

See also nfc.*


Overview

Beam prepares the device for beaming an NDEF message to another device. The transfer starts when two devices are put near together.

Syntax

nfc.beam(params)

params required

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table includes parameters for the call.

message required

NdefMessage. Contains NDEF message as an array of NDEF records.

listener required

Listener. Listener which receives the beam event.