Created with Pixso.
简体中文
简体中文
English
Русский
下载 App
Created with Pixso.
探索
设计
开发
分发
推广与变现
生态合作
支持
更多
探索
设计
开发
更多
分发
推广与变现
生态合作
支持
输入关键字搜索
开发者能力认证
鸿蒙高校创新赛
HarmonyOS 7
animation
HarmonyOS行业解决方案
layoutWeight
HarmonyOS模板&组件
bindPopup
bindsheet
RelativeContainer
CustomDialogController
animateTo
CTRL+K
文档
管理中心
我的
Hello,
欢迎来到开发者联盟
管理中心
个人中心
我的学堂
我的收藏
我的活动
我的工单
立即登录
HarmonyOS
输入关键字搜索
开发者能力认证
鸿蒙高校创新赛
HarmonyOS 7
animation
HarmonyOS行业解决方案
layoutWeight
HarmonyOS模板&组件
bindPopup
bindsheet
RelativeContainer
CustomDialogController
animateTo
CTRL+K
API参考
版本说明
指南
API参考
最佳实践
FAQ
变更预告
更多
高级筛选
API version
全部版本
设备
全部
元服务API集
不筛选
只看筛选内容
API参考概述
开发说明
系统能力SystemCapability使用指南
通用错误码
应用框架
Ability Kit(程序框架服务)
ArkTS API
Stage模型能力的接口
@ohos.app.ability.Ability (Ability基类)
@ohos.app.ability.AbilityConstant (Ability相关常量)
@ohos.app.ability.abilityLifecycleCallback (UIAbility生命周期回调监听器)
@ohos.app.ability.AbilityStage (AbilityStage组件管理器)
@ohos.app.ability.ActionExtensionAbility (支持业务操作自定义的ExtensionAbility组件)
@ohos.app.ability.AgentUIExtensionAbility (带界面的智能体拓展组件)
@ohos.app.ability.application (应用工具类)
@ohos.app.ability.ApplicationStateChangeCallback (应用进程状态变化监听器)
@ohos.app.ability.AppServiceExtensionAbility (应用后台服务扩展组件)
@ohos.app.ability.AtomicServiceOptions (openAtomicService可选参数)
@ohos.app.ability.autoFillManager (自动填充框架)
@ohos.app.ability.ChildProcess (子进程基类)
@ohos.app.ability.childProcessManager (子进程管理)
@ohos.app.ability.ChildProcessArgs (子进程参数)
@ohos.app.ability.ChildProcessOptions (子进程启动选项)
@ohos.app.ability.common (Ability公共模块)
@ohos.app.ability.CompletionHandler (拉起应用结果的操作类)
@ohos.app.ability.CompletionHandlerForAtomicService (打开元服务结果的操作类)
@ohos.app.ability.CompletionHandlerForAbilityStartCallback (拉起应用结果回调的操作类)
@ohos.app.ability.contextConstant (Context相关常量)
@ohos.app.ability.EmbeddableUIAbility (可嵌入式UIAbility组件)
@ohos.app.ability.EmbeddedUIExtensionAbility (支持跨进程界面嵌入的ExtensionAbility组件)
@ohos.app.ability.EnvironmentCallback (系统环境变化监听器)
@ohos.app.ability.ExtensionAbility (扩展能力基类)
@ohos.app.ability.insightIntent (意图框架基础定义)
@ohos.app.ability.InsightIntentContext (意图执行上下文)
@ohos.app.ability.InsightIntentDecorator (意图装饰器定义)
@ohos.app.ability.InsightIntentEntryExecutor (@InsightIntentEntry的意图执行基类)
@ohos.app.ability.InsightIntentExecutor (意图执行基类)
@ohos.app.ability.insightIntentProvider (意图提供方管理能力)
@ohos.app.ability.PhotoEditorExtensionAbility (支持图片编辑能力的ExtensionAbility组件)
@ohos.app.ability.OpenLinkOptions (openLink的可选参数)
@ohos.app.ability.ShareExtensionAbility (支持分享详情页接入的ExtensionAbility组件)
@ohos.app.ability.StartOptions (startAbility的可选参数)
@ohos.app.ability.systemConfiguration (系统环境模块)
@ohos.app.ability.UIAbility (带界面的应用组件)
@ohos.app.ability.UIExtensionAbility (带界面的ExtensionAbility组件)
@ohos.app.ability.UIExtensionContentSession (带界面扩展能力的界面操作类)
@ohos.app.ability.sendableContextManager (sendable上下文管理)
@ohos.app.ability.scriptManager (脚本管理)
Beta
@ohos.app.appstartup.StartupConfig (启动框架配置信息)
@ohos.app.appstartup.StartupConfigEntry (启动框架配置)
@ohos.app.appstartup.StartupListener (启动框架任务监听器)
@ohos.app.appstartup.startupManager (启动框架管理能力)
@ohos.app.appstartup.StartupTask (启动框架任务)
@ohos.app.ability.autoStartupManager (开机自启管理能力)
@ohos.app.agent.agentConstant (Agent常量)
Beta
@ohos.app.agent.AgentExtensionAbility (智能体扩展组件)
@ohos.continuation.continuationManager (流转/协同管理)
continuation
ContinuationExtraParams
ContinuationResult
FA模型能力的接口
@ohos.ability.ability (Ability模块)
@ohos.ability.featureAbility (FeatureAbility模块)
@ohos.ability.particleAbility (ParticleAbility模块)
ability
DataAbilityOperation
DataAbilityResult
StartAbilityParameter
app
AppVersionInfo
Context (FA模型的上下文基类)
ProcessInfo
通用能力的接口(推荐)
@ohos.abilityAccessCtrl (程序访问控制管理)
@ohos.ability.screenLockFileManager (锁屏敏感数据管理)
@ohos.app.ability.abilityManager (Ability信息管理)
@ohos.app.ability.appManager (应用管理)
@ohos.app.ability.appRecovery (应用故障恢复)
@ohos.app.ability.Configuration (环境变量)
@ohos.app.ability.ConfigurationConstant (环境变量相关的常量定义)
@ohos.app.ability.continueManager (跨端迁移)
@ohos.app.ability.dataUriUtils (DataUriUtils模块)
@ohos.app.ability.dialogRequest (dialogRequest模块)
@ohos.app.ability.errorManager (错误管理模块)
@ohos.app.ability.hyperSnapManager (应用快启管理)
@ohos.app.ability.kioskManager (Kiosk模式管理)
@ohos.app.ability.Want (Want)
@ohos.app.ability.wantAgent (WantAgent模块)
@ohos.app.ability.wantConstant (Want常量)
@ohos.bundle.bundleManager (应用程序包管理模块)
@ohos.bundle.defaultAppManager (默认应用管理)
@ohos.bundle.launcherBundleManager (launcherBundleManager模块)
@ohos.bundle.overlay (overlay特征模块)
@ohos.bundle.shortcutManager (shortcutManager模块)
@ohos.bundle.skillManager (skillManager模块)
Beta
接口依赖的元素及定义
ability
AbilityResult
ConnectOptions
DataAbilityHelper
application
AbilityMonitor
AbilityRunningInfo
AbilityStageContext
AbilityStageMonitor
AbilityStartCallback
AbilityStateData
AgentCard
AgentExtensionContext (智能体扩展组件上下文)
AgentHostProxy
ApplicationContext (应用上下文)
ApplicationStateObserver
AppServiceExtensionContext (应用后台服务扩展组件上下文)
AppStateData
BaseContext
Context (Stage模型的上下文基类)
EmbeddableUIAbilityContext
ErrorObserver
EventHub
ExtensionContext
KioskStatus (Kiosk状态信息)
LoopObserver
ProcessInformation
ProcessRunningInfo
UIAbilityContext
UIExtensionContext
UIServiceExtensionConnectCallback
UIServiceProxy
ProcessData
PhotoEditorExtensionContext
SendableContext
bundleManager
AbilityInfo
ApplicationInfo
BundleInfo
ElementName
ExtensionAbilityInfo
HapModuleInfo
LauncherAbilityInfo
Metadata
OverlayModuleInfo
Skill
ShortcutInfo
SkillInfo
Beta
security
PermissionRequestResult
wantAgent
TriggerInfo
WantAgentInfo
已停止维护的接口
@ohos.ability.dataUriUtils (DataUriUtils模块)
@ohos.ability.errorCode (ErrorCode)
@ohos.ability.wantConstant (wantConstant)
@ohos.application.appManager (appManager)
@ohos.application.Configuration (Configuration)
@ohos.application.ConfigurationConstant (ConfigurationConstant)
@ohos.application.Want (Want)
@ohos.wantAgent (WantAgent模块)
@ohos.bundle (Bundle模块)
@system.package (应用管理)
ability
Want
bundle
AbilityInfo
ApplicationInfo
BundleInfo
CustomizeData
ElementName
HapModuleInfo
ModuleInfo
ShortcutInfo
C API
模块
AbilityAccessControl
AbilityBase
AbilityRuntime
Native_Bundle
ChildProcess
头文件
ability_access_control.h
ability_base_common.h
ability_runtime_common.h
application_context.h
context_constant.h
native_child_process.h
native_interface_bundle.h
start_options.h
want.h
ability_resource_info.h
bundle_manager_common.h
context.h
extension_ability.h
modular_object_extension_manager.h
Beta
结构体
AbilityBase_Element
AbilityBase_Want
AbilityRuntime_StartOptions
NativeChildProcess_Fd
NativeChildProcess_FdList
NativeChildProcess_Options
NativeChildProcess_Args
Ability_ChildProcessConfigs
OH_NativeBundle_ApplicationInfo
OH_NativeBundle_ElementName
OH_NativeBundle_Metadata
OH_NativeBundle_ModuleMetadata
OH_NativeBundle_AbilityResourceInfo
AbilityRuntime_Context
AbilityRuntime_Context*
AbilityRuntime_ExtensionInstance
AbilityRuntime_ExtensionInstance*
OH_AbilityRuntime_ModularObjectExtensionInfo*
Beta
OH_AbilityRuntime_AllModularObjectExtensionInfos*
Beta
错误码
元能力子系统错误码
DistributedSchedule错误码
包管理子系统通用错误码
访问控制错误码
锁屏敏感数据管理错误码
Accessibility Kit(无障碍服务)
ArkTS API
@ohos.accessibility (辅助功能)
@ohos.accessibility.GesturePath (手势路径)
@ohos.accessibility.GesturePoint (手势触摸点)
@ohos.application.AccessibilityExtensionAbility (辅助功能扩展能力)
AccessibilityExtensionContext (辅助功能扩展上下文)
错误码
无障碍子系统错误码
ArkData(方舟数据管理)
ArkTS API
@ohos.data.commonType (数据通用类型)
@ohos.data.dataAbility(DataAbility谓词)
@ohos.data.dataShare (数据共享)
@ohos.data.dataSharePredicates (数据共享谓词)
@ohos.data.distributedDataObject (分布式数据对象)
@ohos.data.distributedKVStore (分布式键值数据库)
@ohos.data.preferences (用户首选项)
@ohos.data.sendablePreferences (共享用户首选项)
@ohos.data.relationalStore (关系型数据库)
模块描述
Functions
Interface (RdbStore)
Interface (ResultSet)
Class (LiteResultSet)
Interface (Transaction)
Interfaces (其他)
Class (RdbPredicates)
Enums
Types
@ohos.data.sendableRelationalStore(共享关系型数据库)
@ohos.data.unifiedDataChannel (标准化数据通路)
@ohos.data.uniformDataStruct (标准化数据结构)
@ohos.data.uniformTypeDescriptor (标准化数据定义与描述)
@ohos.data.ValuesBucket (数据集)
@ohos.data.intelligence (智慧数据平台)
@ohos.data.cloudData (端云服务)
已停止维护的接口
@ohos.data.distributedData (分布式数据管理)
@ohos.data.rdb(关系型数据库)
@ohos.data.storage (轻量级存储)
@system.storage (数据存储)
data/rdb
resultSet(结果集)
ArkTS 组件
@ohos.data.UdmfComponents (内容卡片)
C API
模块
Preferences
RDB
UDMF
头文件
oh_preferences.h
oh_preferences_err_code.h
oh_preferences_option.h
oh_preferences_value.h
data_asset.h
oh_cursor.h
oh_data_value.h
oh_data_values.h
oh_data_values_buckets.h
oh_predicates.h
oh_rdb_crypto_param.h
oh_rdb_transaction.h
oh_rdb_types.h
oh_value_object.h
oh_values_bucket.h
relational_store.h
relational_store_error_code.h
udmf.h
udmf_err_code.h
udmf_meta.h
uds.h
utd.h
结构体
OH_Cursor
OH_Predicates
OH_RDB_ReturningContext
OH_VObject
OH_VBucket
OH_Rdb_Config
OH_Rdb_Store
Rdb_DistributedConfig
Rdb_KeyInfo
Rdb_KeyData
Rdb_ChangeInfo
Rdb_SubscribeCallback
Rdb_DataObserver
Rdb_Statistic
Rdb_TableDetails
Rdb_ProgressDetails
Rdb_ProgressObserver
OH_Preferences
OH_PreferencesOption
OH_PreferencesPair
OH_PreferencesValue
Data_Asset
OH_Data_Value
OH_Data_Values
OH_Data_VBuckets
OH_Rdb_CryptoParam
OH_RDB_TransOptions
OH_Rdb_Transaction
OH_Rdb_ConfigV2
OH_UdmfData
OH_UdmfRecord
OH_UdmfRecordProvider
OH_UdmfProperty
OH_Udmf_ProgressInfo
OH_UdmfGetDataParams
OH_UdmfOptions
OH_UdmfDataLoadParams
OH_UdmfDataLoadInfo
OH_UdsPlainText
OH_UdsHyperlink
OH_UdsHtml
OH_UdsAppItem
OH_UdsFileUri
OH_UdsPixelMap
OH_UdsArrayBuffer
OH_UdsContentForm
OH_UdsDetails
OH_Utd
错误码
关系型数据库错误码
数据共享错误码
分布式数据对象错误码
分布式键值数据库错误码
用户首选项错误码
统一数据管理框架错误码
智慧数据平台错误码
ArkTS(方舟编程语言)
ArkTS API
@arkts.collections (ArkTS容器集)
模块描述
Class (Array)
Class (Map)
Class (Set)
Class (ArrayBuffer)
Class (Int8Array)
Class (Uint8Array)
Class (Int16Array)
Class (Uint16Array)
Class (Int32Array)
Class (Uint32Array)
Class (Uint8ClampedArray)
Class (Float32Array)
Class (BitVector)
Interface (ConcatArray)
Types
@arkts.lang (ArkTS语言基础能力)
@arkts.math.Decimal (高精度数学库Decimal)
@arkts.utils (ArkTS工具库)
模块描述
Functions
ArkTSUtils.locks
ArkTSUtils.ASON
SendableLruCache<K, V>
@ohos.buffer (Buffer)
@ohos.convertxml (xml转换JavaScript)
@ohos.fastbuffer (FastBuffer)
@ohos.process (获取进程相关的信息)
@ohos.taskpool (启动任务池)
@ohos.uri (URI字符串解析)
@ohos.url (URL字符串解析)
@ohos.util (util工具函数)
@ohos.util.ArrayList (线性容器ArrayList)
@ohos.util.Deque (线性容器Deque)
@ohos.util.HashMap (非线性容器HashMap)
@ohos.util.HashSet (非线性容器HashSet)
@ohos.util.json (JSON解析与生成)
@ohos.util.LightWeightMap (非线性容器LightWeightMap)
@ohos.util.LightWeightSet (非线性容器LightWeightSet)
@ohos.util.LinkedList (线性容器LinkedList)
@ohos.util.List (线性容器List)
@ohos.util.PlainArray (非线性容器PlainArray)
@ohos.util.Queue (线性容器Queue)
@ohos.util.Stack (线性容器Stack)
@ohos.util.stream (数据流基类stream)
@ohos.util.TreeMap (非线性容器TreeMap)
@ohos.util.TreeSet (非线性容器TreeSet)
@ohos.worker (启动一个Worker)
@ohos.xml (XML解析与生成)
已停止维护的接口
@ohos.util.Vector (线性容器Vector)
错误码
语言基础类库错误码
TypeScript Compiler错误码介绍
编译工具链错误码
es2abc编译器错误码
源码混淆错误码
ArkUI(方舟UI框架)
ArkTS API
UI界面
@ohos.animator (动画)
@ohos.arkui.componentSnapshot (组件截图)
@ohos.arkui.componentUtils (componentUtils)
@ohos.arkui.dragController (DragController)
@ohos.arkui.drawableDescriptor (DrawableDescriptor)
@ohos.arkui.inspector (布局回调)
@ohos.arkui.node (自定义节点)
@ohos.arkui.observer (无感监听)
@ohos.arkui.Prefetcher (Prefetching)
@ohos.arkui.shape (形状)
@ohos.arkui.theme(主题换肤)
@ohos.arkui.UIContext (UIContext)
模块描述
Class (ComponentSnapshot)
Class (ComponentUtils)
Class (ContextMenuController)
Class (CursorController)
Class (DragController)
Class (DynamicSyncScene)
Class (FocusController)
Class (Font)
Class (FrameCallback)
Class (Magnifier)
Class (MarqueeDynamicSyncScene)
Class (MeasureUtils)
Class (MediaQuery)
Class (OverlayManager)
Class (PromptAction)
Class (Router)
Class (SwiperDynamicSyncScene)
Class (TextMenuController)
Class (UIContext)
Class (ResolvedUIContext)
Class (UIInspector)
Class (UIObserver)
Interface (AtomicServiceBar)
Interfaces (其他)
Enums
Types
@ohos.arkui.uiExtension (uiExtension)
@ohos.arkui.uiMaterial (系统材质)
Beta
@ohos.arkui.StateManagement (状态管理)
@ohos.curves (插值计算)
@ohos.font (注册自定义字体)
@ohos.matrix4 (矩阵变换)
@ohos.measure (文本计算)
@ohos.mediaquery (媒体查询)
@ohos.pluginComponent (PluginComponentManager)
@ohos.promptAction (弹窗)
@ohos.router (页面路由)(不推荐)
@ohos.uiAppearance (用户界面外观)
getContext
postCardAction
arkui
BuilderNode
ComponentContent
FrameNode
Graphics
LayoutAlgorithm
NodeController
RenderNode
AttributeUpdater
Content
NodeContent
Resource
窗口管理
@ohos.window.floatView (闪控窗)
Beta
@ohos.PiPWindow (画中画窗口)
@ohos.window.floatingBall (闪控球窗口)
@ohos.window (窗口)
模块描述
Functions
Interface (Window)
Interface (WindowStage)
Interfaces (其他)
Enums
Types
屏幕管理
@ohos.display (屏幕属性)
@ohos.screenshot (屏幕截图)
已停止维护的接口
@ohos.prompt (弹窗)
@system.app (应用上下文)
@system.configuration (应用配置)
@system.mediaquery (媒体查询)
@system.prompt (弹窗)
@system.router (页面路由)
XComponentNode
ArkTS组件
通用事件
基础输入事件
触摸事件
鼠标事件
轴事件
按键事件
表冠事件
焦点轴事件
交互响应事件
点击事件
拖拽事件
焦点事件
悬浮事件
组件快捷键事件
键盘判断事件
交互事件分发控制
自定义事件拦截
自定义事件分发
全局基础输入事件监听
Beta
无障碍相关
无障碍控制操作
无障碍悬浮事件
组件变化事件
挂载卸载事件
组件区域变化事件
组件尺寸变化事件
组件可见区域变化事件
通用属性
基础属性
组件标识
分布式迁移标识
显隐控制
背景设置
浮层
Z序控制
隐私遮罩
禁用反色能力
布局与边框
尺寸设置
位置设置
布局约束
Flex布局
安全区域
组件级像素取整
页面级像素取整
边框设置
图片边框设置
视效与模糊
透明度设置
图形变换
图像效果
形状裁剪
颜色渐变
前景色设置
前景属性设置
外描边设置
视效设置
组件内容模糊
运动模糊
点击回弹效果
特效绘制合并
组件内容填充方式
交互属性
禁用控制
焦点控制
拖拽控制
拖拽排序
悬浮态效果
点击音效
触摸交互控制
触摸热区设置
触摸测试控制
事件独占控制
鼠标光标控制
多态样式
弹窗控制
Popup控制
Tips控制
菜单控制
无障碍属性
模态转场设置
全屏模态转场
半模态转场
动态属性与自定义
动态属性设置
动态手势设置
自定义绘制设置
自定义内容
自定义属性设置
动态SymbolGlyphModifier属性设置
属性操作工具
其他
复用标识
复用选项
工具栏设置
手势处理
绑定手势
绑定手势事件
设置组件绑定的手势
手势处理器
基础手势
TapGesture
LongPressGesture
PanGesture
PinchGesture
RotationGesture
SwipeGesture
GestureGroup
手势控制
自定义手势判定
手势拦截增强
手势公共接口
行列与堆叠
Flex
Column
Row
Stack
RelativeContainer
DynamicLayout
ContainerReader
Beta
栅格与分栏
GridRow
GridCol
ColumnSplit
RowSplit
SideBarContainer
滚动与滑动
List
ListItem
ListItemGroup
ArcList
ArcListItem
Grid
GridItem
Scroll
Swiper
ArcSwiper
WaterFlow
FlowItem
LazyVGridLayout
LazyVWaterFlowLayout
Beta
ScrollBar
Refresh
ArcScrollBar
滚动组件通用接口
导航与切换
Indicator
Navigation
NavDestination
MultiNavigation
Tabs
TabContent
ToolBarItem
按钮与选择
Button
Toggle
Checkbox
CheckboxGroup
UIPickerComponent
CalendarPicker
DatePicker
TextPicker
TimePicker
Radio
Rating
Select
Slider
ArcButton
ArcSlider
选择器(Picker)公共接口
文本与输入
Text
TextArea
TextInput
RichEditor
Search
Span
ImageSpan
ContainerSpan
SymbolSpan
SymbolGlyph
Hyperlink
RichText
属性字符串
输入框类组件通用接口
文本组件公共接口
图片与视频
Image
ImageAnimator
Video
图像类型定义
SVG标签说明
SVG标签解析能力增强
信息展示
AlphabetIndexer
ArcAlphabetIndexer
Badge
Counter
DataPanel
Gauge
LoadingProgress
Marquee
PatternLock
Progress
QRCode
TextClock
TextTimer
信息展示公共接口
空白与分隔
Blank
Divider
画布绘制
Canvas
CanvasGradient
CanvasPattern
CanvasRenderingContext2D
DrawingRenderingContext
ImageBitmap
ImageData
Matrix2D
OffscreenCanvas
OffscreenCanvasRenderingContext2D
Path2D
图形绘制
Circle
Ellipse
Line
Polyline
Polygon
Path
Rect
Shape
渲染绘制
XComponent
Component3D
EmbeddedComponent
菜单
Menu
MenuItem
MenuItemGroup
ContextMenu
动画
属性动画 (animation)
显式动画 (animateTo)
关键帧动画 (keyframeAnimateTo)
页面间转场 (pageTransition)
组件内转场 (transition)
共享元素转场 (sharedTransition)
组件内隐式共享元素转场 (geometryTransition)
路径动画 (motionPath)
粒子动画 (Particle)
显式动画立即下发 (animateToImmediately)
弹窗
警告弹窗 (AlertDialog)
列表选择弹窗 (ActionSheet)
自定义弹窗 (CustomDialog)
日历选择器弹窗 (CalendarPickerDialog)
日期滑动选择器弹窗 (DatePickerDialog)
时间滑动选择器弹窗 (TimePickerDialog)
文本滑动选择器弹窗 (TextPickerDialog)
弹出框 (Dialog)
卡片
FormLink
安全
安全控件通用属性
PasteButton
SaveButton
主题
WithTheme
AtomicService
AtomicServiceNavigation
AtomicServiceSearch
AtomicServiceTabs
AtomicServiceWeb
InterstitialDialogAction
HalfScreenLaunchComponent
NavPushPathHelper
自定义占位组件
NodeContainer
ContentSlot
自定义组件
自定义组件的生命周期
自定义组件的生命周期(推荐)
自定义组件的自定义布局
自定义组件内置方法
自定义组件参数
@Entry:页面入口
组件扩展装饰器
定义可动画属性 (@AnimatableExtend)
wrapBuilder
mutableBuilder
组件预览
组件预览
系统预置UI组件库
Chip
ChipGroup
ComposeListItem
ComposeTitleBar
DownloadFileButton
DialogV2
EditableTitleBar
ExceptionPrompt
Filter
FolderStack
FoldSplitContainer
FormMenu
FullScreenLaunchComponent
GridObjectSortComponent
Popup
ProgressButton
ProgressButtonV2
SegmentButton
SegmentButtonV2
SelectTitleBar
SelectionMenu
SplitLayout
SubHeader
SubHeaderV2
SwipeRefresher
TabTitleBar
ToolBar
ToolBarV2
TreeView
advanced.Counter
状态管理与渲染控制
应用级变量的状态管理
状态管理V1装饰器参数
状态变量变化监听
内置环境变量说明
ForEach
LazyForEach
Repeat
响应式环境变量
@Env:环境变量
公共定义
基础类型定义
像素单位
枚举说明
设置事件回调
已停止维护的组件与接口
GridContainer
Panel
NavRouter
Navigator
点击控制
栅格设置
Stepper
StepperItem
JS组件
兼容JS的类Web开发范式(ArkUI.Full)
组件通用信息
通用属性
通用样式
通用事件
通用方法
动画样式
渐变样式
转场样式
媒体查询
自定义字体样式
原子布局
容器组件
badge
dialog
div
form
list
list-item
list-item-group
panel
popup
refresh
stack
stepper
stepper-item
swiper
tabs
tab-bar
tab-content
基础组件
button
chart
divider
image
image-animator
input
label
marquee
menu
option
picker
picker-view
piece
progress
qrcode
rating
richtext
search
select
slider
span
switch
text
textarea
toolbar
toolbar-item
toggle
web
xcomponent
媒体组件
video
画布组件
canvas组件
CanvasRenderingContext2D对象
Image对象
CanvasGradient对象
ImageData对象
Path2D对象
ImageBitmap对象
OffscreenCanvas对象
OffscreenCanvasRenderingContext2D对象
栅格组件
基本概念
grid-container
grid-row
grid-col
svg组件
通用属性
svg
rect
circle
ellipse
path
line
polyline
polygon
text
tspan
textPath
animate
animateMotion
animateTransform
自定义组件
自定义组件的基本用法
数据传递与处理
继承样式
slot插槽
生命周期定义
全局接口
旋转表冠事件监听
动态创建组件
数据类型说明
兼容JS的类Web开发范式(ArkUI.Lite)
框架说明
文件组织
js标签配置
app.js
生命周期
多语言支持
语法
HML语法参考
CSS语法参考
JS语法参考
组件通用信息
通用事件
通用属性
通用样式
动画样式
媒体查询
容器组件
div
list
list-item
stack
swiper
基础组件
chart
image
image-animator
input
marquee
picker-view
progress
qrcode
slider
switch
text
画布组件
canvas组件
CanvasRenderingContext2D对象
全局接口
旋转表冠事件监听
JS服务卡片UI组件
框架说明
文件组织
语法
HML语法参考
CSS语法参考
多语言支持
版本兼容适配
设置主题样式
组件通用信息
通用属性
通用样式
通用事件
渐变样式
媒体查询
自定义字体样式
无障碍
原子布局
容器组件
badge
div
list
list-item
stack
swiper
基础组件
button
calendar
chart
clock
divider
image
input
progress
span
text
自定义组件使用说明
数据类型说明
C API
模块
ArkUI_NativeModule
ArkUI_Accessibility
OH_NativeXComponent Native XComponent
ArkUI_EventModule
WindowManager
OH_DisplayManager
ArkUI_RenderNodeUtils
头文件
drag_and_drop.h
drawable_descriptor.h
native_animate.h
native_dialog.h
native_gesture.h
native_interface.h
native_interface_accessibility.h
native_interface_focus.h
native_interface_xcomponent.h
native_key_event.h
native_node.h
ArkUI_NodeAttributeType(基础属性)
ArkUI_NodeAttributeType(通用属性)
ArkUI_NodeAttributeType(布局属性)
ArkUI_NodeAttributeType(布局类组件相关属性)
ArkUI_NodeAttributeType(动效、视效相关属性)
ArkUI_NodeAttributeType(交互类相关属性)
ArkUI_NodeAttributeType(表单类组件相关属性)
ArkUI_NodeAttributeType(滚动容器类组件相关属性)
ArkUI_NodeAttributeType(导航类组件相关属性)
ArkUI_NodeAttributeType(信息展示类组件相关属性)
ArkUI_NodeAttributeType(信息选择类组件相关属性)
ArkUI_NodeAttributeType(无障碍相关属性)
ArkUI_NodeAttributeType(文本显示类组件相关属性)
ArkUI_NodeAttributeType(文本输入类组件相关属性)
ArkUI_NodeAttributeType(富文本类组件相关属性)
ArkUI_NodeAttributeType(图类组件相关属性)
ArkUI_NodeAttributeType(XComponent组件相关属性)
ArkUI_NodeAttributeType(EmbeddedComponent组件相关属性)
ArkUI_NodeAttributeType(其他)
native_node_napi.h
native_render.h
native_type.h
native_xcomponent_key_event.h
styled_string.h
ui_input_event.h
oh_window.h
oh_window_comm.h
oh_window_event_filter.h
oh_window_pip.h
oh_display_capture.h
oh_display_info.h
oh_display_manager.h
结构体
ArkUI_NodeEvent
ArkUI_Context
ArkUI_Context*
ArkUI_DragEvent
ArkUI_DragPreviewOption
ArkUI_DragAction
ArkUI_DragAndDropInfo
ArkUI_DrawableDescriptor
ArkUI_DrawableDescriptor_AnimationController
OH_ArkUI_FontConfigs
OH_ArkUI_FontWeightConfigs
OH_PixelmapNative*
ArkUI_ExpectedFrameRateRange
ArkUI_AnimateCompleteCallback
ArkUI_NativeAnimateAPI_1
ArkUI_AnimateOption
ArkUI_Curve
ArkUI_Curve*
ArkUI_KeyframeAnimateOption
ArkUI_AnimatorOption
ArkUI_Animator*
ArkUI_AnimatorEvent
ArkUI_AnimatorOnFrameEvent
ArkUI_TransitionEffect
ArkUI_NativeDialogAPI_1
ArkUI_NativeDialogAPI_2
ArkUI_NativeDialogAPI_3
ArkUI_DialogDismissEvent
ArkUI_CustomDialogOptions
ArkUI_NativeGestureAPI_1
ArkUI_NativeGestureAPI_2
ArkUI_GestureRecognizer
ArkUI_GestureInterruptInfo
ArkUI_GestureEvent
ArkUI_GestureEventTargetInfo
ArkUI_GestureCollectInterceptInfo
Beta
ArkUI_ParallelInnerGestureEvent
ArkUI_TouchRecognizer
ArkUI_TouchRecognizer*
ArkUI_TouchRecognizerHandle*
ArkUI_GestureRecognizer*
ArkUI_GestureRecognizerHandle*
ArkUI_AccessibleAction
ArkUI_AccessibleRect
ArkUI_AccessibleRangeInfo
ArkUI_AccessibleGridInfo
ArkUI_AccessibleGridItemInfo
ArkUI_AccessibilityProviderCallbacks
ArkUI_AccessibilityProviderCallbacksWithInstance
ArkUI_AccessibilityElementInfo
ArkUI_AccessibilityEventInfo
ArkUI_AccessibilityProvider
ArkUI_AccessibilityActionArguments
ArkUI_AccessibilityElementInfoList
OH_NativeXComponent_HistoricalPoint
OH_NativeXComponent_TouchPoint
OH_NativeXComponent_TouchEvent
OH_NativeXComponent_MouseEvent
OH_NativeXComponent_Callback
OH_NativeXComponent_MouseEvent_Callback
OH_NativeXComponent_ExpectedRateRange
OH_NativeXComponent
OH_NativeXComponent_KeyEvent
OH_NativeXComponent_ExtraMouseEventInfo
OH_ArkUI_SurfaceHolder
OH_ArkUI_SurfaceCallback
NativeWindow
ArkUI_XComponentSurfaceConfig
ArkUI_AttributeItem
ArkUI_NodeComponentEvent
ArkUI_StringAsyncEvent
ArkUI_TextChangeEvent
ArkUI_NativeNodeAPI_1
OH_ArkUI_TextEditorChangeEvent
ArkUI_NodeCustomEvent
ArkUI_NodeAdapter*
ArkUI_NodeAdapterEvent
ArkUI_NodeContentEvent
ArkUI_ContextCallback
ArkUI_NumberValue
ARKUI_TextPickerRangeContent
ARKUI_TextPickerCascadeRangeContent
ArkUI_ColorStop
ArkUI_Rect
ArkUI_IntSize
ArkUI_IntOffset
ArkUI_Margin
ArkUI_Matrix4
ArkUI_Matrix4RotationOptions
ArkUI_Matrix4ScaleOptions
ArkUI_Matrix4TranslationOptions
ArkUI_PointF
ArkUI_TranslationOptions
ArkUI_ScaleOptions
ArkUI_RotationOptions
ArkUI_NativeDialog
ArkUI_LayoutConstraint
ArkUI_DrawContext
ArkUI_Node
ArkUI_Node*
ArkUI_NativeDialog*
ArkUI_WaterFlowSectionOption
ArkUI_ListItemSwipeActionItem
ArkUI_ListItemSwipeActionOption
ArkUI_NodeContent*
ArkUI_AlignmentRuleOption
ArkUI_GuidelineOption
ArkUI_BarrierOption
ArkUI_ImageAnimatorFrameInfo
ArkUI_ListChildrenMainSize
ArkUI_ProgressLinearStyleOption
ArkUI_CustomProperty
ArkUI_HostWindowInfo
ArkUI_ActiveChildrenInfo
ArkUI_CrossLanguageOption
AbilityBase_Want
ArkUI_EmbeddedComponentOption
ArkUI_AccessibilityState
ArkUI_AccessibilityValue
ArkUI_SystemFontStyleEvent
ArkUI_CustomSpanMeasureInfo
ArkUI_CustomSpanMetrics
ArkUI_CustomSpanDrawInfo
ArkUI_SwiperIndicator
ArkUI_SwiperDigitIndicator
ArkUI_SwiperArrowStyle
ArkUI_StyledString_Descriptor
ArkUI_SnapshotOptions
ArkUI_TextPickerRangeContentArray
ArkUI_TextCascadePickerRangeContentArray
ArkUI_SelectionOptions
ArkUI_VisibleAreaEventOptions
ArkUI_PositionEdges
ArkUI_PixelRoundPolicy
ArkUI_MotionPathOptions
ArkUI_StyledString
OH_ArkUI_SpanStyle
OH_ArkUI_ImageAttachment
OH_ArkUI_CustomSpan
OH_ArkUI_TextStyle
OH_ArkUI_ParagraphStyle
OH_ArkUI_GestureStyle
OH_ArkUI_TextShadowStyle
OH_ArkUI_DecorationStyle
OH_ArkUI_BaselineOffsetStyle
OH_ArkUI_LetterSpacingStyle
OH_ArkUI_LineHeightStyle
OH_ArkUI_LineSpacingStyle
Beta
OH_ArkUI_UrlStyle
OH_ArkUI_BackgroundColorStyle
OH_ArkUI_UserDataSpan
OH_ArkUI_LeadingMarginSpanDrawInfo
ArkUI_TextLayoutManager
ArkUI_TextMarqueeOptions
ArkUI_UIInputEvent
ArkUI_ShowCounterConfig
ArkUI_TextContentBaseController
PictureInPicture_PipConfig
WindowManager_Rect
OH_PixelmapNative
WindowManager_WindowProperties
WindowManager_AvoidArea
WindowManager_MainWindowInfo
WindowManager_WindowSnapshotConfig
OH_WindowManager_FrameMetrics
Beta
OH_WindowManager_DensityInfo
NativeDisplayManager_Rect
NativeDisplayManager_WaterfallDisplayAreaRects
NativeDisplayManager_CutoutInfo
NativeDisplayManager_DisplayHdrFormat
NativeDisplayManager_DisplayColorSpace
NativeDisplayManager_DisplayInfo
NativeDisplayManager_DisplaysInfo
ArkUI_CircleShapeOption
ArkUI_ColorAnimatablePropertyHandle
ArkUI_ColorPropertyHandle
ArkUI_CommandPathOption
ArkUI_FloatAnimatablePropertyHandle
ArkUI_FloatPropertyHandle
ArkUI_NodeBorderColorOption
ArkUI_NodeBorderRadiusOption
ArkUI_NodeBorderStyleOption
ArkUI_NodeBorderWidthOption
ArkUI_RectShapeOption
ArkUI_RenderContentModifierHandle
ArkUI_RenderNodeClipOption
ArkUI_RenderNodeHandle
ArkUI_RenderNodeMaskOption
ArkUI_RoundRectShapeOption
ArkUI_Vector2AnimatablePropertyHandle
ArkUI_Vector2PropertyHandle
ArkUI_ContentTransitionEffect
ArkUI_CoastingAxisEvent
ArkUI_GridItemRect
ArkUI_GridItemSize
ArkUI_GridLayoutOptions
ArkUI_TouchTestInfo
ArkUI_TouchTestInfoItem
ArkUI_TouchTestInfoItem*
ArkUI_TouchTestInfoItemHandle*
ArkUI_TextMenuItem
ArkUI_TextMenuItemArray
ArkUI_TextEditMenuOptions
ArkUI_TextSelectionMenuOptions
ArkUI_SelectedDragPreviewStyle
ArkUI_PickerIndicatorBackground
ArkUI_PickerIndicatorDivider
ArkUI_PickerIndicatorStyle
OH_ArkUI_DecorationStyleOptions
OH_ArkUI_TextDataDetectorConfig
OH_ArkUI_TextEditorSelectionMenuOptions
OH_ArkUI_TextEditorPlaceholderOptions
OH_ArkUI_TextEditorStyledStringController
OH_ArkUI_TextEditorParagraphStyle
OH_ArkUI_ShadowOptions
OH_ArkUI_TextEditorTextStyle
OH_ArkUI_TextController
Beta
错误码
UI界面
接口调用异常错误码
弹窗错误码
页面路由错误码
拖拽事件错误码
图像AI分析错误码
焦点错误码
系统资源错误码
附属节点错误码
半模态错误码
滚动类组件错误码
截图错误码
属性字符串错误码
UI上下文错误码
注册节点渲染状态监听错误码
交互事件错误码
Canvas组件错误码
自定义节点错误码
动态属性设置错误码
逻辑组件错误码
UIExtension错误码
用户界面外观服务错误码
NodeAdapter错误码
XComponent组件错误码
Video组件错误码
状态管理错误码
渲染节点错误码
DrawableDescriptor错误码
环境变量错误码
反色能力错误码
图形图像
屏幕错误码
窗口错误码
UI编译
编译错误码
ArkWeb(方舟Web)
ArkTS API
@ohos.web.webview (Webview)
模块描述
Functions
Class (AdsBlockManager)
Class (BackForwardCacheOptions)
Class (BackForwardCacheSupportedFeatures)
Class (GeolocationPermissions)
Class (JsMessageExt)
Class (MediaSourceInfo)
Class (NativeMediaPlayerSurfaceInfo)
Class (PdfData)
Class (ProxyConfig)
Class (PrefetchOptions)
Class (ProxyController)
Class (ProxyRule)
Class (SecurityParams)
Class (WebviewController)
Class (WebCookieManager)
Class (WebDataBase)
Class (WebDownloadDelegate)
Class (WebDownloadItem)
Class (WebDownloadManager)
Class (WebHttpBodyStream)
Class (WebMessageExt)
Class (WebResourceHandler)
Class (WebSchemeHandler)
Class (WebSchemeHandlerRequest)
Class (WebSchemeHandlerResponse)
Class (WebStorage)
Class (UserAgentBrandVersion)
Class (UserAgentMetadata)
Class (VerifyPinHandler)
Interface (BackForwardList)
Interface (NativeMediaPlayerBridge)
Interface (NativeMediaPlayerHandler)
Interface (WebMessagePort)
Interfaces (其他)
Enums
Types
@ohos.web.netErrorList (ArkWeb网络协议栈错误列表)
@ohos.web.WebNativeMessagingExtensionAbility (Web Native Messaging Extension Ability)
@ohos.web.WebNativeMessagingExtensionContext (Web Native Messaging Extension Context)
@ohos.web.webNativeMessagingExtensionManager (Web Native Messaging Extension Manager)
ArkTS 组件
Web
组件描述
属性
事件
Class (ClientAuthenticationHandler)
Class (ConsoleMessage)
Class (ControllerHandler)
Class (DataResubmissionHandler)
Class (EventResult)
Class (FileSelectorParam)
Class (FileSelectorResult)
Class (FullScreenExitHandler)
Class (HttpAuthHandler)
Class (JsGeolocation)
Class (JsResult)
Class (PermissionRequest)
Class (ScreenCaptureHandler)
Class (SslErrorHandler)
Class (WebContextMenuParam)
Class (WebContextMenuResult)
Class (WebCookie)
Class (WebKeyboardController)
Class (WebResourceError)
Class (WebResourceRequest)
Class (WebResourceResponse)
Interfaces(其他)
Enums
Types
Class (WebController)
C API
模块
Web
头文件
arkweb_error_code.h
arkweb_interface.h
arkweb_net_error_list.h
arkweb_scheme_handler.h
arkweb_type.h
native_interface_arkweb.h
结构体
ArkWeb_AnyNativeAPI
ArkWeb_BlanklessInfo
ArkWeb_SchemeHandler_
ArkWeb_ResourceHandler_
ArkWeb_Response_
ArkWeb_ResourceRequest_
ArkWeb_RequestHeaderList_
ArkWeb_HttpBodyStream_
ArkWeb_JavaScriptBridgeData
ArkWeb_WebMessage*
ArkWeb_JavaScriptValue*
ArkWeb_WebMessagePort*
ArkWeb_JavaScriptObject
ArkWeb_ProxyMethod
ArkWeb_ProxyMethodWithResult
ArkWeb_ProxyObject
ArkWeb_ProxyObjectWithResult
ArkWeb_ControllerAPI
ArkWeb_ComponentAPI
ArkWeb_WebMessagePortAPI
ArkWeb_WebMessageAPI
ArkWeb_CookieManagerAPI
ArkWeb_JavaScriptValueAPI
错误码
Webview错误码
Background Tasks Kit(后台任务开发服务)
ArkTS API
@ohos.reminderAgentManager (后台代理提醒)
@ohos.resourceschedule.backgroundTaskManager (后台任务管理)
@ohos.resourceschedule.workScheduler (延迟任务调度)
@ohos.WorkSchedulerExtensionAbility (延迟任务调度回调)
@ohos.resourceschedule.backgroundProcessManager (后台子进程管控)
application
WorkSchedulerExtensionContext
已停止维护的接口
@ohos.backgroundTaskManager (后台任务管理)
@ohos.bundleState (设备使用信息统计)
@ohos.reminderAgent (后台代理提醒)
C API
模块
BackgroundProcessManager
TransientTask
头文件
background_process_manager.h
transient_task_api.h
transient_task_type.h
结构体
TransientTask_DelaySuspendInfo
TransientTask_TransientTaskInfo
错误码
backgroundTaskManager错误码
backgroundProcessManager错误码
reminderAgentManager错误码
workScheduler错误码
Content Embed Kit(内容嵌入服务)
C API
模块
ContentEmbed
头文件
content_embed_common.h
content_embed_document.h
content_embed_extension.h
content_embed_proxy.h
结构体
ContentEmbed_Document
ContentEmbed_Storage
ContentEmbed_StorageElement
ContentEmbed_StorageElements
ContentEmbed_Stream
ContentEmbed_ExtensionContext
ContentEmbed_ExtensionContext*
ContentEmbed_ExtensionInstance
ContentEmbed_ExtensionInstance*
ContentEmbed_Object
ContentEmbed_Object*
ContentEmbed_Info
ContentEmbed_Format
ContentEmbed_ExtensionProxy
ContentEmbed_Capability
Core File Kit(文件基础服务)
ArkTS API
@ohos.application.BackupExtensionAbility (备份恢复扩展能力)
@ohos.file.cloudSync (端云同步能力)
@ohos.file.cloudSyncManager (端云同步管理能力)
@ohos.file.environment (目录环境能力)
@ohos.file.fileuri (文件URI)
@ohos.file.fs (文件管理)
@ohos.file.hash (文件哈希处理)
@ohos.file.picker (选择器)
@ohos.file.securityLabel (数据标签)
@ohos.file.statvfs (文件系统空间统计)
@ohos.file.storageStatistics (应用空间统计)
@ohos.fileshare (文件分享)
@ohos.file.BackupExtensionContext (备份恢复扩展能力)
已停止维护的接口
@ohos.document (文件交互)
@ohos.fileio (文件管理)
@ohos.statfs (statfs)
@system.file (文件存储)
C API
模块
Environment
FileIO
fileShare
fileUri
CloudDisk
头文件
oh_environment.h
error_code.h
oh_fileio.h
oh_file_share.h
oh_file_uri.h
oh_cloud_disk_manager.h
cloud_disk_error_code.h
结构体
FileShare_PolicyErrorResult
FileShare_PolicyInfo
CloudDisk_ChangeData
CloudDisk_ChangesResult
CloudDisk_DisplayNameInfo
CloudDisk_FailedList
CloudDisk_FileSyncState
CloudDisk_PathInfo
CloudDisk_ResultList
CloudDisk_SyncFolder
错误码
文件管理错误码
Data Augmentation Kit(数据增强服务)
ArkTS API
rag(检索增强生成)
retrieval(智慧化数据平台)
knowledgeProcessor(知识加工)
localChatModel(端侧问答模型)
ArkTS API错误码
C API
模块
AIP
Retrieval
头文件
aip_error_code.h
aip_retrieval.h
aip_retrieval_condition.h
aip_retrieval_condition_vector.h
aip_retrieval_query.h
aip_retrieval_record.h
Form Kit(卡片开发服务)
ArkTS API
@ohos.app.form.formBindingData (卡片数据绑定类)
@ohos.app.form.FormExtensionAbility (FormExtensionAbility)
@ohos.app.form.formInfo (formInfo)
@ohos.app.form.formProvider (formProvider)
@ohos.app.form.FormEditExtensionAbility (FormEditExtensionAbility)
@ohos.app.form.LiveFormExtensionAbility (LiveFormExtensionAbility)
application
FormExtensionContext
FormEditExtensionContext
LiveFormExtensionContext
已停止维护的接口
@ohos.application.formBindingData (卡片数据绑定类)
@ohos.application.formError (formError)
@ohos.application.formInfo (formInfo)
@ohos.application.formProvider (formProvider)
错误码
卡片错误码
IME Kit(输入法开发服务)
ArkTS API
@ohos.InputMethodExtensionAbility (InputMethodExtensionAbility)
@ohos.InputMethodExtensionContext (InputMethodExtensionContext)
@ohos.inputMethod.Panel (输入法面板)
@ohos.InputMethodSubtype (输入法子类型)
@ohos.inputMethod (输入法框架)
@ohos.inputMethodEngine (输入法服务)
@ohos.inputMethodList (输入法切换列表控件)
@ohos.inputMethod.ExtraConfig (输入法扩展信息)
C API
模块
InputMethod
头文件
inputmethod_attach_options_capi.h
inputmethod_controller_capi.h
inputmethod_cursor_info_capi.h
inputmethod_inputmethod_proxy_capi.h
inputmethod_private_command_capi.h
inputmethod_text_avoid_info_capi.h
inputmethod_text_config_capi.h
inputmethod_text_editor_proxy_capi.h
inputmethod_types_capi.h
结构体
InputMethod_AttachOptions
InputMethod_CursorInfo
InputMethod_InputMethodProxy
InputMethod_PrivateCommand
InputMethod_TextAvoidInfo
InputMethod_TextConfig
InputMethod_TextEditorProxy
错误码
输入法框架错误码
IPC Kit(进程间通信服务)
ArkTS API
@ohos.rpc (RPC通信)
C API
模块
OHIPCParcel
OHIPCRemoteObject
OHIPCSkeleton
OHIPCErrorCode
IPCKit
头文件
ipc_cparcel.h
ipc_cremote_object.h
ipc_cskeleton.h
ipc_error_code.h
ipc_kit.h
结构体
OHIPCParcel
OH_IPC_MessageOption
OHIPCRemoteProxy
OHIPCRemoteStub
OHIPCDeathRecipient
错误码
RPC错误码
Localization Kit(本地化开发服务)
ArkTS API
@ohos.i18n (国际化-I18n)
@ohos.intl (国际化-Intl)
@ohos.resourceManager (资源管理)
@ohos.sendableResourceManager (资源管理)
global
RawFileDescriptor
Resource
SendableResource
C API
模块
rawfile
resourcemanager
i18n
头文件
ohresmgr.h
raw_dir.h
raw_file.h
raw_file_manager.h
resmgr_common.h
timezone.h
errorcode.h
结构体
RawDir
RawFileDescriptor
RawFileDescriptor64
RawFile
RawFile64
NativeResourceManager
ResourceManager_Configuration
DateTimeRule
InitialTimeZoneRule
TimeArrayTimeZoneRule
AnnualTimeZoneRule
TimeZoneRules
TimeZoneRuleQuery
错误码
I18n错误码
资源管理错误码
UI Design Kit(UI设计套件)
ArkTS API
hdsDrawable
symbolRegister
hdsEffect
hdsMaterial
ArkTS API错误码
ArkTS组件
HdsNavigation
HdsNavDestination
HdsSideBar
HdsSnackBar
HdsSideMenu
HdsActionBar
HdsTabs
HdsListItem
HdsListItemCard
HdsVisualComponent
MultiWindowEntryInAPP
系统
安全
Asset Store Kit(关键资产存储服务)
ArkTS API
@ohos.security.asset (关键资产存储服务)
C API
模块
AssetApi
AssetType
头文件
asset_api.h
asset_type.h
结构体
Asset_Blob
Asset_Value
Asset_Attr
Asset_Result
Asset_ResultSet
Asset_SyncResult
错误码
关键资产存储服务错误码
Crypto Architecture Kit(加解密算法框架服务)
ArkTS API
@ohos.security.cryptoFramework (加解密算法库框架)
已停止维护的接口
@system.cipher (加密算法)
C API
模块
CryptoArchitectureKit
CryptoAsymCipherApi
CryptoAsymKeyApi
CryptoCommonApi
CryptoDigestApi
CryptoKdfApi
CryptoKeyAgreementApi
CryptoMacApi
CryptoRandApi
CryptoSignatureApi
CryptoSymCipherApi
CryptoSymKeyApi
头文件
crypto_architecture_kit.h
crypto_asym_cipher.h
crypto_asym_key.h
crypto_common.h
crypto_digest.h
crypto_kdf.h
crypto_key_agreement.h
crypto_mac.h
crypto_rand.h
crypto_signature.h
crypto_sym_cipher.h
crypto_sym_key.h
结构体
Crypto_DataBlob
OH_CryptoAsymCipher
OH_CryptoSm2CiphertextSpec
OH_CryptoKeyPair
OH_CryptoPubKey
OH_CryptoPrivKey
OH_CryptoAsymKeyGenerator
OH_CryptoPrivKeyEncodingParams
OH_CryptoAsymKeySpec
OH_CryptoAsymKeyGeneratorWithSpec
OH_CryptoEcPoint
OH_CryptoDigest
OH_CryptoKdf
OH_CryptoKdfParams
OH_CryptoKeyAgreement
OH_CryptoMac
OH_CryptoRand
OH_CryptoVerify
OH_CryptoSign
OH_CryptoEccSignatureSpec
OH_CryptoSymCipher
OH_CryptoSymCipherParams
OH_CryptoSymKey
OH_CryptoSymKeyGenerator
错误码
cryptoFramework错误码
Data Protection Kit(数据保护服务)
ArkTS API
@ohos.dlpPermission (数据防泄漏)
@ohos.security.identifySensitiveContent (识别敏感内容)
C API
模块
DlpPermissionApi
头文件
dlp_permission_api.h
错误码
DLP服务错误码
Device Security Kit(设备安全服务)
ArkTS API
DeviceVerify(应用设备状态检测)
SafetyDetect(安全检测)
RiskControlEngine(星盾机密风控引擎)
Beta
TrustedAppService(可信应用服务)
BusinessRiskIntelligentDetection(业务风险检测)
SecurityAudit(安全审计)
AntifraudPicker(反诈选择器)
TrustedAuthentication(数字盾服务)
DlpAntiPeep(防窥保护)
SuperPrivacyMode(超级隐私模式)
ArkTS API错误码
DeviceVerify(应用设备状态检测)
SafetyDetect(安全检测)
RiskControlEngine(星盾机密风控引擎)
TrustedAppService(可信应用服务)
BusinessRiskIntelligentDetection(业务风险检测)
SecurityAudit(安全审计)
AntifraudPicker(反诈选择器)
TrustedAuthentication (数字盾服务)
DlpAntiPeep(防窥保护)
SuperPrivacyMode(超级隐私模式)
C API
模块
DeviceSecurityMode
SecurityAudit
SecurityAntivirus
头文件
device_security_mode.h
security_audit.h
security_antivirus.h
结构体
SecurityAudit_Event
SecurityAudit_Filter
SecurityAntivirus_Antivirus
REST API
验证deviceToken
查询设备标记状态
更新设备标记状态
删除设备标记状态
REST API错误码
Enterprise Data Guard Kit(企业数据保护服务)
ArkTS API
fileGuard (文件分级管控)
recoveryKey(企业恢复密钥)
企业数据保护服务错误码
Enterprise Threat Protection Kit(企业威胁防护服务)
ArkTS API
virusRemediation(病毒检测与处置)
ArkTS API 错误码
Online Authentication Kit(在线认证服务)
ArkTS API
FIDO
IFAA
SOTER
通行密钥
DID
Beta
ArkTS API错误码
FIDO
IFAA
SOTER
通行密钥
DID数字身份服务
C API
模块
通行密钥
头文件
fido2_api.h
结构体
AuthenticationExtensionsClientOutputs
FIDO2_AttestationFormatsArray
FIDO2_AuthenticatorAttestationResponse
FIDO2_AuthenticatorMetadata
FIDO2_AuthenticatorMetadataArray
FIDO2_AuthenticatorResponse
FIDO2_AuthenticatorSelectionCriteria
FIDO2_AuthenticatorTransportArray
FIDO2_Capability
FIDO2_CapabilityArray
FIDO2_CredentialCreationOptionArray
FIDO2_CredentialCreationOptions
FIDO2_CredentialRequestOptions
FIDO2_PublicKeyAssertionCredential
FIDO2_PublicKeyAttestationCredential
FIDO2_PublicKeyCredentialCreationOptions
FIDO2_PublicKeyCredentialDescriptor
FIDO2_PublicKeyCredentialDescriptorArray
FIDO2_PublicKeyCredentialHintArray
FIDO2_PublicKeyCredentialParameters
FIDO2_PublicKeyCredentialRequestOptions
FIDO2_PublicKeyCredentialRpEntity
FIDO2_PublicKeyCredentialUserEntity
FIDO2_TokenBinding
Uint8Buff
Device Certificate Kit(设备证书服务)
ArkTS API
@ohos.security.cert (证书模块)
@ohos.security.certManager (证书管理模块)
@ohos.security.certManagerDialog (证书管理对话框模块)
C API
模块
CertManager
CertManagerType
头文件
cm_native_api.h
cm_native_type.h
结构体
OH_CM_Blob
OH_CM_Credential
OH_CM_CredentialDetailList
OH_CM_UkeyInfo
错误码
证书错误码
证书管理错误码
证书管理对话框错误码
Universal Keystore Kit(密钥管理服务)
ArkTS API
@ohos.security.huks (通用密钥库系统)
@ohos.security.huksExternalCrypto (外部密钥管理)
@ohos.security.CryptoExtensionAbility (密钥扩展能力)
C API
模块
HuksExternalCryptoApi
HuksExternalCryptoTypeApi
HuksKeyApi
HuksParamSetApi
HuksTypeApi
头文件
native_huks_external_crypto_api.h
native_huks_external_crypto_type.h
native_huks_api.h
native_huks_param.h
native_huks_type.h
结构体
OH_Huks_ExternalCryptoParam
OH_Huks_ExternalCryptoParamSet
OH_Huks_Result
OH_Huks_Blob
OH_Huks_Param
OH_Huks_ParamSet
OH_Huks_CertChain
OH_Huks_KeyInfo
OH_Huks_PubKeyInfo
OH_Huks_KeyMaterialRsa
OH_Huks_KeyMaterialEcc
OH_Huks_KeyMaterialDsa
OH_Huks_KeyMaterialDh
OH_Huks_KeyMaterial25519
OH_Huks_KeyAliasSet
错误码
HUKS错误码
User Authentication Kit(用户认证服务)
ArkTS API
@ohos.userIAM.userAuth (用户认证)
ArkTS组件
@ohos.userIAM.userAuthIcon (嵌入式用户身份认证控件)
错误码
用户认证错误码
网络
Accessory Kit(配件接入服务)
ArkTS API
accessoryAccessManager(配件接入管理)
Beta
Connectivity Kit(短距通信服务)
ArkTS API
@ohos.bluetooth.a2dp (蓝牙a2dp模块)
@ohos.bluetooth.access (蓝牙access模块)
@ohos.bluetooth.baseProfile (蓝牙baseProfile模块)
@ohos.bluetooth.ble (蓝牙ble模块)
@ohos.bluetooth.connection (蓝牙connection模块)
@ohos.bluetooth.constant (蓝牙constant模块)
@ohos.bluetooth.common (蓝牙common模块)
@ohos.bluetooth.hfp (蓝牙hfp模块)
@ohos.bluetooth.hid (蓝牙hid模块)
@ohos.bluetooth.pan (蓝牙pan模块)
@ohos.bluetooth.socket (蓝牙socket模块)
@ohos.bluetooth.pbap (蓝牙pbap模块)
@ohos.bluetooth.map (蓝牙map模块)
@ohos.connectedTag (有源标签)
@ohos.nfc.cardEmulation (标准NFC-cardEmulation)
@ohos.nfc.controller (标准NFC)
@ohos.nfc.tag (标准NFC-Tag)
@ohos.secureElement (安全单元的通道管理)
@ohos.wifiManager (WLAN)
@ohos.wifiManagerExt (WLAN扩展接口)
@ohos.FusionConnectivity.partnerAgent(设备状态通知模块)
@ohos.FusionConnectivity.PartnerAgentExtensionContext (设备状态通知能力上下文)
@ohos.FusionConnectivity.PartnerAgentExtensionAbility (支持设备状态通知的ExtensionAbility组件)
tag
nfctech (标准NFC-Tag Nfc 技术)
tagSession (标准NFC-Tag TagSession)
C API
模块
Bluetooth
Wifi
头文件
oh_bluetooth.h
oh_wifi.h
错误码
蓝牙服务子系统错误码
WIFI错误码
NFC错误码
SE(secureElement)错误码
融合短距服务子系统错误码
已停止维护的接口
@ohos.bluetooth (蓝牙)
@ohos.bluetoothManager (蓝牙)
@ohos.wifi (WLAN)
@ohos.wifiext (WLAN扩展接口)
@system.bluetooth (蓝牙)
Distributed Service Kit(分布式管理服务)
ArkTS API
@ohos.distributedDeviceManager (设备管理)
@ohos.distributedsched.abilityConnectionManager (应用多端协同管理)
@ohos.application.DistributedExtensionAbility (协同Extension)
@ohos.distributedsched.linkEnhance (增强连接)
@ohos.distributedsched.proxyChannelManager (代理通道管理)
C API
模块
DeviceManager
头文件
oh_device_manager.h
oh_device_manager_err_code.h
错误码
设备管理错误码
增强连接错误码
代理通道管理错误码
NearLink Kit(星闪服务)
ArkTS API
manager(星闪开关能力)
remoteDevice(对端设备的连接能力)
advertising(星闪广播能力)
scan(星闪扫描能力)
ssap(星闪SSAP连接能力)
dataTransfer(星闪数传能力)
cdsm(星闪合作设备集合能力)
constant(星闪公共常量定义)
ArkTS API错误码
Network Kit(网络服务)
ArkTS API
@ohos.net.connection (网络连接管理)
@ohos.net.ethernet (以太网连接管理)
@ohos.net.http (数据请求)
@ohos.net.mdns (MDNS管理)
@ohos.net.policy (网络策略管理)
@ohos.net.socket (Socket连接)
@ohos.net.statistics (流量管理)
@ohos.net.sharing (网络共享管理)
@ohos.net.vpnExtension (VPN增强管理)
@ohos.net.vpn (VPN管理)
@ohos.net.webSocket (WebSocket连接)
@ohos.net.netFirewall (网络防火墙)
@ohos.net.networkSecurity (网络安全校验)
@ohos.net.eap (扩展认证)
@ohos.app.ability.VpnExtensionAbility (三方VPN能力)
VpnExtensionContext
C API
模块
NetConnection
Netstack
头文件
net_connection.h
net_connection_type.h
net_ssl_c.h
net_ssl_c_type.h
net_websocket.h
net_websocket_type.h
net_http.h
net_http_type.h
http_interceptor.h
http_interceptor_type.h
结构体
NetConn_NetHandle
NetConn_NetCapabilities
NetConn_NetAddr
NetConn_Route
NetConn_HttpProxy
NetConn_ConnectionProperties
NetConn_NetHandleList
NetConn_NetSpecifier
NetConn_NetConnCallback
NetConn_ProbeResultInfo
NetConn_TraceRouteInfo
NetConn_TraceRouteOption
NetStack_CertBlob
NetStack_CertificatePinning
NetStack_Certificates
WebSocket
WebSocket_CloseResult
WebSocket_CloseOption
WebSocket_ErrorResult
WebSocket_OpenResult
WebSocket_Header
WebSocket_RequestOptions
Http_Buffer
Http_HeaderValue
Http_HeaderEntry
Http_ClientCert
Http_CustomProxy
Http_Proxy
Http_PerformanceTiming
Http_RequestOptions
Http_Response
Http_Request
Http_EventsHandler
Http_Headers
OH_Http_Interceptor_Headers
OH_Http_Interceptor_Request
OH_Http_Interceptor_Response
OH_Http_Interceptor
已停止维护的接口
@system.network (网络状态)
@system.fetch (数据请求)
错误码
HTTP错误码
Socket错误码
webSocket错误码
网络连接管理错误码
以太网连接错误码
扩展认证错误码
网络共享错误码
策略管理错误码
MDNS错误码
流量管理错误码
VPN错误码
网络安全校验错误码
内核错误码
防火墙错误码
Network Boost Kit(网络加速服务)
ArkTS API
netQuality(网络质量)
netHandover(连接迁移)
netBoost(网络加速)
ArkTS API错误码
C API
模块
NetworkBoost
头文件
network_boost_handover.h
network_boost_quality.h
network_boost.h
结构体
HMS_NetworkBoost_HandoverCallback
NetworkBoost_DataSpeedAction
NetworkBoost_HandoverComplete
NetworkBoost_HandoverStart
NetworkBoost_NetHandle
NetworkBoost_NetworkQos
NetworkBoost_NetworkQosArray
NetworkBoost_NetworkScene
NetworkBoost_WeakSignalPrediction
NetworkBoost_MultiPathQuota
NetworkBoost_MultiPathQuotaInfo
NetworkBoost_MultiPathRecommendation
NetworkBoost_MultiPathRequestResult
NetworkBoost_MultiPathStateChange
NetworkBoost_SceneDesc
Remote Communication Kit(远场通信服务)
ArkTS API
rcp(数据请求)
urpc(高性能rpc通信库)
C API
模块
RemoteCommunication
头文件
rcp.h
rcp_quic.h
Beta
结构体
Rcp_Buffer
Rcp_CertificateAuthority
Rcp_ClientCertificate
Rcp_Configuration
Rcp_ConnectionConfiguration
Rcp_ContentOrPathOrCallback
Rcp_CookieAttributeEntry
Rcp_Credential
Rcp_DebugInfo
Rcp_DnsConfiguration
Rcp_DnsOverHttps
Rcp_DnsRule
Rcp_DnsServers
Rcp_EventsHandler
Rcp_Exclusions
Rcp_FormFieldFileValue
Rcp_FormFieldValue
Rcp_FormOrder
Beta
Rcp_HeaderEntry
Rcp_HeaderValue
Rcp_InfoToCollect
Rcp_Interceptor
Rcp_InterceptorArray
Rcp_IpAddress
Rcp_IpAndPort
Rcp_MultipartFormFieldValue
Rcp_OnDataReceiveCallback
Rcp_OnHeaderReceiveCallback
Rcp_OnProgressCallback
Rcp_OnVoidCallback
Rcp_ProxyConfiguration
Rcp_Request
Rcp_RequestContent
Rcp_RequestCookieEntry
Rcp_Response
Rcp_ResponseCallbackObject
Rcp_ResponseCookies
Rcp_SecurityConfiguration
Rcp_ServerAuthentication
Rcp_SessionConfiguration
Rcp_SessionListener
Rcp_StaticDnsRule
Rcp_StaticDnsRuleItem
Rcp_SyncInterceptor
Rcp_SyncInterceptorArray
Rcp_TimeInfo
Rcp_Timeout
Rcp_TracingConfiguration
Rcp_TransferConfiguration
Rcp_TransferRange
Rcp_Urls
Rcp_WebProxy
Rcp_OnBinaryReceiveCallback
Rcp_OnStatusCodeReceiveCallback
Rcp_OnGetDataCallback
Beta
Rcp_QuicSlist
Beta
Rcp_QuicIpAddress
Beta
Rcp_QuicIoVec
Beta
Rcp_QuicStreamData
Beta
API错误码
故障日志关键字段说明
Service Collaboration Kit(协同服务)
ArkTS组件
CollaborationCamera (跨设备互通组件)
CollaborationService (跨设备互通组件)
CollaborationDevicePicker (流转控件)
devicePicker (设备选择控制器)
ArkTS 错误码
C API
模块
ServiceCollaboration
头文件和结构体
头文件
service_collaboration_api.h
结构体
ServiceCollaboration_CollaborationDeviceInfo
ServiceCollaboration_CollaborationDeviceInfoSets
ServiceCollaboration_SelectInfo
ServiceCollaborationCallback
ServiceCollaboration_SelectInfoV2
Telephony Kit(蜂窝通信服务)
ArkTS API
@ohos.telephony.call (拨打电话)
@ohos.telephony.data (蜂窝数据)
@ohos.telephony.esim (eSIM卡管理)
@ohos.telephony.observer (observer)
@ohos.telephony.radio (网络搜索)
@ohos.telephony.sim (SIM卡管理)
@ohos.telephony.sms (短信服务)
@ohos.telephony.vcard (VCard模块)
C API
模块
Telephony
头文件
telephony_data.h
telephony_radio.h
telephony_radio_type.h
结构体
Telephony_NetworkState
错误码
电话子系统错误码
基础功能
Basic Services Kit(基础服务)
ArkTS API
账号管理
@ohos.account.appAccount (应用账号管理)
@ohos.account.distributedAccount (分布式账号管理)
@ohos.account.osAccount (系统账号管理)
设备管理
@ohos.batteryInfo (电量信息)
@ohos.deviceInfo (设备信息)
@ohos.power (系统电源管理)
@ohos.runningLock (RunningLock锁)
@ohos.thermal (热管理)
@ohos.usbManager (USB管理)
@ohos.usbManager.serial (串口管理)
数据文件处理
@ohos.app.ability.PrintExtensionAbility (打印扩展能力)
@ohos.pasteboard (剪贴板)
@ohos.print (打印)
@ohos.scan (扫描)
@ohos.request (上传下载)
@ohos.request.cacheDownload (缓存下载)
@ohos.zlib (Zip模块)
@ohos.selectionInput.SelectionExtensionAbility (划词扩展能力)
@ohos.selectionInput.SelectionExtensionContext (划词扩展上下文)
@ohos.selectionInput.selectionManager (划词管理)
@ohos.selectionInput.SelectionPanel (划词面板)
进程线程通信
系统定义的公共事件
@ohos.commonEventManager (公共事件模块)
@ohos.events.emitter (Emitter)
commonEvent
CommonEventData
CommonEventPublishData
commonEventSubscriber
CommonEventSubscribeInfo
其他
@ohos.base (公共回调信息)
@ohos.annotation (注解)
@ohos.customization.customConfig (定制配置)
@ohos.settings (设置数据项名称)
@ohos.wallpaper (壁纸)
@ohos.resourceschedule.systemload (性能功耗热融合档位)
@ohos.systemDateTime (系统时间、时区)
@ohos.intelligentScene (情景模式)
已停止维护的接口
系统公共事件定义 (已废弃)
@ohos.commonEvent (公共事件模块)(已废弃)
@ohos.usb (USB管理)(已停止维护)
@system.brightness (屏幕亮度)
@system.battery (电量信息)
@system.device (设备信息)
@system.request (上传下载)
@ohos.screenLock (锁屏管理)
@ohos.systemTime (系统时间、时区)
C API
模块
OH_CommonEvent
DeviceInfo
OsAccount
OH_BatteryInfo
OH_Scan
OH_Print
Pasteboard
TimeService
头文件
deviceinfo.h
ohbattery_info.h
oh_commonevent.h
oh_commonevent_support.h
oh_pasteboard.h
oh_pasteboard_err_code.h
os_account.h
os_account_common.h
ohprint.h
ohscan.h
time_service.h
结构体
CommonEvent_SubscribeInfo
CommonEvent_PublishInfo
CommonEvent_RcvData
Pasteboard_ProgressInfo
Pasteboard_GetDataParams
OH_PasteboardObserver
OH_Pasteboard
Print_Margin
Print_PageSize
Print_Range
Print_DefaultValue
Print_PrinterCapability
Print_PrinterInfo
Print_PrintJob
Print_Property
Print_PropertyList
Print_Resolution
Print_StringList
Print_PrintAttributes
Print_PrintDocCallback
Scan_ScannerDevice
Scan_PictureScanProgress
Scan_ScannerOptions
错误码
USB服务错误码
RunningLock锁错误码
zlib子系统错误码
剪贴板错误码
热管理错误码
上传下载错误码
时间时区服务错误码
事件错误码
系统电源管理错误码
账号管理错误码
打印服务错误码
设置数据项错误码
划词服务错误码
情景模式错误码
deviceInfo错误码
Desktop Extension Kit(桌面拓展服务)
ArkTS API
statusBarManager(状态栏管理服务)
StatusBarViewExtensionAbility(状态栏扩展Ability)
quickBarManager(快捷栏管理服务)
ArkTS API错误码
FAST Kit(算法加速服务)
ArkTS API
@hms.fast.mathPrediction (数理预测)
Beta
ArkTS API错误码
C API
模块
FAST
头文件和结构体
头文件
fast_ads_concurrent_hashmap.h
fast_ads_segment_map.h
fast_common_def.h
fast_dsp_common.h
fast_dsp_transform.h
Beta
fast_solver_rect_partition.h
fast_collections_hashmap.h
Beta
结构体
FAST_BiquadCoefficients
FAST_BiquadCoefficientsD
FAST_Biquadm
FAST_BiquadmD
FAST_BiquadState
FAST_BiquadStateD
FAST_Rect
FAST_SplitComplex
FAST_SplitComplexD
Function Flow Runtime Kit
C API
模块
FFRT
头文件
condition_variable.h
loop.h
mutex.h
queue.h
shared_mutex.h
sleep.h
task.h
timer.h
fiber.h
type_def.h
结构体
ffrt_function_header_t
ffrt_dependence_t
ffrt_deps_t
ffrt_task_attr_t
ffrt_queue_attr_t
ffrt_condattr_t
ffrt_mutexattr_t
ffrt_rwlockattr_t
ffrt_mutex_t
ffrt_rwlock_t
ffrt_cond_t
ffrt_loop_t
ffrt_queue_t
ffrt_task_handle_t
ffrt_fiber_t
Input Kit(多模输入服务)
ArkTS API
@ohos.multimodalInput.inputDevice (输入设备)
@ohos.multimodalInput.inputEvent (输入事件)
@ohos.multimodalInput.intentionCode (意图事件)
@ohos.multimodalInput.keyCode (键值)
@ohos.multimodalInput.keyEvent (按键输入事件)
@ohos.multimodalInput.mouseEvent (鼠标输入事件)
@ohos.multimodalInput.gestureEvent (手势事件)
@ohos.multimodalInput.pointer (鼠标光标)
@ohos.multimodalInput.touchEvent (触屏输入事件)
@ohos.multimodalInput.infraredEmitter (红外管理)
@ohos.multimodalInput.inputConsumer (全局快捷键)
@ohos.multimodalInput.inputEventClient (输入事件注入)
Beta
C API
模块
input
头文件
oh_axis_type.h
oh_input_manager.h
oh_key_code.h
oh_pointer_style.h
结构体
Input_InterceptorEventCallback
Input_DeviceListener
OH_PixelmapNative
Input_KeyState
Input_KeyEvent
Input_MouseEvent
Input_TouchEvent
Input_AxisEvent
Input_Hotkey
Input_DeviceInfo
Input_InterceptorOptions
Input_CursorConfig
Input_CustomCursor
Input_CursorInfo
错误码
全局快捷键管理错误码
输入设备错误码
鼠标光标错误码
红外管理错误码
输入事件注入错误码
MDM Kit(企业设备管理服务)
ArkTS API
@ohos.enterprise.accountManager(账号管理)
@ohos.enterprise.adminManager(admin权限管理)
@ohos.enterprise.applicationManager(应用管理)
@ohos.enterprise.bluetoothManager(蓝牙管理)
@ohos.enterprise.browser(浏览器管理)
@ohos.enterprise.bundleManager(包管理)
@ohos.enterprise.common(Enterprise公共模块)
@ohos.enterprise.deviceControl(设备控制管理)
@ohos.enterprise.deviceInfo(设备信息管理)
@ohos.enterprise.deviceSettings (设备设置管理)
@ohos.enterprise.locationManager(位置服务管理)
@ohos.enterprise.networkManager(网络管理)
@ohos.enterprise.restrictions (限制类策略)
@ohos.enterprise.securityManager(安全管理)
@ohos.enterprise.systemManager (系统管理)
@ohos.enterprise.usbManager(USB管理)
@ohos.enterprise.wifiManager(Wi-Fi管理)
@ohos.enterprise.EnterpriseAdminExtensionAbility(企业设备管理扩展能力)
@ohos.enterprise.telephonyManager(通话管理)
application
EnterpriseAdminExtensionContext
错误码
企业设备管理错误码
Kernel Enhance Kit(内核增强能力)
C API
模块
QoS
头文件
qos.h
结构体
OH_QoS_GewuCreateSessionResult
OH_QoS_GewuSubmitRequestResult
硬件
Car Kit(车服务)
ArkTS API
navigationInfoMgr(导航信息管理)
smartMobilityCommon(智慧出行场景)
ArkTS API错误码
附录
naviTurnMode
trafficLane
Driver Development Kit(驱动开发服务)
ArkTS API
@ohos.app.ability.DriverExtensionAbility (驱动程序扩展能力)
@ohos.driver.deviceManager (外设管理)
application
DriverExtensionContext
C API
模块
BaseDdk
HidDdk
ScsiPeripheralDDK
UsbDdk
USBSerialDDK
头文件
ddk_api.h
ddk_types.h
hid_ddk_api.h
hid_ddk_types.h
scsi_peripheral_api.h
scsi_peripheral_types.h
usb_ddk_api.h
usb_ddk_types.h
usb_serial_api.h
usb_serial_types.h
结构体
DDK_Ashmem
Hid_EmitItem
Hid_Device
Hid_EventTypeArray
Hid_KeyCodeArray
Hid_AbsAxesArray
Hid_RelAxesArray
Hid_MscEventArray
Hid_EventProperties
Hid_RawDevInfo
Hid_DeviceHandle
ScsiPeripheral_DeviceMemMap
ScsiPeripheral_IORequest
ScsiPeripheral_Request
ScsiPeripheral_Response
ScsiPeripheral_TestUnitReadyRequest
ScsiPeripheral_InquiryRequest
ScsiPeripheral_InquiryInfo
ScsiPeripheral_ReadCapacityRequest
ScsiPeripheral_CapacityInfo
ScsiPeripheral_RequestSenseRequest
ScsiPeripheral_BasicSenseInfo
ScsiPeripheral_VerifyRequest
ScsiPeripheral_Device
UsbControlRequestSetup
UsbDeviceDescriptor
UsbConfigDescriptor
UsbInterfaceDescriptor
UsbEndpointDescriptor
UsbDdkEndpointDescriptor
UsbDdkInterfaceDescriptor
UsbDdkInterface
UsbDdkConfigDescriptor
UsbRequestPipe
UsbDeviceMemMap
Usb_DeviceArray
Usb_NonRootHubArray
Beta
UsbSerial_Params
UsbSerial_Device
错误码
驱动错误码
Multimodal Awareness Kit(多模态融合感知服务)
ArkTS API
@ohos.stationary (设备状态感知框架)
@ohos.multimodalAwareness.motion (动作感知能力)
@ohos.multimodalAwareness.metadataBinding (记忆链接)
@ohos.multimodalAwareness.deviceStatus (设备状态感知)
@ohos.multimodalAwareness.userStatus (用户状态感知)
错误码
动作感知错误码
记忆链接错误码
设备状态感知错误码
用户状态感知错误码
Pen Kit(手写笔服务)
ArkTS API
HandwriteController (手写套件功能)
PointPredictor(报点预测功能)
InstantShapeGenerator(一笔成形功能)
imageFeaturePicker (全局取色功能)
stylusInteraction (手写笔交互功能)
ArkTS组件
HandwriteComponent(手写套件组件)
C API
模块
GlobalColorPicker
HandWrite
头文件和结构体
头文件
native_gcp_api.h
native_handwrite_api.h
结构体
HMS_GCP_Color
HMS_GCP_PickedColorInfo
HandWrite_HistoricalPoint
ArkTS API 错误码
Sensor Service Kit(传感器服务)
ArkTS API
@ohos.sensor (传感器)
@ohos.vibrator (振动)
@system.sensor (传感器)
@system.vibrator (振动)
C API
模块
Sensor
Vibrator
头文件
oh_sensor.h
oh_sensor_type.h
vibrator.h
vibrator_type.h
结构体
Sensor_Info
Sensor_Event
Sensor_SubscriptionId
Sensor_SubscriptionAttribute
Sensor_Subscriber
Vibrator_Attribute
Vibrator_FileDescription
错误码
传感器错误码
振动错误码
Mechanic Kit(机械设备管理服务)
ArkTS API
@ohos.distributedHardware.mechanicManager (机械体控制模块)
错误码
机械体控制模块错误码
Wear Engine Kit(穿戴服务)
ArkTS API
wearEngine(穿戴设备能力开放)
wearEngineLite(穿戴设备能力开放)(Lite)
ArkTS API错误码
调测调优
Performance Analysis Kit(性能分析服务)
ArkTS API
@ohos.hichecker (检测模式)
@ohos.hidebug (Debug调试)
@ohos.hilog (HiLog日志打印)
@ohos.hiTraceChain (分布式跟踪)
@ohos.hiTraceMeter (性能打点)
@ohos.hiviewdfx.FaultLogExtensionAbility (故障延迟通知)
@ohos.hiviewdfx.FaultLogExtensionContext (故障延迟通知上下文)
@ohos.hiviewdfx.hiAppEvent (应用事件打点)
@ohos.hiviewdfx.hiRetrieval (应用灰度)
Beta
@ohos.hiviewdfx.jsLeakWatcher (ArkTS泄漏检测)
已停止维护的接口
@ohos.bytrace (性能打点)
@ohos.hiAppEvent (应用打点)
@ohos.faultLogger (故障日志获取)
C API
模块
HiAppEvent
HiCollie
HiDebug
HiLog
HiTrace
头文件
hiappevent.h
hiappevent_cfg.h
hiappevent_event.h
hiappevent_param.h
hicollie.h
hidebug.h
hidebug_type.h
log.h
trace.h
结构体
HiAppEvent_AppEventInfo
HiAppEvent_AppEventGroup
ParamListNode*
HiAppEvent_Watcher
HiAppEvent_Processor
HiAppEvent_Config
HiCollie_DetectionParam
HiCollie_SetTimerParam
HiDebug_ThreadCpuUsage
HiDebug_SystemMemInfo
HiDebug_NativeMemInfo
HiDebug_MemoryLimit
OH_HiDebug_RequestTraceConfig
HiDebug_JsStackFrame
HiDebug_NativeStackFrame
HiDebug_StackFrame
HiDebug_MallocDispatch
HiDebug_Backtrace_Object__*
HiDebug_GraphicsMemorySummary
HiDebug_ProcessSamplerConfig
OH_HiDebug_ResProfilerConfig
OH_HiDebug_ProfilingResult
HiTraceId
错误码
Faultlogger 错误码
应用事件打点错误码
HiDebug错误码
HiDebug CpuUsage错误码
HiDebug Trace错误码
HiCollie错误码
JsLeakWatcher错误码
应用灰度错误码
Test Kit(应用测试服务)
ArkTS API
@ohos.app.ability.abilityDelegatorRegistry (AbilityDelegatorRegistry)
@ohos.application.testRunner (TestRunner)
@ohos.UiTest
@ohos.test.PerfTest
接口依赖的元素及定义
AbilityDelegator
AbilityDelegatorArgs
ShellCmdResult
已停止维护的接口
@ohos.application.abilityDelegatorRegistry (AbilityDelegatorRegistry)
错误码
UiTest错误码
PerfTest错误码
媒体
Audio Kit(音频服务)
ArkTS API
@ohos.multimedia.audio (音频管理)
模块描述
Functions
Interface (AudioCapturer)
Interface (AudioManager)
Interface (AudioRenderer)
Interface (AudioRoutingManager)
Interface (AudioSessionManager)
Interface (AudioSpatializationManager)
Interface (AudioStreamManager)
Interface (AudioVolumeGroupManager)
Interface (AudioVolumeManager)
Interface (AudioLoopback)
Interfaces (其他)
Enums
Constants
Types
@ohos.multimedia.audioHaptic (音振协同)
@ohos.multimedia.systemSoundManager (系统声音管理)
multimedia
SystemSoundPlayer (音效播放器)
ArkTS组件
@ohos.multimedia.avVolumePanel (音量面板)
C API
模块
OHAudio
OHAudioSuite
AudioConverter
Beta
OHMIDI
头文件
native_audiocapturer.h
native_audio_manager.h
native_audio_routing_manager.h
native_audio_session_manager.h
native_audio_stream_manager.h
native_audio_volume_manager.h
native_audiorenderer.h
native_audio_common.h
native_audio_converter.h
Beta
native_audio_device_base.h
native_audio_resource_manager.h
native_audiostream_base.h
native_audiostreambuilder.h
native_audio_suite_base.h
native_audio_suite_engine.h
native_audio_session_base.h
native_midi_base.h
native_midi.h
结构体
OH_AudioManager
OH_AudioRoutingManager
OH_AudioSession_Strategy
OH_AudioSession_DeactivatedEvent
OH_AudioSession_StateChangedEvent
OH_AudioSessionManager
OH_AudioStreamManager
OH_AudioVolumeManager
OH_AudioDeviceDescriptorArray
OH_AudioDeviceDescriptor
OH_AudioResourceManager
OH_AudioWorkgroup
OH_AudioStreamInfo
OH_AudioRenderer_Callbacks_Struct
OH_AudioCapturer_Callbacks_Struct
OH_AudioStreamBuilderStruct
OH_AudioRendererStruct
OH_AudioCapturerStruct
OH_AudioFormat
OH_AudioDataArray
OH_EqualizerFrequencyBandGains
OH_AudioSuiteEngineStruct
OH_AudioSuitePipelineStruct
OH_AudioNodeStruct
OH_AudioNodeBuilderStruct
OH_AudioSuite_SpaceRenderPositionParams
OH_AudioSuite_PureVoiceChangeOption
OH_AudioSuite_SpaceRenderExtensionParams
OH_AudioSuite_SpaceRenderRotationParams
OH_AudioConverter_Format
Beta
OH_AudioConverterStruct
Beta
OH_MIDIEvent
OH_MIDIDeviceInformation
OH_MIDIPortInformation
OH_MIDIPortDescriptor
OH_MIDICallbacks
OH_MIDIClientStruct
OH_MIDIDeviceStruct
错误码
Audio错误码
AVCodec Kit(音视频编解码服务)
C API
模块
AVCapability
AudioCodec
CodecBase
Core
VideoDecoder
VideoEncoder
AVDemuxer
AVMuxer
AVSource
Multimedia_Drm
头文件
native_avcapability.h
native_avcodec_audiocodec.h
native_avcodec_base.h
media_types.h
native_audio_channel_layout.h
native_audio_vivid.h
Beta
native_avbuffer.h
native_avbuffer_info.h
native_averrors.h
native_avformat.h
native_avmemory.h
native_avcodec_videodecoder.h
native_avcodec_videoencoder.h
native_avdemuxer.h
native_avmuxer.h
native_avsource.h
native_cencinfo.h
结构体
OH_AVRange
OH_AVCapability
OH_AVCodecAsyncCallback
OH_AVCodecCallback
OH_AVDataSource
OH_AVDataSourceExt
NativeWindow
OH_AVCodec
OH_AVBuffer
OH_AVCodecBufferAttr
OH_AVFormat
OH_AVMemory
OH_AVDemuxer
DRM_MediaKeySystemInfo
OH_AVMuxer
OH_AVSource
DrmSubsample
OH_AVCencInfo
OH_CartesianPosition
Beta
OH_PolarPosition
Beta
OH_AudioObjectPosition
Beta
OH_AudioVividMetaBuilderStruct
Beta
已停止维护的接口
模块
AudioDecoder
AudioEncoder
头文件
avcodec_audio_channel_layout.h
native_avcodec_audiodecoder.h
native_avcodec_audioencoder.h
AVSession Kit(音视频播控服务)
ArkTS API
@ohos.multimedia.avsession (媒体会话管理)
模块描述
Functions
Class (AVCastPickerHelper)
Interface (AVCastController)
Interface (AVSession)
Interface (AVSessionController)
Interfaces (其他)
Enums
Types
@ohos.multimedia.avCastPickerParam (投播组件参数)
@ohos.multimedia.avMusicTemplate (音频模板)
模块描述
Functions
Class (AVMusicTemplate)
Class (AVMusicTemplateController)
Interfaces (其他)
Enums
Types
ArkTS组件
@ohos.multimedia.avCastPicker (投播组件)
@ohos.multimedia.avInputCastPicker (录音设备选择组件)
C API
模块
OHAVSession
头文件
native_avmetadata.h
native_avsession.h
native_avsession_errors.h
native_avcastcontroller.h
native_avplaybackstate.h
native_avqueueitem.h
native_avsession_base.h
native_deviceinfo.h
结构体
OH_AVMetadataBuilderStruct
OH_AVMetadataStruct
AVSession_PlaybackPosition
OH_AVSession
OH_AVCastController
OH_AVSession_AVPlaybackState
OH_AVSession_AVQueueItem
OH_AVSession_AVMediaDescription
OH_AVSession_AVMediaDescriptionBuilder
AVSession_OutputDeviceInfo
AVSession_DeviceInfo
错误码
媒体会话管理错误码
音频模板错误码
Camera Kit(相机服务)
ArkTS API
@ohos.multimedia.camera (相机管理)
模块描述
Functions
Interface (Aperture)
Interface (ApertureQuery)
Interface (AutoDeviceSwitch)
Interface (AutoDeviceSwitchQuery)
Interface (AutoExposure)
Interface (AutoExposureQuery)
Interface (CameraInput)
Interface (CameraManager)
Interface (CameraOutput)
Interface (CapturePhoto)
Interface (ColorManagement)
Interface (ColorManagementQuery)
Interface (ControlCenter)
Interface (ControlCenterQuery)
Interface (Flash)
Interface (FlashQuery)
Interface (Focus)
Interface (FocusQuery)
Interface (Macro)
Interface (MacroQuery)
Interface (ManualExposure)
Interface (ManualExposureQuery)
Interface (ManualFocus)
Interface (ManualFocusQuery)
Interface (ManualIso)
Interface (ManualIsoQuery)
Interface (MetadataOutput)
Interface (OIS)
Interface (OISQuery)
Interface (Photo)
Interface (PhotoOutput)
Interface (PhotoSession)
Interface (PreviewOutput)
Interface (SecureSession)
Interface (Session)
Interface (Stabilization)
Interface (StabilizationQuery)
Interface (VideoOutput)
Interface (VideoSession)
Interface (WhiteBalance)
Interface (WhiteBalanceQuery)
Interface (Zoom)
Interface (ZoomQuery)
Interfaces (其他)
Enums
Types
废弃的Interface (CaptureSession, deprecated)
@ohos.multimedia.cameraPicker (相机选择器)
C API
模块
OH_Camera
头文件
camera.h
camera_device.h
camera_input.h
camera_manager.h
capture_session.h
metadata_output.h
photo_native.h
photo_output.h
preview_output.h
video_output.h
结构体
Camera_Size
Camera_Profile
Camera_FrameRateRange
Camera_VideoProfile
Camera_OutputCapability
Camera_Device
Camera_DeviceQueryInfo
Camera_StatusInfo
Camera_Point
Camera_Location
Camera_PhotoCaptureSetting
Camera_FrameShutterInfo
Camera_CaptureEndInfo
Camera_Rect
Camera_MetadataObject
Camera_TorchStatusInfo
Camera_SmoothZoomInfo
Camera_CaptureStartInfo
Camera_FrameShutterEndInfo
Camera_FoldStatusInfo
Camera_AutoDeviceSwitchStatusInfo
Camera_ConcurrentInfo
Camera_ControlCenterStatusInfo
Camera_Manager
CameraInput_Callbacks
Camera_Input
CameraManager_Callbacks
CaptureSession_Callbacks
Camera_CaptureSession
MetadataOutput_Callbacks
Camera_MetadataOutput
OH_PhotoNative
PhotoOutput_Callbacks
Camera_PhotoOutput
PreviewOutput_Callbacks
Camera_PreviewOutput
VideoOutput_Callbacks
Camera_VideoOutput
Camera_OcclusionDetectionResult
OH_Camera_ZoomRange
OH_Camera_PhysicalAperture
OH_Camera_ZoomPointInfo
Beta
错误码
Camera错误码
DRM Kit(数字版权保护服务)
ArkTS API
@ohos.multimedia.drm (数字版权保护)
模块描述
Functions
Interface (MediaKeySession)
Interface (MediaKeySystem)
Interfaces (其他)
Enums
C API
模块
Drm
头文件
native_drm_common.h
native_drm_err.h
native_mediakeysession.h
native_mediakeysystem.h
结构体
DRM_MediaKeyRequestInfo
DRM_MediaKeyRequest
DRM_Statistics
DRM_OfflineMediakeyIdArray
DRM_KeysInfo
DRM_MediaKeyStatus
DRM_PsshInfo
DRM_MediaKeySystemInfo
DRM_MediaKeySystemDescription
MediaKeySystem
MediaKeySession
MediaKeySession_Callback
OH_MediaKeySession_Callback
错误码
DRM错误码
Image Kit(图片处理服务)
ArkTS API
@ohos.multimedia.image (图片处理)
模块描述
Functions
Interface (AuxiliaryPicture)
Interface (Image)
Interface (ImageCreator)
Interface (ImagePacker)
Interface (ImageReceiver)
Interface (ImageSource)
Interface (Metadata)
Class (ExifMetadata)
Class (MakerNoteHuaweiMetadata)
Class (HeifsMetadata)
Class (WebPMetadata)
Class (GifMetadata)
Beta
Class (JfifMetadata)
Beta
Class (TiffMetadata)
Beta
Class (PngMetadata)
Beta
Class (XMPMetadata)
Beta
Class (AvisMetadata)
Beta
Interface (Picture)
Interface (PixelMap)
Interfaces (其他)
Enums
Types
Constants
@ohos.multimedia.sendableImage (基于Sendable对象的图片处理)
@ohos.multimedia.videoProcessingEngine (视频处理引擎)
C API
模块
Image_NativeModule
Image
ImageEffect
ImageProcessing
头文件
image_common.h
image_native.h
image_packer_native.h
image_receiver_native.h
image_source_native.h
picture_native.h
pixelmap_native.h
image_mdk.h
image_mdk_common.h
image_packer_mdk.h
image_pixel_map_mdk.h
image_pixel_map_napi.h
image_receiver_mdk.h
image_source_mdk.h
image_effect.h
image_effect_errors.h
image_effect_filter.h
image_processing.h
image_processing_types.h
结构体
OH_ImageSourceNative
OH_ImageSource_Info
OH_DecodingOptionsForPicture
OH_DecodingOptions
OH_PixelmapNative
OH_NativeBuffer
OH_Pixelmap_HdrStaticMetadata
OH_NativeColorSpaceManager
OH_Pixelmap_HdrDynamicMetadata
OH_Pixelmap_HdrGainmapMetadata
OH_Pixelmap_HdrMetadataValue
OH_Pixelmap_InitializationOptions
OH_Pixelmap_ImageInfo
Image_Size
Image_Region
OH_PictureMetadata
Image_String
OH_ImageNative
OH_ImagePackerNative
OH_ImageBufferData
OH_PackingOptions
OH_PackingOptionsForSequence
OH_ImageReceiverNative
OH_ImageReceiverOptions
OH_PictureNative
OH_AuxiliaryPictureNative
OH_AuxiliaryPictureInfo
OhosImageRect
ImageNative_
OhosImageComponent
OhosImageSize
ImagePacker_Opts_
ImagePacker_Native_
OhosPixelMapInfos
NativePixelMap_
OhosPixelMapCreateOps
OhosPixelMapInfo
OhosImageReceiverInfo
ImageReceiverNative_
OhosImageRegion
ImageSourceNative_
OhosImageSourceOps
OhosImageDecodingOps
OhosImageSourceInfo
OhosImageSource
OhosImageSourceDelayTimeList
OhosImageSourceSupportedFormat
OhosImageSourceSupportedFormatList
OhosImageSourceProperty
OhosImageSourceUpdateData
OH_ImageEffect
ImageEffect_DataValue
OH_EffectFilter
OH_EffectFilterInfo
OH_EffectBufferInfo
ImageEffect_Any
ImageEffect_FilterNames
ImageEffect_FilterDelegate
ImageEffect_Region
ImageEffect_Size
ImageProcessing_ColorSpaceInfo
OH_ImageProcessing
Image_PositionArea
Image_Scale
OH_ComposeOptions
OH_ImageRawData
错误码
Image错误码
视频处理引擎错误码
Media Kit(媒体服务)
ArkTS API
@ohos.multimedia.media (媒体服务)
模块描述
Functions
Interface (AVImageGenerator)
Interface (AVMetadataExtractor)
Interface (AVPlayer)
Interface (AVRecorder)
Interface (AVScreenCaptureRecorder)
Interface (AVTranscoder)
Interface (MediaSource)
Interface (MediaSourceLoadingRequest)
Interfaces (其他)
Enums
Types
废弃的Interface (AudioPlayer, deprecated)
废弃的Interface (AudioRecorder, deprecated)
废弃的Interface (VideoPlayer, deprecated)
multimedia
SoundPool (音频池)
C API
模块
AVImageGenerator
AVMetadataExtractor
AVPlayer
AVRecorder
AVTranscoder
AVScreenCapture
AVSinkBase
LowPowerAudioSink
LowPowerVideoSink
VideoProcessing
AVMediaSource
AVMediaBase
头文件
avimage_generator.h
avimage_generator_base.h
avmetadata_extractor.h
avmetadata_extractor_base.h
avplayer.h
avplayer_base.h
avrecorder.h
avrecorder_base.h
avtranscoder.h
avtranscoder_base.h
native_avscreen_capture.h
native_avscreen_capture_base.h
native_avscreen_capture_errors.h
lowpower_audio_sink.h
lowpower_audio_sink_base.h
lowpower_avsink_base.h
lowpower_video_sink.h
lowpower_video_sink_base.h
video_processing.h
video_processing_types.h
avmedia_base.h
avmedia_source.h
avmetakeys.h
结构体
OH_AVImageGenerator
OH_AVMetadataExtractor
MediaKeySession
DRM_MediaKeySystemInfo
AVPlayerCallback
OH_AVPlayer
OH_AVRecorder_Profile
OH_AVRecorder_Location
OH_AVRecorder_MetadataTemplate
OH_AVRecorder_Metadata
OH_AVRecorder_Config
OH_AVRecorder_Range
OH_AVRecorder_EncoderInfo
OH_AVRecorder
OH_AVTranscoder
OH_AVTranscoder_Config
OH_AudioCaptureInfo
OH_AudioEncInfo
OH_AudioInfo
OH_VideoCaptureInfo
OH_VideoEncInfo
OH_VideoInfo
OH_RecorderInfo
OH_AVScreenCaptureConfig
OH_PrivacyProtectInfo
OH_AVScreenCaptureCallback
OH_Rect
OH_AudioBuffer
OH_NativeBuffer
OH_AVScreenCapture
OH_AVScreenCapture_ContentFilter
OH_AVScreenCapture_CaptureStrategy
OH_AVScreenCapture_UserSelectionInfo
OH_AVScreenCaptureHighlightConfig
OH_LowPowerAudioSink
OH_LowPowerAudioSinkCallback
OH_AVSamplesBuffer
OH_LowPowerVideoSink
OH_LowPowerVideoSinkCallback
VideoProcessing_ColorSpaceInfo
OH_VideoProcessing
NativeWindow
OH_AVFormat
VideoProcessing_Callback
OH_AVPlaybackStrategy
OH_AVMediaSource
OH_AVHttpHeader
OH_AVMediaSourceLoadingRequest
OH_AVMediaSourceLoader
OH_AVSeiMessageArray
OH_AVMetadataExtractor_OutputParam
OH_AVMetadataExtractor_FrameInfo
OH_MultiDisplayCapability
OH_AVPlayerVideoOutput
Beta
错误码
Media错误码
Media Library Kit(媒体文件管理服务)
ArkTS API
@ohos.file.photoAccessHelper (相册管理模块)
模块描述
Functions
Class (MediaAlbumChangeRequest)
Class (MediaAssetChangeRequest)
Class (MediaAssetManager)
Class (PhotoViewPicker)
Classes (其他)
Interface (AbsAlbum)
Interface (Album)
Interface (FetchResult)
Interface (MediaAssetDataHandler)
Interface (MediaAssetProgressHandler)
Interface (MovingPhoto)
Interface (PhotoAccessHelper)
Interface (PhotoAsset)
Interface (QuickImageDataHandler)
Interfaces (其他)
Enums
Types
@ohos.file.sendablePhotoAccessHelper (基于Sendable对象的相册管理模块)
ArkTS组件
@ohos.file.AlbumPickerComponent (Album Picker组件)
@ohos.file.PhotoPickerComponent (PhotoPicker组件)
@ohos.file.RecentPhotoComponent (最近图片组件)
@ohos.multimedia.movingphotoview (动态照片)
C API
模块
MediaAssetManager
头文件
media_access_helper_capi.h
media_asset_base_capi.h
media_asset_capi.h
media_asset_change_request_capi.h
media_asset_manager_capi.h
moving_photo_capi.h
结构体
MediaLibrary_RequestId
OH_MediaAssetManager
OH_MediaAssetChangeRequest
OH_MovingPhoto
OH_MediaAsset
MediaLibrary_RequestOptions
错误码
媒体库错误码
Ringtone Kit(铃声服务)
ArkTS API
ringtone(铃声服务)
ArkTS API 错误码
Scan Kit(统一扫码服务)
ArkTS API
customScan (自定义界面扫码)
detectBarcode (图像识码)
generateBarcode (码图生成)
scanBarcode (默认界面扫码)
scanCore (扫码公共信息)
ArkTS API错误码
图形
AR Engine(AR引擎服务)
ArkTS API
arEngine(AR增强现实能力)
arViewController(AR场景管理能力)
ArkTS组件
ARView(AR场景可视化)
C API
模块
AR Engine
头文件和结构体
头文件
ar_engine_core.h
结构体
AREngine_ARAugmentedImageSource
AREngine_ClipPlaneDistance
AREngine_ARSemanticDensePointData
AREngine_ARSemanticDenseCubeData
AR Engine错误码
ArkGraphics 2D(方舟2D图形服务)
ArkTS API
@ohos.effectKit (图像效果)
@ohos.graphics.colorSpaceManager (色彩管理)
@ohos.graphics.sendableColorSpaceManager (可共享的色彩管理)
@ohos.graphics.common2D (2D图形通用数据类型)
@ohos.graphics.displaySync (可变帧率)
@ohos.graphics.drawing (绘制模块)
模块描述
Class (Brush)
Class (Canvas)
Class (ColorFilter)
Class (Font)
Class (ImageFilter)
Class (Lattice)
Class (MaskFilter)
Class (Matrix)
Class (Path)
Class (PathEffect)
Class (PathIterator)
Class (Pen)
Class (PointUtils)
Class (RectUtils)
Class (Region)
Class (RoundRect)
Class (SamplingOptions)
Class (ShaderEffect)
Class (ShadowLayer)
Class (TextBlob)
Class (Tool)
Class (Typeface)
Class (TypefaceArguments)
Interfaces (其他)
Enums
@ohos.graphics.hdrCapability (HDR能力)
@ohos.graphics.text (文本模块)
@ohos.graphics.uiEffect (效果级联)
C API
模块
OH_NativeBuffer
NativeColorSpaceManager
NativeDisplaySoloist
Drawing
effectKit
OH_NativeImage
NativeVsync
NativeWindow
NativeFence
头文件
buffer_common.h
native_buffer.h
native_color_space_manager.h
native_display_soloist.h
drawing_bitmap.h
drawing_brush.h
drawing_canvas.h
drawing_color.h
drawing_color_filter.h
drawing_color_space.h
drawing_error_code.h
drawing_filter.h
drawing_font.h
drawing_font_collection.h
drawing_font_mgr.h
drawing_gpu_context.h
drawing_image.h
drawing_image_filter.h
drawing_lattice.h
drawing_mask_filter.h
drawing_matrix.h
drawing_memory_stream.h
drawing_path.h
drawing_path_effect.h
drawing_path_iterator.h
drawing_pen.h
drawing_pixel_map.h
drawing_point.h
drawing_record_cmd.h
drawing_rect.h
drawing_region.h
drawing_register_font.h
drawing_round_rect.h
drawing_sampling_options.h
drawing_shader_effect.h
drawing_shadow_layer.h
drawing_surface.h
drawing_text_blob.h
drawing_text_declaration.h
drawing_text_font_descriptor.h
drawing_text_global.h
drawing_text_line.h
drawing_text_lineTypography.h
drawing_text_run.h
drawing_text_typography.h
drawing_typeface.h
drawing_types.h
effect_filter.h
effect_types.h
native_image.h
native_vsync.h
buffer_handle.h
external_window.h
graphic_error_code.h
native_fence.h
结构体
OH_NativeBuffer_ColorXY
OH_NativeBuffer_Smpte2086
OH_NativeBuffer_Cta861
OH_NativeBuffer_StaticMetadata
OH_NativeBuffer_Config
OH_NativeBuffer_Plane
OH_NativeBuffer_Planes
OH_NativeBuffer
ColorSpacePrimaries
WhitePointArray
DisplaySoloist_ExpectedRateRange
OH_Drawing_BitmapFormat
OH_Drawing_Font_Metrics
OH_Drawing_GpuContextOptions
OH_Drawing_RunBuffer
OH_Drawing_PlaceholderSpan
OH_Drawing_FontDescriptor
OH_Drawing_LineMetrics
OH_Drawing_FontFallbackInfo
OH_Drawing_FontFallbackGroup
OH_Drawing_FontAdjustInfo
OH_Drawing_FontAliasInfo
OH_Drawing_FontGenericInfo
OH_Drawing_FontConfigInfo
OH_Drawing_FontStyleStruct
OH_Drawing_FontFeature
OH_Drawing_StrutStyle
OH_Drawing_RectSize
OH_Drawing_Point2D
OH_Drawing_Point3D
OH_Drawing_Image_Info
OH_Drawing_RectStyle_Info
OH_Drawing_String
OH_Filter_ColorMatrix
OH_OnFrameAvailableListener
OH_NativeVSync_ExpectedRateRange
BufferHandle
Region
Rect
OHHDRMetaData
OHExtDataHandle
OH_NativeColorSpaceManager
OH_DisplaySoloist
NativePixelMap_
OH_PixelmapNative
OH_Drawing_FontCollection
OH_Drawing_Typography
OH_Drawing_TextStyle
OH_Drawing_TypographyStyle
OH_Drawing_LineTypography
OH_Drawing_TypographyCreate
OH_Drawing_TextBox
OH_Drawing_PositionAndAffinity
OH_Drawing_Range
OH_Drawing_TextShadow
OH_Drawing_FontParser
OH_Drawing_TextTab
OH_Drawing_TextLine
OH_Drawing_Run
OH_Drawing_FontFullDescriptor
OH_Drawing_FontVariationAxis
OH_Drawing_FontVariationInstance
OH_Drawing_FontVariationInstanceCoordinate
OH_Drawing_Canvas
OH_Drawing_Pen
OH_Drawing_Region
OH_Drawing_Brush
OH_Drawing_Path
OH_Drawing_PathIterator
OH_Drawing_Lattice
OH_Drawing_Bitmap
OH_Drawing_Point
OH_Drawing_PixelMap
OH_Drawing_ColorSpace
OH_Drawing_PathEffect
OH_Drawing_Rect
OH_Drawing_RoundRect
OH_Drawing_Matrix
OH_Drawing_ShaderEffect
OH_Drawing_ShadowLayer
OH_Drawing_Filter
OH_Drawing_MaskFilter
OH_Drawing_ColorFilter
OH_Drawing_Font
OH_Drawing_FontFeatures
OH_Drawing_MemoryStream
OH_Drawing_FontArguments
OH_Drawing_Typeface
OH_Drawing_TextBlob
OH_Drawing_Image
OH_Drawing_ImageFilter
OH_Drawing_SamplingOptions
OH_Drawing_TextBlobBuilder
OH_Drawing_GpuContext
OH_Drawing_Surface
OH_Drawing_FontMgr
OH_Drawing_FontStyleSet
OH_Drawing_RecordCmdUtils
OH_Drawing_RecordCmd
OH_Drawing_Array
OH_Filter
OH_NativeImage
NativeWindow
NativeWindowBuffer
OH_NativeVSync
OHIPCParcel
错误码
色彩管理错误码
图形绘制与显示错误码
ArkGraphics 3D(方舟3D图形)
ArkTS API
@ohos.graphics.scene (ArkGraphics 3D模块)
graphics3d
Scene
SceneNode
SceneType
SceneResource
ScenePostProcessSettings
Graphics Accelerate Kit(图形加速服务)
ArkTS API
assetDownloadManager(资源包下载管理)
AssetAccelerationExtensionAbility(资源加速ExtensionAbility)
AssetAccelerationExtensionContext(资源加速ExtensionContext)
launchAcceleration(游戏启动加速)
ArkTS API错误码
C API
模块
GraphicsAccelerate
头文件和结构体
头文件
abr_base.h
abr_gles.h
frame_generation_base.h
frame_generation_gles.h
frame_generation_vk.h
opengtx_base.h
结构体
ABR_CameraData
ABR_Vector3
FG_AlgorithmModeInfo
FG_ContextDescription_VK
FG_Dimension2D
FG_DispatchDescription_GLES
FG_DispatchDescription_VK
FG_ImageFormat_VK
FG_ImageInfo_VK
FG_ImageSync_VK
FG_Mat4x4
FG_ResolutionInfo
FG_Vec3D
FG_PerFrameExtendedCameraInfo
FG_IntegrationInfo
OpenGTX_ConfigDescription
OpenGTX_FrameRenderInfo
OpenGTX_GameSceneInfo
OpenGTX_NetworkInfo
OpenGTX_NetworkLatency
OpenGTX_ResolutionValue
OpenGTX_Vector3
Spatial Recon Kit(空间建模服务)
ArkTS API
spatialRender
spatialEdit
Beta
spatialImage(空间照片)
Beta
C API
模块
SpatialRecon
头文件和结构体
头文件
spatial_recon_interface.h
结构体
HMS_SpatialRecon_ModelWriteInfo
HMS_SpatialRecon_DataFrame
HMS_SpatialRecon_Session
AREngine_ARSession
AREngine_ARFrame
XEngine Kit(GPU加速引擎服务)
C API
模块
XEngine
头文件和结构体
头文件
xeg_extension_defs.h
xeg_gles_adaptive_vrs.h
xeg_gles_extension.h
xeg_gles_neural_upscale.h
xeg_gles_spatial_upscale.h
xeg_gles_temporal_upscale.h
xeg_vulkan_adaptive_vrs.h
xeg_vulkan_common.h
xeg_vulkan_extension.h
xeg_vulkan_hps.h
xeg_vulkan_rt_reflection.h
xeg_vulkan_rt_visible_mask.h
xeg_vulkan_rtgi.h
xeg_vulkan_spatial_upscale.h
xeg_vulkan_temporal_upscale.h
xeg_vulkan_neural_upscale.h
Beta
xeg_control_display_separation.h
Beta
结构体
XEG_AdaptiveVRSCreateInfo
XEG_AdaptiveVRSDescription
XEG_DDGICreateInfo
XEG_DDGIDescription
XEG_DDGIVolumeEntryParameters
XEG_ExtensionProperties
XEG_HPSCreateInfo
XEG_HPSRadixSort
XEG_HPSRadixSortDescription
XEG_NNGICreateInfo
XEG_NNGIDescription
XEG_RTAOParameters
XEG_RTReflectionCreateInfo
XEG_RTReflectionDescription
XEG_RTShadowAOCreateInfo
XEG_RTShadowAODenoiserParameters
XEG_RTShadowAODescription
XEG_RTShadowParameters
XEG_SpatialUpscaleCreateInfo
XEG_SpatialUpscaleDescription
XEG_TemporalUpscaleCreateInfo
XEG_TemporalUpscaleDescription
XEG_NeuralUpscaleCreateInfo
Beta
XEG_NeuralUpscaleDescription
Beta
应用服务
Account Kit(华为账号服务)
ArkTS API
@hms.core.authentication (华为账号应用统一认证服务)
@hms.core.account.extendService (华为账号增强服务)
@hms.core.account.shippingAddress (华为账号收货地址管理服务)
@hms.core.account.minorsProtection (华为账号未成年人模式)
@hms.core.account.invoiceAssistant (华为账号发票助手服务)
@hms.core.account.realName (华为账号实名认证服务)
ArkTS组件
LoginPanel (华为账号Panel登录组件)
LoginWithHuaweiIDButton (华为账号Button登录组件)
loginComponentManager (华为账号登录组件管理)
ArkTS错误码
REST API
公共说明
开放接口调用凭证
概述
获取用户级凭证
刷新用户级凭证
解析凭证
取消用户级凭证授权
获取应用级凭证
获取用户信息
概述
一键登录获取华为账号绑定号码和UnionID/OpenID
获取华为账号用户信息-获取头像昵称
获取华为账号用户信息-获取手机号
获取用户风险等级
实名认证
概述
获取实名信息
获取用户实名年龄段
实名信息校验
扩展能力
通过OpenID获取UnionID
通过Authorization Code获取GroupUnionID
通过OpenID或UnionID获取GroupUnionID
获取验证ID Token的JWT公钥信息
验证ID Token有效性
获取OpenID Connect配置公开信息
附录
一键登录获取华为账号绑定号码和UnionID/OpenID(不推荐)
REST API错误码
Ads Kit(广告服务)
ArkTS API
@ohos.advertising (广告服务框架)
@ohos.identifier.oaid (开放匿名设备标识服务)
@ohos.advertising.AdsServiceExtensionAbility(广告扩展服务)
advertisement
Advertisement (请求的广告内容)
ArkTS组件
@ohos.advertising.AdComponent (广告展示组件)
@ohos.advertising.AutoAdComponent (轮播广告展示组件)
错误码
广告服务框架错误码
开放匿名设备标识服务错误码
AppGallery Kit(应用市场服务)
ArkTS API
moduleInstallManager (产品特性按需分发)
productViewManager (应用市场推荐)
sceneManager (生态查询服务)
updateManager(更新功能)
attributionManager(应用归因服务)
attributionTestManager(应用归因接入调试功能)
privacyManager(隐私管理服务)
appInfoManager(应用元数据管理服务)
commentManager(应用评论服务)
ArkTS API错误码
C API
模块
ModuleInstall
头文件
module_install.h
REST API
归因结果回传
App Linking Kit(应用链接服务)
ArkTS API
deferredLink (延迟链接能力)
Calendar Kit(日历服务)
ArkTS API
@ohos.calendarManager (日程管理能力)
错误码
日历服务错误码
Call Service Kit(通话服务)
ArkTS API
voipCall (应用内通话管理)
CallerInfoQueryExtensionAbility (来去电信息查询扩展Ability)
CallerInfoQueryExtensionContext (来去电信息查询扩展Context)
numberIdentify (号码识别查询基本能力)
ArkTS API错误码
Cloud Foundation Kit(云开发服务)
ArkTS API
cloudCommon (公共模块)
cloudFunction (云函数模块)
cloudStorage (云存储模块)
cloudDatabase (云数据库模块)
cloudResPrefetch(预加载模块)
ArkTS API错误码
Contacts Kit(联系人服务)
ArkTS API
@ohos.contact (联系人)
错误码
Contacts错误码
Enterprise Space Kit(企业数字空间服务)
ArkTS API
@hms.enterpriseSpaceService.fileTransfer(空间数据传输)
@hms.enterpriseSpaceService.spaceManager(空间管理)
ArkTS API错误码
File Manager Service Kit(文件管理服务)
ArkTS API
fileManagerService
ArkTS API错误码
图标格式说明
Game Controller Kit(游戏控制器服务)
C API
模块
GameController
头文件和结构体
头文件
game_controller_type.h
game_device.h
game_device_event.h
game_pad.h
game_pad_event.h
错误码
Game Service Kit(游戏服务)
ArkTS API
gamePlayer(基础游戏服务)
gamePerformance(游戏场景感知)
gameNearbyTransfer(游戏近场快传)
ArkTS API错误码
C API
模块
GamePerformance
头文件和结构体
头文件
game_performance.h
C API错误码
REST API
获取玩家标识
通过gamePlayerId获取playerId/openId/unionId
批量转换teamPlayerId
解绑账号
解绑账号通知
Health Service Kit(运动健康服务)
ArkTS API
healthStore (运动健康数据服务)
healthService (运动健康联动服务)
healthStore (运动健康数据服务)(Lite)
healthService (运动健康联动服务)(Lite)
运动健康数据类型常量及模型定义
healthDataTypes (运动健康数据类型常量)
healthFields (运动健康数据字段)
healthModels (运动健康数据模型)
samplePointHelper (采样数据类型常量)
healthSequenceHelper (健康记录类型常量)
exerciseSequenceHelper (锻炼记录类型常量)
healthDataTypes (运动健康数据类型常量)(Lite)
healthFields (运动健康数据字段)(Lite)
exerciseSequenceHelper (锻炼记录类型常量)(Lite)
exerciseRealtimeHelper (实时运动数据类型常量)(Lite)
ArkTS API错误码
IAP Kit(应用内支付服务)
ArkTS API
IAP
数据类型说明
ArkTS API错误码
ArkTS组件
CashierComponent (iap嵌入式收银台组件)
cashierComponentManager (iap嵌入式收银台组件管理)
REST API
公共说明
生成服务端请求的token
对返回结果验签
订单状态查询(消耗型/非消耗型/非续期订阅商品)
订单确认发货(消耗型/非消耗型/非续期订阅商品)
应用购买记录相关支付订单查询
订阅状态查询
订阅确认发货
延迟订阅续订日期
根据交易号查询订单状态信息
查询用户的历史购买记录
服务端通知记录查询
测试服务端通知
生成优惠签名购买参数
服务端关键事件通知
退款申请通知与处理
接收退款申请事件通知
返回退款审核结果
数据类型说明
REST API错误码
Live View Kit(实况窗服务)
ArkTS API
liveViewManager
LiveViewLockScreenExtensionAbility
LiveViewLockScreenExtensionContext
ArkTS API错误码
实况窗Live View Kit与Push Kit的API字段关联
Location Kit(位置服务)
ArkTS API
@ohos.geoLocationManager (位置服务)
@ohos.app.ability.FenceExtensionAbility (FenceExtensionAbility)
@ohos.app.ability.FenceExtensionContext (FenceExtensionContext)
已停止维护的接口
@ohos.geolocation (位置服务)
@system.geolocation (地理位置)
C API
模块
Location
头文件
oh_location.h
oh_location_type.h
结构体
Location_BasicInfo
Location_RequestConfig
Location_Info
错误码
位置服务错误码
Map Kit(地图服务)
ArkTS API
map(地图显示功能)
模块描述
Class (MapComponentController)
Interface (BaseOverlay)
Interface (Marker)
Interface (MapPolyline)
Interface (MapPolygon)
Interface (MapCircle)
Interface (BasePriorityOverlay)
Interface (PointAnnotation)
Interface (Bubble)
Interface (CameraUpdate)
Interface (Projection)
Class (LatLngBoundsUtils)
Class (Animation)
Class (AlphaAnimation)
Class (RotateAnimation)
Class (ScaleAnimation)
Class (TranslateAnimation)
Class (FontSizeAnimation)
Class (PlayImageAnimation)
Class (AnimationSet)
Interface (ClusterOverlay)
Interface (ImageOverlay)
Interface (BuildingOverlay)
Interface (TraceOverlay)
Interface (MapArc)
class (SpatialRelationUtil)
Interface (AnimateResult)
Interface (MarkerDelegate)
Interface (MapEventManager)
Interface (MarkerClusterInfo)
Interface (TileOverlay)
Interface (IndoorMapInfo)
Interface (Heatmap)
Interface (MvtOverlay)
Interface (FlowFieldOverlay)
Interface (MassPointOverlay)
Types
Enums
Functions
mapCommon(地图属性模型)
navi(路径规划)
petalMaps(拉起地图应用)
sceneMap(场景化控件)
site(地点搜索)
staticMap(静态图)
ArkTS API错误码
附录
POI类型值
城市码及区划代码表
路径规划支持的国家/地区
ArkTS组件
MapComponent(地图组件)
Notification Kit(用户通知服务)
ArkTS API
@ohos.notificationManager (NotificationManager模块)
@ohos.notificationExtensionSubscription (notificationExtensionSubscription模块)
@ohos.application.NotificationSubscriberExtensionAbility (通知订阅扩展能力)
@ohos.application.NotificationSubscriberExtensionContext (通知订阅扩展上下文)
notification
NotificationActionButton
NotificationCommonDef
NotificationContent
NotificationExtensionContent
NotificationFlags
NotificationInfo
NotificationRequest
NotificationSlot
NotificationTemplate
NotificationUserInput
NotificationExtensionSubscriptionInfo
已停止维护的接口
@ohos.notification (Notification模块)
@system.notification (通知消息)
C API
模块
NOTIFICATION
头文件
notification.h
错误码
通知错误码
Payment Kit(鸿蒙支付服务)
ArkTS API
paymentService (鸿蒙支付服务)
realNameService(身份验证服务)
ecnyPaymentService (数字人民币服务)
thirdPaymentService(三方支付服务)
promotionService(营销服务)
ArkTS API错误码
REST API
公共说明
直连商户
基础支付
预下单
关闭订单
支付结果回调通知
查询支付订单
通过sysTransOrderNo查询订单信息
通过mercOrderNo查询订单信息
申请退款
退款结果回调通知
查询退款订单
通过sysRefundOrderNo查询退款订单信息
通过mercRefundOrderNo查询退款订单信息
支付并签约
预下单
支付结果回调通知
查询支付订单
通过sysTransOrderNo查询订单信息
通过mercOrderNo查询订单信息
申请退款
退款结果回调通知
查询退款订单
通过sysRefundOrderNo查询退款订单信息
通过mercRefundOrderNo查询退款订单信息
签约结果回调通知
查询签约订单
通过mercContractCode查询签约订单信息
通过contractId查询签约订单信息
申请解约
解约结果回调通知
签约代扣
预签约
签约结果回调通知
申请免密代扣
代扣结果回调通知
查询签约订单
通过mercContractCode查询签约订单信息
通过contractId查询签约订单信息
查询代扣订单
通过sysTransOrderNo查询订单信息
通过mercOrderNo查询订单信息
申请解约
解约结果回调通知
申请退款
退款结果回调通知
查询退款订单
通过sysRefundOrderNo查询退款订单信息
通过mercRefundOrderNo查询退款订单信息
账单
查询对账单
查询结算账单
平台类商户/服务商
基础支付
预下单
关闭订单
支付结果回调通知
查询支付订单
通过sysTransOrderNo查询订单信息
通过mercOrderNo查询订单信息
申请退款
退款结果回调通知
查询退款订单
通过sysRefundOrderNo查询退款订单信息
通过mercRefundOrderNo查询退款订单信息
支付并签约
预下单
支付结果回调通知
查询支付订单
通过sysTransOrderNo查询订单信息
通过mercOrderNo查询订单信息
申请退款
退款结果回调通知
查询退款订单
通过sysRefundOrderNo查询退款订单信息
通过mercRefundOrderNo查询退款订单信息
签约结果回调通知
查询签约订单
通过mercContractCode查询签约信息
通过contractId查询签约信息
申请解约
解约结果回调通知
签约代扣
预签约
签约结果回调通知
申请免密代扣
代扣结果回调通知
查询签约订单
通过mercContractCode查询签约信息
通过contractId查询签约信息
查询代扣订单
通过sysTransOrderNo查询订单信息
通过mercOrderNo查询订单信息
申请解约
解约结果回调通知
申请退款
退款结果回调通知
查询退款订单
通过sysRefundOrderNo查询退款订单信息
通过mercRefundOrderNo查询退款订单信息
合单支付(仅支持平台类商户)
预下单
关闭合单支付订单
合单支付结果回调通知
查询合单支付订单
通过combinedSysTransOrderNo查询订单信息
通过combinedMercOrderNo查询订单信息
申请退款
退款结果回调通知
查询退款订单
通过sysRefundOrderNo查询退款订单信息
通过mercRefundOrderNo查询退款订单信息
账单
查询对账单
查询结算账单
通用接口
获取应用级凭证
实名信息验证与授权
实名信息预验证
实名信息验证结果查询
实名信息授权结果查询
人脸核身实人验证
人脸核身实人预验证
人脸核身实人验证结果查询
运营工具
商家券
券批次
创建券批次
修改券批次信息
查询券批次详情
上传券预存Code
修改券批次预算
设置回调通知地址
查询回调通知地址
用户券
发放优惠券
发券事件回调通知
核销优惠券
申请退券
使券失效
查询用户优惠券列表
查询用户单张优惠券详情
查询用户可用平台券
REST API错误码
数据模型说明
附录
PDF Kit(PDF服务)
ArkTS API
pdfService(PDF服务)
pdfViewManager(PDF预览)
ArkTS组件
PdfView(PDF预览组件)
ArkTS API 错误码
Preview Kit(文件预览服务)
ArkTS API
filePreview(文件预览)
openFileBoost(文件打开加速)(已废弃)
ArkTS API错误码
C API
模块
Preview
头文件和结构体
头文件
open_file_boost.h
file_cache_boost.h
preview_kit.h
Push Kit(推送服务)
ArkTS API
AAID(应用匿名标识符)
pushCommon(推送服务公共信息)
pushService(推送服务基础能力)
RemoteNotificationExtensionAbility(通知扩展Ability)
RemoteNotificationExtensionContext(通知扩展Context)
serviceNotification(服务通知)
VoIPExtensionAbility(应用内通话消息扩展Ability)(废弃)
VoIPExtensionContext(应用内通话消息扩展Context)(废弃)
PushExtensionAbility(推送扩展Ability)
PushExtensionContext(推送扩展Context)
RemoteLocationExtensionAbility(定位扩展Ability)
RemoteLocationExtensionContext(定位扩展Context)
ArkTS API错误码
REST API
安全访问要求
图片风控
场景化消息推送
功能介绍
请求体结构说明
请求体参数说明
响应参数
请求示例
消息频控
消息撤回
消息回执
服务通知
服务动态
服务动态推送接口
服务动态参数说明
Reader Kit(阅读服务)
ArkTS API
bookParser(书籍解析能力)
readerCore(阅读核心能力)
ArkTS组件
ReadPageComponent(阅读页组件)
ArkTS API错误码
Scenario Fusion Kit(融合场景服务)
ArkTS API
atomicService(融合场景化API)
fileUriService(文件路径转换API)
ArkTS API错误码
ArkTS组件
FunctionalButton(Button组件)
functionalButtonComponentManager(场景化融合Button组件管理)
FunctionalInput(Input组件)
functionalInputComponentManager(场景化融合Input组件管理)
ArkTS组件错误码
Screen Time Guard Kit(屏幕时间守护服务)
ArkTS API
@hms.utilityApplication.screenTimeGuard.guardService(屏幕时间守护服务)
@hms.utilityApplication.screenTimeGuard.appPicker(应用选择)
@hms.utilityApplication.screenTimeGuard.TimeGuardExtensionAbility(屏幕时间守护扩展Ability)
@hms.utilityApplication.screenTimeGuard.TimeGuardExtensionContext(屏幕时间守护扩展Context)
ArkTS API错误码
Share Kit(分享服务)
ArkTS API
systemShare(分享)
harmonyShare(华为分享)
ArkTS API错误码
Wallet Kit(钱包服务)
ArkTS API
walletPass(Pass卡片能力)
walletTransitCard(交通卡能力)
ArkTS API错误码
REST API
公共说明
公共接口
数字车钥匙接口
REST API错误码
Weather Service Kit(天气服务)
ArkTS API
weatherService(天气数据服务)
ArkTS API错误码
AI
Agent Framework Kit(智能体框架服务)
ArkTS组件
FunctionComponent(功能组件)
ArkTS API错误码
CANN Kit(CANN异构计算框架服务)
C API
模块
CANN
头文件和结构体
头文件
hiai_aipp_param.h
hiai_helper.h
hiai_options.h
hiai_single_op.h
hiai_tensor.h
llm_engine.h
结构体
HiAISingleOpDescriptor_ConvolutionParam
HiAI_SingleOpExecutorConvolutionParam
HiAI_SingleOpExecutorFusedConvolutionActivationParam
Core Speech Kit(基础语音服务)
ArkTS API
textToSpeech(文本转语音)
speechRecognizer(语音识别)
ArkTS API错误码
Core Vision Kit(基础视觉服务)
ArkTS API
textRecognition(文字识别)
faceDetector(人脸检测)
faceComparator(人脸比对)
subjectSegmentation(主体分割)
visionBase(Core Vision Kit基类)
objectDetection(多目标识别)
skeletonDetection(骨骼点检测)
imageSuperResolution(图像超分)
Beta
textSearchImage(通过文本搜索图片)
Beta
ArkTS API错误码
Intents Kit(意图框架服务)
ArkTS API
insightIntent
InsightIntentUIExtensionAbility (意图调用UI扩展能力)
ArkTS API错误码
REST API
意图共享
事件撤销
Natural Language Kit(自然语言理解服务)
ArkTS API
textProcessing(文本处理)
wordTag(词性)
jsonObject(实体的其他字段)
ArkTS API错误码
MindSpore Lite Kit(昇思推理框架服务)
ArkTS API
@ohos.ai.mindSporeLite (端侧AI框架)
C API
模块
MindSpore
头文件
context.h
data_type.h
format.h
model.h
status.h
tensor.h
types.h
结构体
OH_AI_TensorHandleArray
OH_AI_ShapeInfo
OH_AI_CallBackParam
NNRTDeviceDesc
OH_AI_ContextHandle
OH_AI_DeviceInfoHandle
OH_AI_TensorHandle
OH_AI_AllocatorHandle
OH_AI_ModelHandle
OH_AI_TrainCfgHandle
Neural Network Runtime Kit(Neural Network运行时服务)
C API
模块
NeuralNetworkRuntime
头文件
neural_network_core.h
neural_network_runtime.h
neural_network_runtime_type.h
结构体
OH_NN_UInt32Array
OH_NN_QuantParam
OH_NN_Tensor
OH_NN_Memory
OH_NNModel
OH_NNCompilation
OH_NNExecutor
NN_QuantParam
NN_TensorDesc
NN_Tensor
Speech Kit(场景化语音服务)
ArkTS API
TextReader(朗读控件)
ReadStateCode(播报状态)
WindowManager(窗口管理)
ArkTS组件
TextReaderIcon(朗读听筒图标)
TextReaderIconV2(朗读听筒图标)
AICaptionComponent(AI字幕组件)
ArkTS API错误码
Vision Kit(场景化视觉服务)
ArkTS API
interactiveLiveness(人脸活体检测)
visionImageAnalyzer(AI识图控件)
ArkTS组件
CardRecognition(卡证识别控件)
DocumentScanner(文档扫描控件)
ArkTS API错误码
公共基础能力
ArkTS API
Console (控制台)
loadNativeModule (同步动态加载系统库接口)
SysCap (系统能力)
Timer (定时器)
C API
模块
Init
memory
JSVM
头文件
syscap_ndk.h
purgeable_memory.h
jsvm.h
jsvm_types.h
结构体
JSVM_CallbackStruct
JSVM_HeapStatistics
JSVM_InitOptions
JSVM_CreateVMOptions
JSVM_VMInfo
JSVM_PropertyDescriptor
JSVM_ExtendedErrorInfo
JSVM_TypeTag
JSVM_PropertyHandlerConfigurationStruct
JSVM_ScriptOrigin
JSVM_CompileOptions
JSVM_CodeCache
JSVM_PropertyHandler
JSVM_DefineClassOptions
JSVM_VM__*
JSVM_VMScope__*
JSVM_EnvScope__*
JSVM_Script__*
JSVM_Env__*
JSVM_CpuProfiler__*
JSVM_Value__*
JSVM_Data__*
JSVM_Ref__*
JSVM_HandleScope__*
JSVM_EscapableHandleScope__*
JSVM_CallbackInfo__*
JSVM_Deferred__*
JSVM_CallbackStruct*
JSVM_PropertyHandlerConfigurationStruct*
JSVM_CompileProfile
PurgMem
JSVM_DeserializeResult
标准库
libc标准库
c++标准库
Node-API
libuv
OpenSL ES
OpenGL ES
OpenGL
EGL
ICU4C
zlib
Vulkan
Vulkan开发指导
Vulkan开发概述
Vulkan Surface开发指导
Vulkan External Memory开发指导
Vulkan支持能力
Vulkan扩展能力
Vulkan
vulkan_ohos.h
VkSurfaceCreateInfoOHOS
VkNativeBufferOHOS
VkSwapchainImageCreateInfoOHOS
VkPhysicalDevicePresentationPropertiesOHOS
VkNativeBufferUsageOHOS
VkNativeBufferPropertiesOHOS
VkNativeBufferFormatPropertiesOHOS
VkImportNativeBufferInfoOHOS
VkMemoryGetNativeBufferInfoOHOS
VkExternalFormatOHOS
NativeWindow
OHBufferHandle
OH_NativeBuffer
HiTSS
附录
Native api中没有导出的符号列表
NDK涉及的musl libc接口使用限制的说明
Native api中导出的EGL符号列表
Native api中导出的ICU4C符号列表
Native api中导出的OpenGL ES 3.2符号列表
OpenGL符号列表
Seccomp开放系统调用列表
您当前正在浏览HarmonyOS最新文档,覆盖已发布的所有API版本,可在API参考中
筛选您使用的API版本
。详细的版本配套关系请参考
版本说明
。
API参考
系统
安全
Device Certificate Kit(设备证书服务)
ArkTS API
ArkTS API
@ohos.security.cert (证书模块)
@ohos.security.certManager (证书管理模块)
@ohos.security.certManagerDialog (证书管理对话框模块)
Device Certificate Kit(设备证书服务)
@ohos.security.cert (证书模块)
意见反馈
以上内容对您是否有帮助?
意见反馈
如果您有其他疑问,您也可以通过开发者社区问答频道来和我们联系探讨。
社区提问
智能客服提问
在 API参考 中进行搜索
只在 系统 中搜索
只搜索章节标题
请输入您想要搜索的关键词
智能客服
你问我答,随时在线为你解决问题
合作咨询
我们的专家服务团队将竭诚为您提供专业的合作咨询服务
解决方案
精准高效的一站式服务支持,助力开发者商业成功