SemanticTag

protocol SemanticTag : 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

    var mfgCode: UInt16? { get }
  • Namespace ID for this tag.

    It SHALL represent a standard namespace if mfgCode is nil, or a custom namespace otherwise.

    Declaration

    Swift

    var namespaceID: UInt8 { get }
  • tag

    ID of a tag located within the namespace.

    Declaration

    Swift

    var tag: UInt8 { get }
  • 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

    var label: String? { get }