ohos_sys/syscap/syscap_ffi.rs
1// automatically generated by rust-bindgen 0.71.1
2
3#![allow(non_upper_case_globals)]
4#![allow(non_camel_case_types)]
5#![allow(non_snake_case)]
6
7extern "C" {
8 /// Queries whether a device supports a specified SystemCapability.
9 /// # Arguments
10 ///
11 /// * `cap` - SystemCapability whether supported
12 ///
13 /// # Returns
14 ///
15 /// * true - Supports the specified SystemCapability.
16 /// false - The specified SystemCapability is not supported.
17 ///
18 /// Available since API-level: 8
19 pub fn canIUse(cap: *const ::core::ffi::c_char) -> bool;
20}