|
| | NdefIcalendarRecordBase () |
| | Create an empty MIME/iCal Record. More...
|
| |
| | NdefRecord () |
| | Create an empty record, not setting any information. More...
|
| |
| | NdefRecord (TypeNameFormatType tnf, byte[] type) |
| | Create a new record with the specified type name format and type. Doesn't set the payload and ID. More...
|
| |
| | NdefRecord (NdefRecord other) |
| | Create a new record, copying the information of the record sent through the parameter. More...
|
| |
| Type | CheckSpecializedType (bool checkForSubtypes) |
| | Checks the type name format and type of this record and returns the appropriate specialized class, if one is available and known for this record type. More...
|
| |
| virtual bool | CheckIfValid () |
| | Checks if the contents of the record are valid; throws an exception if a problem is found, containing a textual description of the issue. More...
|
| |
|
| static bool | IsRecordType (NdefRecord record) |
| | Checks if the record sent via the parameter is indeed a MIME/iCal record. Only checks the type and type name format, doesn't analyze if the payload is valid. More...
|
| |
|
| static readonly byte [] | IcalType = Encoding.UTF8.GetBytes("text/calendar") |
| | Type of the NDEF MIME / iCal record. More...
|
| |
|
| enum | TypeNameFormatType {
TypeNameFormatType.Empty = 0x00,
TypeNameFormatType.NfcRtd = 0x01,
TypeNameFormatType.Mime = 0x02,
TypeNameFormatType.Uri = 0x03,
TypeNameFormatType.ExternalRtd = 0x04,
TypeNameFormatType.Unknown = 0x05,
TypeNameFormatType.Unchanged = 0x06,
TypeNameFormatType.Reserved = 0x07
} |
| | Standardized type name formats, as defined by the NDEF record specification from the Nfc Forum. More...
|
| |
| byte [] | _type |
| | Byte array storing raw contents of the type. Use Type property to access it whenever possible. More...
|
| |
| byte [] | _payload |
| | Byte array storing raw contents of the payload. Use Payload property to access it whenever possible. More...
|
| |
| TypeNameFormatType | TypeNameFormat [get, set] |
| | Indicates the structure of the value of the TYPE field. More...
|
| |
| virtual byte [] | Type [get, set] |
| | An identifier describing the type of the payload. More...
|
| |
| byte [] | Id [get, set] |
| | An identifier in the form of a URI reference. More...
|
| |
| virtual byte [] | Payload [get, set] |
| | The application data carried within an NDEF record. More...
|
| |
◆ NdefIcalendarRecordBase() [1/2]
| NdefLibrary.Ndef.NdefIcalendarRecordBase.NdefIcalendarRecordBase |
( |
| ) |
|
Create an empty MIME/iCal Record.
◆ NdefIcalendarRecordBase() [2/2]
| NdefLibrary.Ndef.NdefIcalendarRecordBase.NdefIcalendarRecordBase |
( |
NdefRecord |
other | ) |
|
|
protected |
Create a MIME/iCal record based on the record passed through the argument.
Internalizes and parses the payload of the original record. The original record has to be a MIME/iCal Record as well.
- Parameters
-
| other | Record to copy into this iCal record. |
- Exceptions
-
| NdefException | Thrown if attempting to create a iCal record based on an incompatible record type. |
◆ IsRecordType()
| static bool NdefLibrary.Ndef.NdefIcalendarRecordBase.IsRecordType |
( |
NdefRecord |
record | ) |
|
|
static |
Checks if the record sent via the parameter is indeed a MIME/iCal record. Only checks the type and type name format, doesn't analyze if the payload is valid.
- Parameters
-
- Returns
- True if the record has the correct type and type name format to be a MIME/iCal record, false if it's a different record.
◆ IcalType
| readonly byte [] NdefLibrary.Ndef.NdefIcalendarRecordBase.IcalType = Encoding.UTF8.GetBytes("text/calendar") |
|
static |
Type of the NDEF MIME / iCal record.
The documentation for this class was generated from the following file:
- NdefLibrary/Ndef/NdefIcalendarRecordBase.cs