Utility class that handles the correct format for storing version information in Handover records. The handover version contains a major and minor version. This implementation conforms to the specification with major version 1 and minor version 3.
More...
|
| | NdefHandoverVersion () |
| | Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3. More...
|
| |
| | NdefHandoverVersion (byte combinedVersion) |
| | Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3. More...
|
| |
| | NdefHandoverVersion (float version) |
| | Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3. More...
|
| |
|
| ushort | Major [get, set] |
| | 4-bit field is the major version of the Connection Handover specification and SHALL be set to 1 by an implementation that conforms to this specification. More...
|
| |
| ushort | Minor [get, set] |
| | 4-bit field is the minor version of the Connection Handover specification and SHALL be set to 3 by an implementation that conforms to this specification. More...
|
| |
| byte | Version [get, set] |
| | The version as a byte that contains 4 bits for the major version and 4 bit for the minor version. More...
|
| |
Utility class that handles the correct format for storing version information in Handover records. The handover version contains a major and minor version. This implementation conforms to the specification with major version 1 and minor version 3.
◆ NdefHandoverVersion() [1/3]
| NdefLibrary.Ndef.NdefHandoverVersion.NdefHandoverVersion |
( |
| ) |
|
Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3.
◆ NdefHandoverVersion() [2/3]
| NdefLibrary.Ndef.NdefHandoverVersion.NdefHandoverVersion |
( |
byte |
combinedVersion | ) |
|
Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3.
- Parameters
-
| combinedVersion | The field to use for the version, contains 4 bits for minor and 4 bits for the major version. |
◆ NdefHandoverVersion() [3/3]
| NdefLibrary.Ndef.NdefHandoverVersion.NdefHandoverVersion |
( |
float |
version | ) |
|
Create a new handover version utility class instance, which can format the major and minor version according to the Handover specification 1.3.
- Parameters
-
| version | Parse the float version into a major and minor component. |
◆ Major
| ushort NdefLibrary.Ndef.NdefHandoverVersion.Major |
|
getset |
4-bit field is the major version of the Connection Handover specification and SHALL be set to 1 by an implementation that conforms to this specification.
When an NDEF parser reads a different value, it SHALL NOT assume backwards compatibility. Changing this property automatically also updates the combined Version property.
◆ Minor
| ushort NdefLibrary.Ndef.NdefHandoverVersion.Minor |
|
getset |
4-bit field is the minor version of the Connection Handover specification and SHALL be set to 3 by an implementation that conforms to this specification.
When an NDEF parser reads a different value, it SHALL NOT assume backwards compatibility. Changing this property automatically also updates the combined Version property.
◆ Version
| byte NdefLibrary.Ndef.NdefHandoverVersion.Version |
|
getset |
The version as a byte that contains 4 bits for the major version and 4 bit for the minor version.
Changing this property automatically also udpates the major and minor accrssor properties.
The documentation for this class was generated from the following file:
- NdefLibrary/Ndef/NdefHandoverVersion.cs