Skip to main content

web_sys/features/
gen_BluetoothCharacteristicProperties.rs

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(
9        extends = "::js_sys::Object",
10        js_name = "BluetoothCharacteristicProperties",
11        typescript_type = "BluetoothCharacteristicProperties"
12    )]
13    #[derive(Debug, Clone, PartialEq, Eq)]
14    #[doc = "The `BluetoothCharacteristicProperties` class."]
15    #[doc = ""]
16    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties)"]
17    #[doc = ""]
18    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
19    #[doc = ""]
20    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
21    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
22    pub type BluetoothCharacteristicProperties;
23    #[cfg(web_sys_unstable_apis)]
24    #[wasm_bindgen(
25        method,
26        getter,
27        js_class = "BluetoothCharacteristicProperties",
28        js_name = "broadcast"
29    )]
30    #[doc = "Getter for the `broadcast` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/broadcast)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
35    #[doc = ""]
36    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
37    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
38    pub fn broadcast(this: &BluetoothCharacteristicProperties) -> bool;
39    #[cfg(web_sys_unstable_apis)]
40    #[wasm_bindgen(
41        method,
42        getter,
43        js_class = "BluetoothCharacteristicProperties",
44        js_name = "read"
45    )]
46    #[doc = "Getter for the `read` field of this object."]
47    #[doc = ""]
48    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/read)"]
49    #[doc = ""]
50    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
51    #[doc = ""]
52    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
53    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
54    pub fn read(this: &BluetoothCharacteristicProperties) -> bool;
55    #[cfg(web_sys_unstable_apis)]
56    #[wasm_bindgen(
57        method,
58        getter,
59        js_class = "BluetoothCharacteristicProperties",
60        js_name = "writeWithoutResponse"
61    )]
62    #[doc = "Getter for the `writeWithoutResponse` field of this object."]
63    #[doc = ""]
64    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/writeWithoutResponse)"]
65    #[doc = ""]
66    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
67    #[doc = ""]
68    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
69    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
70    pub fn write_without_response(this: &BluetoothCharacteristicProperties) -> bool;
71    #[cfg(web_sys_unstable_apis)]
72    #[wasm_bindgen(
73        method,
74        getter,
75        js_class = "BluetoothCharacteristicProperties",
76        js_name = "write"
77    )]
78    #[doc = "Getter for the `write` field of this object."]
79    #[doc = ""]
80    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/write)"]
81    #[doc = ""]
82    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
83    #[doc = ""]
84    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
85    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
86    pub fn write(this: &BluetoothCharacteristicProperties) -> bool;
87    #[cfg(web_sys_unstable_apis)]
88    #[wasm_bindgen(
89        method,
90        getter,
91        js_class = "BluetoothCharacteristicProperties",
92        js_name = "notify"
93    )]
94    #[doc = "Getter for the `notify` field of this object."]
95    #[doc = ""]
96    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/notify)"]
97    #[doc = ""]
98    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
99    #[doc = ""]
100    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
101    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
102    pub fn notify(this: &BluetoothCharacteristicProperties) -> bool;
103    #[cfg(web_sys_unstable_apis)]
104    #[wasm_bindgen(
105        method,
106        getter,
107        js_class = "BluetoothCharacteristicProperties",
108        js_name = "indicate"
109    )]
110    #[doc = "Getter for the `indicate` field of this object."]
111    #[doc = ""]
112    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/indicate)"]
113    #[doc = ""]
114    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
115    #[doc = ""]
116    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
117    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
118    pub fn indicate(this: &BluetoothCharacteristicProperties) -> bool;
119    #[cfg(web_sys_unstable_apis)]
120    #[wasm_bindgen(
121        method,
122        getter,
123        js_class = "BluetoothCharacteristicProperties",
124        js_name = "authenticatedSignedWrites"
125    )]
126    #[doc = "Getter for the `authenticatedSignedWrites` field of this object."]
127    #[doc = ""]
128    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/authenticatedSignedWrites)"]
129    #[doc = ""]
130    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
131    #[doc = ""]
132    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
133    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
134    pub fn authenticated_signed_writes(this: &BluetoothCharacteristicProperties) -> bool;
135    #[cfg(web_sys_unstable_apis)]
136    #[wasm_bindgen(
137        method,
138        getter,
139        js_class = "BluetoothCharacteristicProperties",
140        js_name = "reliableWrite"
141    )]
142    #[doc = "Getter for the `reliableWrite` field of this object."]
143    #[doc = ""]
144    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/reliableWrite)"]
145    #[doc = ""]
146    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
147    #[doc = ""]
148    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
149    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
150    pub fn reliable_write(this: &BluetoothCharacteristicProperties) -> bool;
151    #[cfg(web_sys_unstable_apis)]
152    #[wasm_bindgen(
153        method,
154        getter,
155        js_class = "BluetoothCharacteristicProperties",
156        js_name = "writableAuxiliaries"
157    )]
158    #[doc = "Getter for the `writableAuxiliaries` field of this object."]
159    #[doc = ""]
160    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties/writableAuxiliaries)"]
161    #[doc = ""]
162    #[doc = "*This API requires the following crate features to be activated: `BluetoothCharacteristicProperties`*"]
163    #[doc = ""]
164    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
165    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
166    pub fn writable_auxiliaries(this: &BluetoothCharacteristicProperties) -> bool;
167}