Public Member Functions | |
RtdHandoverSelector (byte[] payload, ref byte[] buffer, ref int next_ndef_starting_point) | |
RtdHandoverSelector (RtdAlternativeCarrier[] alternative_carrier, AbsoluteUri[] absolute_uri) | |
RtdHandoverSelector (RtdAlternativeCarrier alternative_carrier, AbsoluteUri absolute_uri) | |
override bool | Encode (ref byte[] buffer) |
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 () |
delegate void | NdefFoundCallback (NdefObject ndef) |
Properties | |
RtdAlternativeCarrier [] | AlternativeCarriers [get] |
AbsoluteUri [] | RelatedAbsoluteUris [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/RtdHandoverSelector
NAME RtdHandoverSelector
DESCRIPTION Represents a Ndef Record that stores an Handover Selector
SYNOPSIS RtdHandoverSelector handoverSelector = new RtdHandoverSelector() RtdHandoverSelector handoverSelector = new RtdHandoverSelector(byte[] payload, ref byte[] buffer, ref int next_ndef_starting_point) RtdHandoverSelector handoverSelector = new RtdHandoverSelector(RtdAlternativeCarrier[] alternative_carrier, AbsoluteUri[] absolute_uri) RtdHandoverSelector handoverSelector = new RtdHandoverSelector(RtdAlternativeCarrier alternative_carrier, AbsoluteUri absolute_uri)
DERIVED FROM Rtd
|
virtual |
m* SpringCard.NfcForum.Ndef/RtdHandoverSelector.Encode
SYNOPSIS public virtual bool Encode(ref byte[] buffer)
DESCRIPTION Serializes the Handover Selector Record and also concatenates the serialized Absolute Uris, referenced by the Alternative Carrier Records Returns true if it succeeds, false otherwise
Reimplemented from SpringCard.NfcForum.Ndef.NdefObject.
|
get |
v* SpringCard.NfcForum.Ndef/RtdHandoverSelector.AlternativeCarriers
SYNOPSIS public RtdAlternativeCarrier[] AlternativeCarriers
DESCRIPTION Gets the Alternative Carriers of this Handover Selector record
|
get |
v* SpringCard.NfcForum.Ndef/RtdHandoverSelector.RelatedAbsoluteUris
SYNOPSIS public AbsoluteUri[] RelatedAbsoluteUris
DESCRIPTION Gets the related absolute URIs of this Handover Selector record. These absolute URIs are those which are referenced by all the Carrier Data References and Auxiliary Data References of all the Alternative Carrier Records of his Handover Selector.