struct SemanticTag
extension SemanticTag : Equatable, Hashable, Sendable
Undocumented
-
Vendor ID of the manufacturer who has defined a custom namespace.
If using a standard namespace, this SHALL be
nil
.Declaration
Swift
let mfgCode: UInt16?
-
Namespace ID for this tag.
It SHALL represent a standard namespace if
mfgCode
isnil
, or a custom namespace otherwise.Declaration
Swift
let namespaceID: UInt8
-
ID of a tag located within the namespace.
Declaration
Swift
let tag: UInt8
-
Label of the tag.
If provided, it SHALL contain human-readable text suitable for display on a client. This field SHALL be present when the
mfgCode
is not NULL.Declaration
Swift
let label: String?
-
Undocumented
Declaration
Swift
init(mfgCode: UInt16?, namespaceID: UInt8, tag: UInt8, label: String? = nil)