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