Android Programming Press on the image to return to the main documentation page.

NFC

List of types:

NdefRecord
NFC

NdefRecord


Events:

None

Members:


  GetAsTextType As String

  GetAsUriType As String

  GetPayload As Byte()

  IsInitialized As Boolean

Members description:

GetAsTextType As String
Reads the payload and returns the stored text.
GetAsUriType As String
Reads the payload and returns the stored Uri.
GetPayload As Byte()
Returns the whole payload.
IsInitialized As Boolean

NFC

Supports reading NDEF (NFC Data Exchange Format) tags.
See this tutorial for more information.

Permissions:

android.permission.NFC

Events:

None

Members:


  GetNdefRecords (Intent As android.content.Intent) As List

  IsNdefIntent (Intent As android.content.Intent) As Boolean

Members description:

GetNdefRecords (Intent As android.content.Intent) As List
Retrieves the NdefRecords stored in the Intent object.
IsNdefIntent (Intent As android.content.Intent) As Boolean
Tests whether the Intent contains data read from an NDef tag.
Top