Definition
- Namespace:
- Tizen.Network.Nfc
- Assembly:
- Tizen.Network.Nfc.dll
- API Level:
- 3
The class for managing the Tag information.
public class NfcTag : IDisposable
- Inheritance
-
Constructors
Declaration
Properties
View Source
IsSupportNdef
Whether the given NFC tag supports the NDEF messages.
Declaration
public bool IsSupportNdef { get; }
Property Value
API Level: 3
View Source
MaximumNdefSize
The maximum NDEF message size that can be stored in the NFC tag.
Declaration
public uint MaximumNdefSize { get; }
Property Value
API Level: 3
View Source
NdefSize
The size of the NDEF message stored in the tag.
Declaration
public uint NdefSize { get; }
Property Value
API Level: 3
Declaration
public NfcTagType Type { get; }
Property Value
API Level: 3
Methods
Declaration
API Level: 3
Declaration
protected void Finalize()
Declaration
public IEnumerable<NfcTagInformation> ForeachInformation()
Returns
Type |
Description |
IEnumerable<NfcTagInformation> |
The list of the NfcTagInformation objects.
|
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/nfc
View Source
Formats the detected tag that can store the NDEF message.
Declaration
public Task<NfcError> FormatNdefMessageAsync(byte[] keyValue)
Parameters
Type |
Name |
Description |
Byte[] |
keyValue |
The key value that may need to format the tag.
|
Returns
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/nfc
View Source
ReadNdefMessageAsync()
Reads the NDEF formatted data from the NFC tag.
Declaration
public Task<NfcNdefMessage> ReadNdefMessageAsync()
Returns
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/nfc
View Source
TransceiveAsync(Byte[])
Transceives the data of the raw format card.
Declaration
public Task<byte[]> TransceiveAsync(byte[] buffer)
Parameters
Type |
Name |
Description |
Byte[] |
buffer |
The binary data for a parameter or additional commands.
|
Returns
Type |
Description |
Task<Byte[]> |
|
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/nfc
View Source
WriteNdefMessageAsync(NfcNdefMessage)
Writes the NDEF formatted data.
Declaration
public Task<NfcError> WriteNdefMessageAsync(NfcNdefMessage ndefMessage)
Parameters
Type |
Name |
Description |
NfcNdefMessage |
ndefMessage |
The NfcNdefMessage object.
|
Returns
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/nfc
Extension Methods