harmony 鸿蒙syscap_ndk.h

  • 2025-06-16
  • 浏览 (2)

syscap_ndk.h

概述

查询单个系统能力是否被支持的API。

起始版本:

8

相关模块:

Init

汇总

函数

名称 描述
canIUse (const char *cap) 查询指定的系统能力是否被支持。
系统能力(SystemCapability,简称SysCap),指操作系统中每一个相对独立的特性。不同的设备对应不同的系统能力集,每个系统能力对应一个或多个API。开发者可根据系统能力来判断是否可以使用某接口。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙公共基础能力

harmony 鸿蒙_j_s_v_m

harmony 鸿蒙JSVM_CallbackStruct

harmony 鸿蒙JSVM_CreateVMOptions

harmony 鸿蒙JSVM_DefineClassOptions

harmony 鸿蒙JSVM_ExtendedErrorInfo

harmony 鸿蒙JSVM_HeapStatistics

harmony 鸿蒙JSVM_InitOptions

harmony 鸿蒙JSVM_PropertyDescriptor

harmony 鸿蒙JSVM_PropertyHandler

0  赞