Function canIUse
Source pub unsafe extern "C" fn canIUse(cap: *const c_char) -> bool
Expand description
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