struct DeviceTypeMetadataextension DeviceTypeMetadata : Equatable, Hashable, SendableAdditional information about a device type.
-
Undocumented
Declaration
Swift
typealias Builder = ([any Trait]?) -> DeviceTypeMetadata -
Whether this is the primary type for the device.
This conveys whether this is the primary functionality of the device. For example, a device that is both a light and a speaker would have
isPrimaryTypeset totruefor the light type, butfalsefor the speaker type.Declaration
Swift
let isPrimaryType: Bool -
Aggregated connectivity information for this device type, based on the connectivity of its traits.
Declaration
Swift
let sourceConnectivity: SourceConnectivity -
The ID of the object backing this device type.
Declaration
Swift
let objectID: String