1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[cfg(web_sys_unstable_apis)]
6#[wasm_bindgen]
7extern "C" {
8 # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = BluetoothRemoteGATTCharacteristic , typescript_type = "BluetoothRemoteGATTCharacteristic")]
9 #[derive(Debug, Clone, PartialEq, Eq)]
10 #[doc = "The `BluetoothRemoteGattCharacteristic` class."]
11 #[doc = ""]
12 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic)"]
13 #[doc = ""]
14 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
15 #[doc = ""]
16 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
17 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
18 pub type BluetoothRemoteGattCharacteristic;
19 #[cfg(web_sys_unstable_apis)]
20 #[cfg(feature = "BluetoothRemoteGattService")]
21 # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = service)]
22 #[doc = "Getter for the `service` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/service)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`, `BluetoothRemoteGattService`*"]
27 #[doc = ""]
28 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
29 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
30 pub fn service(this: &BluetoothRemoteGattCharacteristic) -> BluetoothRemoteGattService;
31 #[cfg(web_sys_unstable_apis)]
32 # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = uuid)]
33 #[doc = "Getter for the `uuid` field of this object."]
34 #[doc = ""]
35 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/uuid)"]
36 #[doc = ""]
37 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
38 #[doc = ""]
39 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
40 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
41 pub fn uuid(this: &BluetoothRemoteGattCharacteristic) -> ::alloc::string::String;
42 #[cfg(web_sys_unstable_apis)]
43 #[cfg(feature = "BluetoothCharacteristicProperties")]
44 # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = properties)]
45 #[doc = "Getter for the `properties` field of this object."]
46 #[doc = ""]
47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/properties)"]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`, `BluetoothRemoteGattCharacteristic`*"]
50 #[doc = ""]
51 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
52 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
53 pub fn properties(
54 this: &BluetoothRemoteGattCharacteristic,
55 ) -> BluetoothCharacteristicProperties;
56 #[cfg(web_sys_unstable_apis)]
57 # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = value)]
58 #[doc = "Getter for the `value` field of this object."]
59 #[doc = ""]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/value)"]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
63 #[doc = ""]
64 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
65 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
66 pub fn value(this: &BluetoothRemoteGattCharacteristic) -> Option<::js_sys::DataView>;
67 #[cfg(web_sys_unstable_apis)]
68 # [wasm_bindgen (structural , method , getter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = oncharacteristicvaluechanged)]
69 #[doc = "Getter for the `oncharacteristicvaluechanged` field of this object."]
70 #[doc = ""]
71 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/oncharacteristicvaluechanged)"]
72 #[doc = ""]
73 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
74 #[doc = ""]
75 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
76 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
77 pub fn oncharacteristicvaluechanged(
78 this: &BluetoothRemoteGattCharacteristic,
79 ) -> Option<::js_sys::Function>;
80 #[cfg(web_sys_unstable_apis)]
81 # [wasm_bindgen (structural , method , setter , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = oncharacteristicvaluechanged)]
82 #[doc = "Setter for the `oncharacteristicvaluechanged` field of this object."]
83 #[doc = ""]
84 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/oncharacteristicvaluechanged)"]
85 #[doc = ""]
86 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
87 #[doc = ""]
88 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
89 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
90 pub fn set_oncharacteristicvaluechanged(
91 this: &BluetoothRemoteGattCharacteristic,
92 value: Option<&::js_sys::Function>,
93 );
94 #[cfg(web_sys_unstable_apis)]
95 #[cfg(feature = "BluetoothRemoteGattDescriptor")]
96 # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptor)]
97 #[doc = "The `getDescriptor()` method."]
98 #[doc = ""]
99 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptor)"]
100 #[doc = ""]
101 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`, `BluetoothRemoteGattDescriptor`*"]
102 #[doc = ""]
103 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
104 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
105 pub fn get_descriptor_with_str(
106 this: &BluetoothRemoteGattCharacteristic,
107 descriptor: &str,
108 ) -> ::js_sys::Promise<BluetoothRemoteGattDescriptor>;
109 #[cfg(web_sys_unstable_apis)]
110 #[cfg(feature = "BluetoothRemoteGattDescriptor")]
111 # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptor)]
112 #[doc = "The `getDescriptor()` method."]
113 #[doc = ""]
114 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptor)"]
115 #[doc = ""]
116 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`, `BluetoothRemoteGattDescriptor`*"]
117 #[doc = ""]
118 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
119 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
120 pub fn get_descriptor_with_u32(
121 this: &BluetoothRemoteGattCharacteristic,
122 descriptor: u32,
123 ) -> ::js_sys::Promise<BluetoothRemoteGattDescriptor>;
124 #[cfg(web_sys_unstable_apis)]
125 #[cfg(feature = "BluetoothRemoteGattDescriptor")]
126 # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptors)]
127 #[doc = "The `getDescriptors()` method."]
128 #[doc = ""]
129 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors)"]
130 #[doc = ""]
131 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`, `BluetoothRemoteGattDescriptor`*"]
132 #[doc = ""]
133 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
134 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
135 pub fn get_descriptors(
136 this: &BluetoothRemoteGattCharacteristic,
137 ) -> ::js_sys::Promise<::js_sys::Array<BluetoothRemoteGattDescriptor>>;
138 #[cfg(web_sys_unstable_apis)]
139 #[cfg(feature = "BluetoothRemoteGattDescriptor")]
140 # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptors)]
141 #[doc = "The `getDescriptors()` method."]
142 #[doc = ""]
143 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors)"]
144 #[doc = ""]
145 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`, `BluetoothRemoteGattDescriptor`*"]
146 #[doc = ""]
147 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
148 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
149 pub fn get_descriptors_with_str(
150 this: &BluetoothRemoteGattCharacteristic,
151 descriptor: &str,
152 ) -> ::js_sys::Promise<::js_sys::Array<BluetoothRemoteGattDescriptor>>;
153 #[cfg(web_sys_unstable_apis)]
154 #[cfg(feature = "BluetoothRemoteGattDescriptor")]
155 # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = getDescriptors)]
156 #[doc = "The `getDescriptors()` method."]
157 #[doc = ""]
158 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors)"]
159 #[doc = ""]
160 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`, `BluetoothRemoteGattDescriptor`*"]
161 #[doc = ""]
162 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
163 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
164 pub fn get_descriptors_with_u32(
165 this: &BluetoothRemoteGattCharacteristic,
166 descriptor: u32,
167 ) -> ::js_sys::Promise<::js_sys::Array<BluetoothRemoteGattDescriptor>>;
168 #[cfg(web_sys_unstable_apis)]
169 # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = readValue)]
170 #[doc = "The `readValue()` method."]
171 #[doc = ""]
172 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/readValue)"]
173 #[doc = ""]
174 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
175 #[doc = ""]
176 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
177 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
178 pub fn read_value(
179 this: &BluetoothRemoteGattCharacteristic,
180 ) -> ::js_sys::Promise<::js_sys::DataView>;
181 #[cfg(web_sys_unstable_apis)]
182 # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = startNotifications)]
183 #[doc = "The `startNotifications()` method."]
184 #[doc = ""]
185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/startNotifications)"]
186 #[doc = ""]
187 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
188 #[doc = ""]
189 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
190 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
191 pub fn start_notifications(
192 this: &BluetoothRemoteGattCharacteristic,
193 ) -> ::js_sys::Promise<BluetoothRemoteGattCharacteristic>;
194 #[cfg(web_sys_unstable_apis)]
195 # [wasm_bindgen (method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = stopNotifications)]
196 #[doc = "The `stopNotifications()` method."]
197 #[doc = ""]
198 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/stopNotifications)"]
199 #[doc = ""]
200 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
201 #[doc = ""]
202 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
203 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
204 pub fn stop_notifications(
205 this: &BluetoothRemoteGattCharacteristic,
206 ) -> ::js_sys::Promise<BluetoothRemoteGattCharacteristic>;
207 #[cfg(web_sys_unstable_apis)]
208 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValue)]
209 #[doc = "The `writeValue()` method."]
210 #[doc = ""]
211 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValue)"]
212 #[doc = ""]
213 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
214 #[doc = ""]
215 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
216 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
217 pub fn write_value_with_buffer_source(
218 this: &BluetoothRemoteGattCharacteristic,
219 value: &::js_sys::Object,
220 ) -> Result<::js_sys::Promise<::js_sys::Undefined>, JsValue>;
221 #[cfg(web_sys_unstable_apis)]
222 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValue)]
223 #[doc = "The `writeValue()` method."]
224 #[doc = ""]
225 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValue)"]
226 #[doc = ""]
227 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
228 #[doc = ""]
229 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
230 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
231 pub fn write_value_with_u8_slice(
232 this: &BluetoothRemoteGattCharacteristic,
233 value: &mut [u8],
234 ) -> Result<::js_sys::Promise<::js_sys::Undefined>, JsValue>;
235 #[cfg(web_sys_unstable_apis)]
236 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValue)]
237 #[doc = "The `writeValue()` method."]
238 #[doc = ""]
239 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValue)"]
240 #[doc = ""]
241 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
242 #[doc = ""]
243 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
244 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
245 pub fn write_value_with_u8_array(
246 this: &BluetoothRemoteGattCharacteristic,
247 value: &::js_sys::Uint8Array,
248 ) -> Result<::js_sys::Promise<::js_sys::Undefined>, JsValue>;
249 #[cfg(web_sys_unstable_apis)]
250 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithResponse)]
251 #[doc = "The `writeValueWithResponse()` method."]
252 #[doc = ""]
253 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithResponse)"]
254 #[doc = ""]
255 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
256 #[doc = ""]
257 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
258 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
259 pub fn write_value_with_response_with_buffer_source(
260 this: &BluetoothRemoteGattCharacteristic,
261 value: &::js_sys::Object,
262 ) -> Result<::js_sys::Promise<::js_sys::Undefined>, JsValue>;
263 #[cfg(web_sys_unstable_apis)]
264 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithResponse)]
265 #[doc = "The `writeValueWithResponse()` method."]
266 #[doc = ""]
267 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithResponse)"]
268 #[doc = ""]
269 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
270 #[doc = ""]
271 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
272 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
273 pub fn write_value_with_response_with_u8_slice(
274 this: &BluetoothRemoteGattCharacteristic,
275 value: &mut [u8],
276 ) -> Result<::js_sys::Promise<::js_sys::Undefined>, JsValue>;
277 #[cfg(web_sys_unstable_apis)]
278 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithResponse)]
279 #[doc = "The `writeValueWithResponse()` method."]
280 #[doc = ""]
281 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithResponse)"]
282 #[doc = ""]
283 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
284 #[doc = ""]
285 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
286 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
287 pub fn write_value_with_response_with_u8_array(
288 this: &BluetoothRemoteGattCharacteristic,
289 value: &::js_sys::Uint8Array,
290 ) -> Result<::js_sys::Promise<::js_sys::Undefined>, JsValue>;
291 #[cfg(web_sys_unstable_apis)]
292 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithoutResponse)]
293 #[doc = "The `writeValueWithoutResponse()` method."]
294 #[doc = ""]
295 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithoutResponse)"]
296 #[doc = ""]
297 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
298 #[doc = ""]
299 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
300 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
301 pub fn write_value_without_response_with_buffer_source(
302 this: &BluetoothRemoteGattCharacteristic,
303 value: &::js_sys::Object,
304 ) -> Result<::js_sys::Promise<::js_sys::Undefined>, JsValue>;
305 #[cfg(web_sys_unstable_apis)]
306 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithoutResponse)]
307 #[doc = "The `writeValueWithoutResponse()` method."]
308 #[doc = ""]
309 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithoutResponse)"]
310 #[doc = ""]
311 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
312 #[doc = ""]
313 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
314 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
315 pub fn write_value_without_response_with_u8_slice(
316 this: &BluetoothRemoteGattCharacteristic,
317 value: &mut [u8],
318 ) -> Result<::js_sys::Promise<::js_sys::Undefined>, JsValue>;
319 #[cfg(web_sys_unstable_apis)]
320 # [wasm_bindgen (catch , method , structural , js_class = "BluetoothRemoteGATTCharacteristic" , js_name = writeValueWithoutResponse)]
321 #[doc = "The `writeValueWithoutResponse()` method."]
322 #[doc = ""]
323 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic/writeValueWithoutResponse)"]
324 #[doc = ""]
325 #[doc = "*This API requires the following crate features to be activated: `BluetoothRemoteGattCharacteristic`*"]
326 #[doc = ""]
327 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
328 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
329 pub fn write_value_without_response_with_u8_array(
330 this: &BluetoothRemoteGattCharacteristic,
331 value: &::js_sys::Uint8Array,
332 ) -> Result<::js_sys::Promise<::js_sys::Undefined>, JsValue>;
333}