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 pub static CWPowerDidChangeNotification: &'static NSString;
32}
33
34extern "C" {
35 /// Posted when the SSID of the Wi-Fi interface changes.
36 ///
37 ///
38 /// The
39 /// <i>
40 /// object
41 /// </i>
42 /// for this notification is the corresponding Wi-Fi interface name.
43 /// This notification does not contain a
44 /// <i>
45 /// userInfo
46 /// </i>
47 /// dictionary.
48 ///
49 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwssiddidchangenotification?language=objc)
50 pub static CWSSIDDidChangeNotification: &'static NSString;
51}
52
53extern "C" {
54 /// Posted when the BSSID of the Wi-Fi interface changes.
55 ///
56 ///
57 /// The
58 /// <i>
59 /// object
60 /// </i>
61 /// for this notification is the corresponding Wi-Fi interface name.
62 /// This notification does not contain a
63 /// <i>
64 /// userInfo
65 /// </i>
66 /// dictionary.
67 ///
68 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwbssiddidchangenotification?language=objc)
69 pub static CWBSSIDDidChangeNotification: &'static NSString;
70}
71
72extern "C" {
73 /// Posted when the link of the Wi-Fi interface changes.
74 ///
75 ///
76 /// The
77 /// <i>
78 /// object
79 /// </i>
80 /// for this notification is the corresponding Wi-Fi interface name.
81 /// This notification does not contain a
82 /// <i>
83 /// userInfo
84 /// </i>
85 /// dictionary.
86 ///
87 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwlinkdidchangenotification?language=objc)
88 pub static CWLinkDidChangeNotification: &'static NSString;
89}
90
91extern "C" {
92 /// Posted when the operating mode of the Wi-Fi interface changes.
93 ///
94 ///
95 /// The
96 /// <i>
97 /// object
98 /// </i>
99 /// for this notification is the corresponding Wi-Fi interface name.
100 /// This notification does not contain a
101 /// <i>
102 /// userInfo
103 /// </i>
104 /// dictionary.
105 ///
106 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwmodedidchangenotification?language=objc)
107 pub static CWModeDidChangeNotification: &'static NSString;
108}
109
110extern "C" {
111 /// Posted when the adopted country code of the Wi-Fi interface changes.
112 ///
113 ///
114 /// The
115 /// <i>
116 /// object
117 /// </i>
118 /// for this notification is the corresponding Wi-Fi interface name.
119 /// This notification does not contain a
120 /// <i>
121 /// userInfo
122 /// </i>
123 /// dictionary.
124 ///
125 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwcountrycodedidchangenotification?language=objc)
126 pub static CWCountryCodeDidChangeNotification: &'static NSString;
127}
128
129extern "C" {
130 /// Posted when the scan cache of the Wi-Fi interface is updated with new scan results.
131 ///
132 ///
133 /// The
134 /// <i>
135 /// object
136 /// </i>
137 /// for this notification is the corresponding Wi-Fi interface name.
138 /// This notification does not contain a
139 /// <i>
140 /// userInfo
141 /// </i>
142 /// dictionary.
143 ///
144 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwscancachedidupdatenotification?language=objc)
145 pub static CWScanCacheDidUpdateNotification: &'static NSString;
146}
147
148extern "C" {
149 /// Posted when the link quality of the current Wi-Fi association changes.
150 ///
151 ///
152 /// The
153 /// <i>
154 /// object
155 /// </i>
156 /// for this notification is the corresponding Wi-Fi interface name.
157 /// This notification does not contain a
158 /// <i>
159 /// userInfo
160 /// </i>
161 /// dictionary.
162 ///
163 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwlinkqualitydidchangenotification?language=objc)
164 pub static CWLinkQualityDidChangeNotification: &'static NSString;
165}
166
167extern "C" {
168 /// NSNumber containing the current RSSI value for the Wi-Fi interface.
169 ///
170 ///
171 /// Found in the
172 /// <i>
173 /// userInfo
174 /// </i>
175 /// dictionary for the
176 /// <i>
177 /// CWLinkQualityChangedNotification
178 /// </i>
179 /// .
180 ///
181 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwlinkqualitynotificationrssikey?language=objc)
182 pub static CWLinkQualityNotificationRSSIKey: &'static NSString;
183}
184
185extern "C" {
186 /// NSNumber containing the current transmit rate for the Wi-Fi interface.
187 ///
188 ///
189 /// Found in the
190 /// <i>
191 /// userInfo
192 /// </i>
193 /// dictionary for the
194 /// <i>
195 /// CWLinkQualityChangedNotification
196 /// </i>
197 /// .
198 ///
199 /// See also [Apple's documentation](https://developer.apple.com/documentation/corewlan/cwlinkqualitynotificationtransmitratekey?language=objc)
200 pub static CWLinkQualityNotificationTransmitRateKey: &'static NSString;
201}