objc2_core_wlan/generated/CoreWLANConstants.rs
1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2_foundation::*;
5
6use crate::*;
7
8extern "C" {
9 /// Error domain corresponding to the CWErr type.
10 ///
11 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwerrordomain?language=objc)
12 pub static CWErrorDomain: &'static NSString;
13}
14
15extern "C" {
16 /// Posted when the power state of the Wi-Fi interface changes.
17 ///
18 ///
19 /// The
20 /// <i>
21 /// object
22 /// </i>
23 /// for this notification is the corresponding Wi-Fi interface name.
24 /// This notification does not contain a
25 /// <i>
26 /// userInfo
27 /// </i>
28 /// dictionary.
29 ///
30 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwpowerdidchangenotification?language=objc)
31 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypePowerDidChange event type"]
32 pub static CWPowerDidChangeNotification: &'static NSString;
33}
34
35extern "C" {
36 /// Posted when the SSID of the Wi-Fi interface changes.
37 ///
38 ///
39 /// The
40 /// <i>
41 /// object
42 /// </i>
43 /// for this notification is the corresponding Wi-Fi interface name.
44 /// This notification does not contain a
45 /// <i>
46 /// userInfo
47 /// </i>
48 /// dictionary.
49 ///
50 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwssiddidchangenotification?language=objc)
51 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypeSSIDDidChange event type"]
52 pub static CWSSIDDidChangeNotification: &'static NSString;
53}
54
55extern "C" {
56 /// Posted when the BSSID of the Wi-Fi interface changes.
57 ///
58 ///
59 /// The
60 /// <i>
61 /// object
62 /// </i>
63 /// for this notification is the corresponding Wi-Fi interface name.
64 /// This notification does not contain a
65 /// <i>
66 /// userInfo
67 /// </i>
68 /// dictionary.
69 ///
70 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwbssiddidchangenotification?language=objc)
71 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypeBSSIDDidChange event type"]
72 pub static CWBSSIDDidChangeNotification: &'static NSString;
73}
74
75extern "C" {
76 /// Posted when the link of the Wi-Fi interface changes.
77 ///
78 ///
79 /// The
80 /// <i>
81 /// object
82 /// </i>
83 /// for this notification is the corresponding Wi-Fi interface name.
84 /// This notification does not contain a
85 /// <i>
86 /// userInfo
87 /// </i>
88 /// dictionary.
89 ///
90 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwlinkdidchangenotification?language=objc)
91 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypeLinkDidChange event type"]
92 pub static CWLinkDidChangeNotification: &'static NSString;
93}
94
95extern "C" {
96 /// Posted when the operating mode of the Wi-Fi interface changes.
97 ///
98 ///
99 /// The
100 /// <i>
101 /// object
102 /// </i>
103 /// for this notification is the corresponding Wi-Fi interface name.
104 /// This notification does not contain a
105 /// <i>
106 /// userInfo
107 /// </i>
108 /// dictionary.
109 ///
110 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwmodedidchangenotification?language=objc)
111 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypeModeDidChange event type"]
112 pub static CWModeDidChangeNotification: &'static NSString;
113}
114
115extern "C" {
116 /// Posted when the adopted country code of the Wi-Fi interface changes.
117 ///
118 ///
119 /// The
120 /// <i>
121 /// object
122 /// </i>
123 /// for this notification is the corresponding Wi-Fi interface name.
124 /// This notification does not contain a
125 /// <i>
126 /// userInfo
127 /// </i>
128 /// dictionary.
129 ///
130 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwcountrycodedidchangenotification?language=objc)
131 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypeCountryCodeDidChange event type"]
132 pub static CWCountryCodeDidChangeNotification: &'static NSString;
133}
134
135extern "C" {
136 /// Posted when the scan cache of the Wi-Fi interface is updated with new scan results.
137 ///
138 ///
139 /// The
140 /// <i>
141 /// object
142 /// </i>
143 /// for this notification is the corresponding Wi-Fi interface name.
144 /// This notification does not contain a
145 /// <i>
146 /// userInfo
147 /// </i>
148 /// dictionary.
149 ///
150 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwscancachedidupdatenotification?language=objc)
151 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypeScanCacheUpdated event type"]
152 pub static CWScanCacheDidUpdateNotification: &'static NSString;
153}
154
155extern "C" {
156 /// Posted when the link quality of the current Wi-Fi association changes.
157 ///
158 ///
159 /// The
160 /// <i>
161 /// object
162 /// </i>
163 /// for this notification is the corresponding Wi-Fi interface name.
164 /// This notification does not contain a
165 /// <i>
166 /// userInfo
167 /// </i>
168 /// dictionary.
169 ///
170 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwlinkqualitydidchangenotification?language=objc)
171 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypeLinkQualityDidChange event type"]
172 pub static CWLinkQualityDidChangeNotification: &'static NSString;
173}
174
175extern "C" {
176 /// NSNumber containing the current RSSI value for the Wi-Fi interface.
177 ///
178 ///
179 /// Found in the
180 /// <i>
181 /// userInfo
182 /// </i>
183 /// dictionary for the
184 /// <i>
185 /// CWLinkQualityChangedNotification
186 /// </i>
187 /// .
188 ///
189 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwlinkqualitynotificationrssikey?language=objc)
190 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypeLinkQualityDidChange event type"]
191 pub static CWLinkQualityNotificationRSSIKey: &'static NSString;
192}
193
194extern "C" {
195 /// NSNumber containing the current transmit rate for the Wi-Fi interface.
196 ///
197 ///
198 /// Found in the
199 /// <i>
200 /// userInfo
201 /// </i>
202 /// dictionary for the
203 /// <i>
204 /// CWLinkQualityChangedNotification
205 /// </i>
206 /// .
207 ///
208 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwlinkqualitynotificationtransmitratekey?language=objc)
209 #[deprecated = "Use -[CWWiFiClient startMonitoringEventWithType:error:] with the CWEventTypeLinkQualityDidChange event type"]
210 pub static CWLinkQualityNotificationTransmitRateKey: &'static NSString;
211}