1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2_foundation::*;
use crate::*;
extern "C" {
/// Service type for switch.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeswitch?language=objc)
pub static HMServiceTypeSwitch: &'static NSString;
}
extern "C" {
/// Service type for thermostat.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypethermostat?language=objc)
pub static HMServiceTypeThermostat: &'static NSString;
}
extern "C" {
/// Service type for outlet.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeoutlet?language=objc)
pub static HMServiceTypeOutlet: &'static NSString;
}
extern "C" {
/// Service type for lock management.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypelockmanagement?language=objc)
pub static HMServiceTypeLockManagement: &'static NSString;
}
extern "C" {
/// Service type for air quality sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeairqualitysensor?language=objc)
pub static HMServiceTypeAirQualitySensor: &'static NSString;
}
extern "C" {
/// Service type for carbon dioxide sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypecarbondioxidesensor?language=objc)
pub static HMServiceTypeCarbonDioxideSensor: &'static NSString;
}
extern "C" {
/// Service type for carbon monoxide sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypecarbonmonoxidesensor?language=objc)
pub static HMServiceTypeCarbonMonoxideSensor: &'static NSString;
}
extern "C" {
/// Service type for contact sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypecontactsensor?language=objc)
pub static HMServiceTypeContactSensor: &'static NSString;
}
extern "C" {
/// Service type for door.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypedoor?language=objc)
pub static HMServiceTypeDoor: &'static NSString;
}
extern "C" {
/// Service type for humidity sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypehumiditysensor?language=objc)
pub static HMServiceTypeHumiditySensor: &'static NSString;
}
extern "C" {
/// Service type for leak sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeleaksensor?language=objc)
pub static HMServiceTypeLeakSensor: &'static NSString;
}
extern "C" {
/// Service type for light sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypelightsensor?language=objc)
pub static HMServiceTypeLightSensor: &'static NSString;
}
extern "C" {
/// Service type for motion sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypemotionsensor?language=objc)
pub static HMServiceTypeMotionSensor: &'static NSString;
}
extern "C" {
/// Service type for occupancy sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeoccupancysensor?language=objc)
pub static HMServiceTypeOccupancySensor: &'static NSString;
}
extern "C" {
/// Service type for security system.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypesecuritysystem?language=objc)
pub static HMServiceTypeSecuritySystem: &'static NSString;
}
extern "C" {
/// Service type for stateful programmable switch.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypestatefulprogrammableswitch?language=objc)
pub static HMServiceTypeStatefulProgrammableSwitch: &'static NSString;
}
extern "C" {
/// Service type for stateless programmable switch.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypestatelessprogrammableswitch?language=objc)
pub static HMServiceTypeStatelessProgrammableSwitch: &'static NSString;
}
extern "C" {
/// Service type for smoke sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypesmokesensor?language=objc)
pub static HMServiceTypeSmokeSensor: &'static NSString;
}
extern "C" {
/// Service type for temperature sensor.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypetemperaturesensor?language=objc)
pub static HMServiceTypeTemperatureSensor: &'static NSString;
}
extern "C" {
/// Service type for window.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypewindow?language=objc)
pub static HMServiceTypeWindow: &'static NSString;
}
extern "C" {
/// Service type for window covering.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypewindowcovering?language=objc)
pub static HMServiceTypeWindowCovering: &'static NSString;
}
extern "C" {
/// Service type for stream management.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypecamerartpstreammanagement?language=objc)
pub static HMServiceTypeCameraRTPStreamManagement: &'static NSString;
}
extern "C" {
/// Service type for camera control.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypecameracontrol?language=objc)
pub static HMServiceTypeCameraControl: &'static NSString;
}
extern "C" {
/// Service type for microphone.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypemicrophone?language=objc)
pub static HMServiceTypeMicrophone: &'static NSString;
}
extern "C" {
/// Service type for speaker.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypespeaker?language=objc)
pub static HMServiceTypeSpeaker: &'static NSString;
}
extern "C" {
/// Service type for air purifier.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeairpurifier?language=objc)
pub static HMServiceTypeAirPurifier: &'static NSString;
}
extern "C" {
/// Service type for filter maintenance.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypefiltermaintenance?language=objc)
pub static HMServiceTypeFilterMaintenance: &'static NSString;
}
extern "C" {
/// Service type for slats.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeslats?language=objc)
pub static HMServiceTypeSlats: &'static NSString;
}
extern "C" {
/// Service type for label namespace when accessory supports multiple services of the same type.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypelabel?language=objc)
pub static HMServiceTypeLabel: &'static NSString;
}
extern "C" {
/// Service type for irrigation system.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeirrigationsystem?language=objc)
pub static HMServiceTypeIrrigationSystem: &'static NSString;
}
extern "C" {
/// Service type for valve.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypevalve?language=objc)
pub static HMServiceTypeValve: &'static NSString;
}
extern "C" {
/// Service type for faucet.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypefaucet?language=objc)
pub static HMServiceTypeFaucet: &'static NSString;
}
extern "C" {
/// Service type for accessory information.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeaccessoryinformation?language=objc)
pub static HMServiceTypeAccessoryInformation: &'static NSString;
}
extern "C" {
/// Service type for fan.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypefan?language=objc)
pub static HMServiceTypeFan: &'static NSString;
}
extern "C" {
/// Service type for garage door opener.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypegaragedooropener?language=objc)
pub static HMServiceTypeGarageDoorOpener: &'static NSString;
}
extern "C" {
/// Service type for lightbulb.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypelightbulb?language=objc)
pub static HMServiceTypeLightbulb: &'static NSString;
}
extern "C" {
/// Service type for lock mechanism.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypelockmechanism?language=objc)
pub static HMServiceTypeLockMechanism: &'static NSString;
}
extern "C" {
/// Service type for battery.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypebattery?language=objc)
pub static HMServiceTypeBattery: &'static NSString;
}
extern "C" {
/// Service type for ventilation fan.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeventilationfan?language=objc)
pub static HMServiceTypeVentilationFan: &'static NSString;
}
extern "C" {
/// Service type for heater/cooler.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeheatercooler?language=objc)
pub static HMServiceTypeHeaterCooler: &'static NSString;
}
extern "C" {
/// Service type for humidifier-dehumidifier.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypehumidifierdehumidifier?language=objc)
pub static HMServiceTypeHumidifierDehumidifier: &'static NSString;
}
extern "C" {
/// Service type for television.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypetelevision?language=objc)
pub static HMServiceTypeTelevision: &'static NSString;
}
extern "C" {
/// Service type for input source.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypeinputsource?language=objc)
pub static HMServiceTypeInputSource: &'static NSString;
}
extern "C" {
/// Service type for doorbell.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypedoorbell?language=objc)
pub static HMServiceTypeDoorbell: &'static NSString;
}
extern "C" {
/// Service type for Wi-Fi router.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypewifirouter?language=objc)
pub static HMServiceTypeWiFiRouter: &'static NSString;
}
extern "C" {
/// Service type for Wi-Fi satellite.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/homekit/hmservicetypewifisatellite?language=objc)
pub static HMServiceTypeWiFiSatellite: &'static NSString;
}