Component
public protocol Component
Type describing an attached piece of Gear.
This type can be used to introspect the capabilities of this piece of Gear. Note that the tag also exposes a Component
instance via ConnectedTag.tagComponent
which can be used to introspect the capabilities built into the tag.
See also
Components and Gear
-
The identifier of the current Gear attachment.
Note that this identifier is not unique, and will change every time a piece of Gear is re-attached.
Declaration
Swift
var componentID: ComponentID { get }
-
The vendor who manufactured this piece of Gear.
Declaration
Swift
var vendor: GearMetadata.GearData.Vendor { get }
-
The type of the Gear.
Declaration
Swift
var product: GearMetadata.GearData.Product { get }
-
capabilities
Default implementationThe capabilities of this piece of Gear.
Default Implementation
The capabilities of this piece of Gear.
Declaration
Swift
var capabilities: [GearMetadata.Capability] { get }
-
The firmware version of the component.
Declaration
Swift
var version: Version? { get }
-
Unique identifer for the component.
Declaration
Swift
var uuid: String? { get }