SwiftstructSiriInformationTypes
struct SiriInformationTypes.DeviceInfo
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
Members 8
- field
var hardwareModelIdentifier: String? - field
var homekitAccessoryIdentifier: Foundation.UUID? - field
var osBuildVersion: String? - field
var osProductName: String? - field
var osProductVersion: String? - field
var regulatoryModelNumber: String? - field
var type: SiriInformationTypes.DeviceType+0x0 - init
init(type: SiriInformationTypes.DeviceType, homekitAccessoryIdentifier: Foundation.UUID?, hardwareModelIdentifier: String?, regulatoryModelNumber: String?, osProductName: String?, osProductVersion: String?, osBuildVersion: String?) -> SiriInformationTypes.DeviceInfo
Header
struct DeviceInfo { enum CodingKeys { case type case homekitAccessoryIdentifier case hardwareModelIdentifier case regulatoryModelNumber case osProductName case osProductVersion case osBuildVersion } var type: SiriInformationTypes.DeviceType var homekitAccessoryIdentifier: Foundation.UUID? var hardwareModelIdentifier: Swift.String? var regulatoryModelNumber: Swift.String? var osProductName: Swift.String? var osProductVersion: Swift.String? var osBuildVersion: Swift.String? init(type: SiriInformationTypes.DeviceType, homekitAccessoryIdentifier: Foundation.UUID?, hardwareModelIdentifier: Swift.String?, regulatoryModelNumber: Swift.String?, osProductName: Swift.String?, osProductVersion: Swift.String?, osBuildVersion: Swift.String?) }