Public Member Functions | |
RtdMedia (string MimeType) | |
RtdMedia (string MimeType, string TextContent) | |
RtdMedia (string MimeType, byte[] RawContent) | |
Public Member Functions inherited from SpringCard.NfcForum.Ndef.Rtd | |
Rtd (byte TNF, string Type) | |
Rtd (byte TNF, string Type, byte[] id) | |
Rtd (byte TNF, string Type, byte[] id, byte[] payload) | |
Rtd (NdefObject record) | |
Public Member Functions inherited from SpringCard.NfcForum.Ndef.NdefObject | |
NdefObject (NdefObject ndef) | |
NdefObject (byte _TNF, string _TYPE) | |
NdefObject (byte _TNF, string _TYPE, byte[] _PAYLOAD) | |
NdefObject (byte _TNF, string _TYPE, byte[] ID, byte[] _PAYLOAD) | |
NdefObject (byte _TNF, byte[] _TYPE, byte[] ID, byte[] _PAYLOAD) | |
void | SetMessageBegin (bool mb) |
void | SetMessageEnd (bool me) |
int | Size (ref bool is_short_record) |
byte [] | GetBytes (bool isBegin, bool isEnd) |
byte [] | GetBytes () |
virtual bool | Encode (ref byte[] buffer) |
delegate void | NdefFoundCallback (NdefObject ndef) |
Properties | |
string | TextContent [get] |
byte [] | RawContent [get] |
Properties inherited from SpringCard.NfcForum.Ndef.NdefObject | |
byte | TNF [get, set] |
string | TYPE [get, set] |
byte [] | ID [get, set] |
byte [] | PAYLOAD [get, set] |
Additional Inherited Members | |
Static Public Member Functions inherited from SpringCard.NfcForum.Ndef.NdefObject | |
static bool | Parse (byte[] buffer, NdefFoundCallback callback) |
static bool | Parse (byte[] buffer, ref int offset, ref NdefObject ndef, ref bool terminated) |
static NdefObject [] | Parse (byte[] buffer) |
Public Attributes inherited from SpringCard.NfcForum.Ndef.NdefObject | |
const byte | MESSAGE_BEGIN = 0x80 |
const byte | MESSAGE_END = 0x40 |
const byte | CHUNK_FLAG = 0x20 |
const byte | SHORT_RECORD = 0x10 |
const byte | ID_LENGTH_PRESENT = 0x08 |
const byte | TNF_MASK = 0x07 |
const byte | TNF_EMPTY = 0x00 |
const byte | TNF_NFC_RTD_WKN = 0x01 |
const byte | TNF_MEDIA_TYPE = 0x02 |
const byte | TNF_ABSOLUTE_URI = 0x03 |
const byte | TNF_NFC_RTD_EXT = 0x04 |
const byte | TNF_UNKNOWN = 0x05 |
const byte | TNF_UNCHANGED = 0x06 |
const byte | TNF_RESERVED = 0x07 |
Protected Attributes inherited from SpringCard.NfcForum.Ndef.NdefObject | |
byte [] | _payload = null |
List< NdefObject > | _children = new List<NdefObject>() |
c* SpringCard.NfcForum.Ndef/RtdMedia
NAME RtdMedia
DESCRIPTION Represents a Ndef Record that stores an arbitrary MIME Media
SYNOPSIS RtdMedia media = new RtdMedia(string MimeType) RtdMedia media = new RtdMedia(string MimeType, string TextContent) RtdMedia media = new RtdMedia(string MimeType, byte[] RawContent)
DERIVED FROM Rtd
DERIVED BY RtdVCard
|
get |
v* SpringCard.NfcForum.Ndef/RtdMedia.RawContent
SYNOPSIS public byte[] RawContent
DESCRIPTION Returns the payload of the RtdMedia object, as a byte array
|
get |
v* SpringCard.NfcForum.Ndef/RtdMedia.TextContent
SYNOPSIS public string TextContent
DESCRIPTION Returns the payload of the RtdMedia object, as an ASCII string