SpringCard PC/SC Helpers for .NET  18.10.10
High-level access to a few current cards and to advanced coupler features
SpringCard.NfcForum.Ndef.RtdSmartPoster Class Reference
Inheritance diagram for SpringCard.NfcForum.Ndef.RtdSmartPoster:
SpringCard.NfcForum.Ndef.Rtd SpringCard.NfcForum.Ndef.NdefObject

Public Member Functions

 RtdSmartPoster (byte[] payload)
 
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)
 

Public Attributes

RtdUri Uri = null
 
List< RtdTextTitle = new List<RtdText>()
 
RtdSmartPosterAction Action = null
 
RtdSmartPosterTargetIcon TargetIcon = null
 
RtdSmartPosterTargetType TargetType = null
 
RtdSmartPosterTargetSize TargetSize = null
 
- 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
 

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)
 
- Protected Attributes inherited from SpringCard.NfcForum.Ndef.NdefObject
byte [] _payload = null
 
List< NdefObject_children = new List<NdefObject>()
 
- Properties inherited from SpringCard.NfcForum.Ndef.NdefObject
byte TNF [get, set]
 
string TYPE [get, set]
 
byte [] ID [get, set]
 
byte [] PAYLOAD [get, set]
 

Detailed Description

c* SpringCard.NfcForum.Ndef/RtdSmartPoster

NAME RtdSmartPoster

DESCRIPTION Represents a Ndef Record that stores a SmartPoster (according to NFC Forum SmartPoster specification)

SYNOPSIS RtdSmartPoster smartPoster = new RtdSmartPoster() RtdSmartPoster smartPoster = new RtdSmartPoster(byte[] payload)

DERIVED FROM Rtd

USES RtdUri RtdText RtdSmartPosterAction RtdSmartPosterTargetIcon RtdSmartPosterTargetType RtdSmartPosterTargetSize

Member Function Documentation

◆ Encode()

override bool SpringCard.NfcForum.Ndef.RtdSmartPoster.Encode ( ref byte []  buffer)
virtual

m* SpringCard.NfcForum.Ndef/NdefObject.Encode

SYNOPSIS public virtual bool Encode(ref byte[] buffer)

DESCRIPTION Serializes the NDEF and returns true if the operation succeeds

Reimplemented from SpringCard.NfcForum.Ndef.NdefObject.


The documentation for this class was generated from the following file: