struct SemanticTagextension SemanticTag : Copyable, Equatable, Escapable, Hashable, Identifiable, SendableUndocumented
-
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
mfgCodeisnil, 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
mfgCodeis not NULL.Declaration
Swift
let label: String? -
Undocumented
Declaration
Swift
init(mfgCode: UInt16?, namespaceID: UInt8, tag: UInt8, label: String? = nil) -
A unique identifier for the semantic tag.
The format of the identifier is
mfgCode.namespace.tag."label", for example-.0x8.0x1."label".Declaration
Swift
var id: String { get }