syscap_ndk.h
概述
查询单个系统能力是否被支持的API。
起始版本:
8
相关模块:
Init
汇总
函数
名称 |
描述 |
canIUse (const char *cap) |
查询指定的系统能力是否被支持。 系统能力(SystemCapability,简称SysCap),指操作系统中每一个相对独立的特性。不同的设备对应不同的系统能力集,每个系统能力对应一个或多个API。开发者可根据系统能力来判断是否可以使用某接口。 |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Native API
harmony 鸿蒙AVCapability
harmony 鸿蒙AVDemuxer
harmony 鸿蒙AVMuxer
harmony 鸿蒙AVScreenCapture
harmony 鸿蒙AVSource
harmony 鸿蒙AudioDecoder
harmony 鸿蒙AudioEncoder
harmony 鸿蒙CodecBase
harmony 鸿蒙Core