简体中文
Appearance
This is a binding crate for HarmonyOS's init.
init
cargo add ohos-init-binding
It just provides a simple function for canIUse.
canIUse
use ohos_init_binding::canIUse; fn try_it() { let r = canIUse("SystemCapability.Location.Location.Core"); }