Public Member Functions | |
RtdVCard (byte[] payload) | |
void | set_photo (string s) |
string | get_photo () |
void | set_input_texts (string name, string value) |
override bool | Encode (ref byte[] buffer) |
Public Member Functions inherited from SpringCard.NfcForum.Ndef.RtdMedia | |
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 () |
delegate void | NdefFoundCallback (NdefObject ndef) |
Properties | |
string | Nickname [get, set] |
string | Email_alternative [get, set] |
string | Pager [get, set] |
string | Fax [get, set] |
string | Home_phone [get, set] |
string | Cell_phone [get, set] |
string | First_name [get, set] |
string | Family_name [get, set] |
string | Business_phone [get, set] |
string | Email [get, set] |
string | Birthday [get, set] |
string | Country [get, set] |
string | Town [get, set] |
string | Address2 [get, set] |
string | Address1 [get, set] |
string | Post_Code [get, set] |
string | Region_State [get, set] |
string | Role [get, set] |
string | Title [get, set] |
string | Company [get, set] |
string | Pro_Address1 [get, set] |
string | Pro_Address2 [get, set] |
string | Pro_Post_Code [get, set] |
string | Pro_Region_State [get, set] |
string | Pro_Town [get, set] |
string | Pro_Country [get, set] |
string | Middle_name [get, set] |
string | Prefix_name [get, set] |
string | Suffix_name [get, set] |
Properties inherited from SpringCard.NfcForum.Ndef.RtdMedia | |
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/RtdVCard
NAME RtdVCard
DESCRIPTION Represents a Ndef Record that stores a VCard
SYNOPSIS RtdVCard vCard = new RtdVCard() RtdVCard vCard = new RtdVCard(byte[] Payload)
DERIVED FROM RtdMedia
|
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.
string SpringCard.NfcForum.Ndef.RtdVCard.get_photo | ( | ) |
m* SpringCard.NfcForum.Ndef/RtdVCard.get_photo
SYNOPSIS public string get_photo()
DESCRIPTION Gets the picture (image or photograph information) as a base 64 string
void SpringCard.NfcForum.Ndef.RtdVCard.set_input_texts | ( | string | name, |
string | value | ||
) |
m* SpringCard.NfcForum.Ndef/RtdVCard.set_input_texts
SYNOPSIS public void set_input_texts(string name, string value)
DESCRIPTION Sets the value "value" to the attribute "name" Example : set_input_texts("First_name", "John") sets the First Name of the VCard to John. Possible values for parameter "name" are : Nickname / Email_alternative / Pager / Fax / Home_phone / Cell_phone / First_name Family_name / Business_phone / Email / Birthday / Country / Town / Address2 / Address1 Post_Code / Region_State / Role / Title / Company / Pro_Address1 / Pro_Address2 Pro_Post_Code / Pro_Region_State / Pro_Town / Pro_Country
void SpringCard.NfcForum.Ndef.RtdVCard.set_photo | ( | string | s | ) |
m* SpringCard.NfcForum.Ndef/RtdVCard.set_photo
SYNOPSIS public void set_photo(string s)
DESCRIPTION Sets the picture (image or photograph information) in a base 64 string
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Address1
SYNOPSIS public string Address1
DESCRIPTION Gets and sets the first part of the adrress
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Address2
SYNOPSIS public string Address2
DESCRIPTION Gets and sets the second part of the address
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Birthday
SYNOPSIS public string Birthday
DESCRIPTION Gets and sets the birthday
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Business_phone
SYNOPSIS public string Business_phone
DESCRIPTION Gets and sets the business phone number
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Cell_phone
SYNOPSIS public string Cell_phone
DESCRIPTION Gets and sets the cell phone number
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Company
SYNOPSIS public string Company
DESCRIPTION Gets and sets the company
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Country
SYNOPSIS public string Country
DESCRIPTION Gets and sets the country
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Email
SYNOPSIS public string Email
DESCRIPTION Gets and sets the e-mail
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Email_alternative
SYNOPSIS public string Email_alternative
DESCRIPTION Gets and sets the alternative e-mail
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Family_name
SYNOPSIS public string Family_name
DESCRIPTION Gets and sets the family name
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Fax
SYNOPSIS public string Fax
DESCRIPTION Gets and sets the fax number
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.First_name
SYNOPSIS public string First_name
DESCRIPTION Gets and sets the first name
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Home_phone
SYNOPSIS public string Home_phone
DESCRIPTION Gets and sets the home phone number
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Middle_name
SYNOPSIS public string Middle_name
DESCRIPTION Gets and sets the middle name
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Nickname
SYNOPSIS public string Nickname
DESCRIPTION Gets and sets the nickname
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Pager
SYNOPSIS public string Pager
DESCRIPTION Gets and sets the pager
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Post_Code
SYNOPSIS public string Post_Code
DESCRIPTION Gets and sets the postal code
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Prefix_name
SYNOPSIS public string Prefix_name
DESCRIPTION Gets and sets the name prefix
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Pro_Address1
SYNOPSIS public string Pro_Address1
DESCRIPTION Gets and sets the first part of the professional address
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Pro_Address2
SYNOPSIS public string Pro_Address2
DESCRIPTION Gets and sets the second part of the professional address
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Pro_Country
SYNOPSIS public string Pro_Country
DESCRIPTION Gets and sets the professional country
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Pro_Post_Code
SYNOPSIS public string Pro_Post_Code
DESCRIPTION Gets and sets the professional post code
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Pro_Region_State
SYNOPSIS public string Pro_Region_State
DESCRIPTION Gets and sets the professional region (state or province)
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Pro_Town
SYNOPSIS public string Pro_Town
DESCRIPTION Gets and sets the professional town
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Region_State
SYNOPSIS public string Region_State
DESCRIPTION Gets and sets the region (state or province)
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Role
SYNOPSIS public string Role
DESCRIPTION Gets and sets the role (function)
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Suffix_name
SYNOPSIS public string Prefix_name
DESCRIPTION Gets and sets the name suffix
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Title
SYNOPSIS public string Title
DESCRIPTION Gets and sets the title
|
getset |
v* SpringCard.NfcForum.Ndef/RtdVCard.Town
SYNOPSIS public string Town
DESCRIPTION Gets and sets the town