目录
Version Overview
Version Format Update Notes
New and Enhanced Features
Ability Kit
Agent Framework Kit
ArkUI
ArkWeb
Audio Kit
Background Tasks Kit
Basic Services Kit
Connectivity Kit
Device Security Kit
Form Kit
Graphics Accelerate Kit
IPC Kit
Live View Kit
Location Kit
MDM Kit
Media Kit
Media Library Kit
NearLink Kit
Network Kit
Telephony Kit
Universal Keystore Kit
Ability Kit
Accessibility Kit
Account Kit
Agent Framework Kit
AOD Navigation Kit
AppGallery Kit
ArkData
ArkGraphics 2D
ArkTS
ArkUI
ArkWeb
Asset Store Kit
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Calendar Kit
Call Service Kit
Camera Kit
Confidential Space Kit
Connectivity Kit
Contacts Kit
Core File Kit
Crypto Architecture Kit
Data Protection Kit
Desktop Extension Kit
Device Security Kit
Distributed Service Kit
Enterprise DataGuard Kit
Enterprise Space Kit
Enterprise Threat Protection Kit
FAST Kit
Form Kit
Graphics Accelerate Kit
Image Kit
IME Kit
Input Kit
Intents Kit
Live View Kit
Localization Kit
Location Kit
Map Kit
MDM Kit
Media Kit
Media Library Kit
Multimodal Awareness Kit
Natural Language Kit
NearLink Kit
Network Boost Kit
Network Kit
Notification Kit
Online Authentication Kit
Payment Kit
PDF Kit
Penkit
Performance Analysis Kit
Remote Communication Kit
Ringtone Kit
Service Collaboration Kit
Service Support Kit
Service Support System Kit
Spatial Recon Kit
Speech Kit
Telephony Kit
Test Kit
UI Design Kit
Universal Keystore Kit
User Authentication Kit
Vision Kit
Ability Kit
Accessibility Kit
Accessory Kit
Account Kit
AREngine
ArkData
ArkGraphics 2D
ArkGraphics 3D
ArkTS
ArkUI
ArkWeb
Asset Store Kit
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Camera Kit
Connectivity Kit
Contacts Kit
Core File Kit
Core Vision Kit
Crypto Architecture Kit
Data Augmentation Kit
Data Protection Kit
Device Certificate Kit
Device Security Kit
Distributed Service Kit
Enterprise DataGuard Kit
Enterprise Space Kit
FAST Kit
Graphics Accelerate Kit
Image Kit
IME Kit
Input Kit
Live View Kit
Localization Kit
Location Kit
MDM Kit
Mechanic Kit
Media Kit
Media Library Kit
Network Boost Kit
Network Kit
Notification Kit
Online Authentication Kit
PDF Kit
Performance Analysis Kit
Preview Kit
Push Kit
Remote Communication Kit
Scan Kit
Scenario Fusion Kit
Screen Time Guard Kit
Sensor Service Kit
Share Kit
Spatial Recon Kit
Telephony Kit
Test Kit
UI Design Kit
Universal Keystore Kit
User Authentication Kit
New and Enhanced Features
Changelogs
HarmonyOS Development Suite Versions
Version Overview
New and Enhanced Features
Ability Kit
ArkGraphics 2D
ArkTS
ArkUI
ArkWeb
Audio Kit
Background Tasks Kit
Call Service Kit
Camera Kit
Contacts Kit
Core File Kit
Distributed Service Kit
Enterprise Threat Protection Kit
MDM Kit
Media Library Kit
Performance Analysis Kit
Wear Engine
Ability Kit
App Gallery Kit
ArkData
ArkGraphics 2D
ArkTS
ArkUI
ArkWeb
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Call Service Kit
Camera Kit
Connectivity Kit
Core File Kit
Core Speech Kit
Data Protection Kit
Desktop Extension Kit
Device Security Kit
Distributed Service Kit
Enterprise DataGuard Kit
Enterprise Threat Protection Kit
Form Kit
Health Service Kit
Image Kit
Live View Kit
Map Kit
MDM Kit
Media Kit
Media Library Kit
Multimodal Awareness Kit
NearLink Kit
Network Boost Kit
Network Kit
Notification Kit
Payment Kit
Performance Analysis Kit
Remote Communication Kit
Screen Time Guard Kit
Speech Kit
Telephony Kit
UI Design Kit
Universal Keystore Kit
Vision Kit
Wear Engine Kit
New and Enhanced Features
Version Overview
New and Enhanced Features
Ability Kit
ArkUI
Basic Services Kit
Connectivity Kit
Core File Kit
IPC Kit
Location Kit
MDM Kit
Media Library Kit
Network Kit
Payment Kit
Remote Communication Kit
Share Kit
Telephony Kit
Ability Kit
Accessibility Kit
Account Kit
AppGallery Kit
AR Engine
ArkData
ArkGraphics 2D
ArkGraphics 3D
ArkTS
ArkUI
ArkWeb
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Calendar Kit
Call Service Kit
Camera Kit
Cloud Foundation Kit
Connectivity Kit
Contacts Kit
Core File Kit
Crypto Architecture Kit
Data Augmentation Kit
Data Protection Kit
Desktop Extension Kit
Device Certificate Kit
Device Security Kit
Distributed Service Kit
Enterprise Space Kit
File Manager Service Kit
Form Kit
Game Service Kit
Graphics Accelerate Kit
IAP Kit
Image Kit
IME Kit
Input Kit
IPC Kit
Live View Kit
Localization Kit
Location Kit
Map Kit
MDM Kit
Media Kit
Media Library Kit
Multimodal Awareness Kit
NearLink Kit
Network Kit
Notification Kit
Payment Kit
PDF Kit
Pen kit
Performance Analysis Kit
Remote Communication Kit
Sensor Service Kit
Service Collaboration Kit
Spatial Recon Kit
Speech Kit
Telephony Kit
UI Design Kit
Universal Keystore Kit
Weather Service Kit
New and Enhanced Features
Changelogs
Version Overview
New and Enhanced Features
Ability Kit
AppGallery Kit
ArkData
ArkGraphics 2D
ArkGraphics 3D
ArkTS
ArkUI
ArkWeb
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Call Service Kit
Camera Kit
Connectivity Kit
Contacts Kit
Crypto Architecture Kit
Desktop Extension Kit
Device Certificate Kit
Device Security Kit
Enterprise Space Kit
Form Kit
Game Service Kit
Image Kit
IME Kit
Input Kit
Live View Kit
Map Kit
MDM Kit
Media Kit
Media Library Kit
Network Kit
Notification Kit
PDF Kit
Performance Analysis Kit
Scan Kit
Scenario Fusion Kit
Screen Time Guard Kit
Sensor Service Kit
Share Kit
Telephony Kit
Test Kit
UI Design Kit
Universal Keystore Kit
User Authentication Kit
New and Enhanced Features
Version Overview
New and Enhanced Features
Ability Kit
ArkUI
ArkWeb
Background Tasks Kit
Basic Services Kit
Connectivity Kit
Media Library Kit
Notification Kit
Performance Analysis Kit
Ability Kit
Accessibility Kit
Agent Framework Kit
ArkGraphics 2D
ArkGraphics 3D
ArkUI
ArkWeb
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Calendar Kit
Camera Kit
Cloud Foundation Kit
Connectivity Kit
Core File Kit
Crypto Architecture Kit
Data Protection Kit
Device Certificate Kit
Device Security Kit
Enterprise Space Kit
Game Service Kit
IME Kit
Location Kit
Map Kit
MDM Kit
Media Kit
Media Library Kit
Near Link Kit
Network Kit
Online Authentication Kit
PDF Kit
Performance Analysis Kit
Remote Communication Kit
Scenario Fusion Kit
Share Kit
Spatial Recon Kit
Speech Kit
Telephony Kit
UI Design Kit
New and Enhanced Features
Version Overview
New and Enhanced Features
Ads Kit
ArkData
ArkUI
ArkWeb
Basic Services Kit
Camera Kit
Connectivity Kit
Core File Kit
MDM Kit
Media Kit
Multimodal Awareness Kit
Network Kit
Notification Kit
Telephony Kit
User Authentication Kit
Ability Kit
Accessibility Kit
Account Kit
Agent Framework Kit
AppGallery Kit
ArkData
ArkGraphics 2D
ArkGraphics 3D
ArkTS
ArkUI
ArkWeb
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Calendar Kit
Camera Kit
Connectivity Kit
Core File Kit
Data Augmentation Kit
Desktop Extension Kit
Device Certificate Kit
Device Security Kit
Distributed Service Kit
Enterprise Data Guard Kit
Enterprise Space Kit
Form Kit
Game Service Kit
IAP Kit
Image Kit
IME Kit
Input Kit
Live View Kit
Localization Kit
Location Kit
Map Kit
MDM Kit
Mechanic Kit
Media Kit
Media Library Kit
Network Boost Kit
Network Kit
Notification Kit
Online Authentication Kit
Payment Kit
Performance Analysis Kit
Push Kit
Remote Communication Kit
Scenario Fusion Kit
Service Collaboration Kit
Share Kit
Test Kit
UI Design Kit
Universal Keystore Kit
User Authentication Kit
Ability Kit
Accessibility Kit
Account Kit
AppGallery Kit
AR Engine
ArkData
ArkGraphics 2D
ArkTS
ArkUI
ArkWeb
Audio Kit
Background Tasks Kit
Basic Services Kit
Call Service Kit
Car Kit
Core File Kit
Core Vision Kit
Data Augmentation Kit
Data Protection Kit
Device Security Kit
Distributed Service Kit
Form Kit
Game Service Kit
Image Kit
IME Kit
Input Kit
Intents Kit
Live View Kit
Localization Kit
Map Kit
MDM Kit
Media Kit
Media Library Kit
Multimodal Awareness Kit
Network Kit
PDF Kit
Pen Kit
Performance Analysis Kit
Remote Communication Kit
Screen Time Guard Kit
Sensor Service Kit
Share Kit
Telephony Kit
UI Design Kit
Ability Kit
Accessibility Kit
AR Engine
ArkData
ArkGraphics 2D
ArkGraphics 3D
ArkTS
ArkUI
ArkWeb
Asset Store Kit
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Camera Kit
Connectivity Kit
Core File Kit
Crypto Architecture Kit
Data Augmentation Kit
Data Protection Kit
Device Certificate Kit
Device Security Kit
Distributed Service Kit
Enterprise Space Kit
Form Kit
Graphics Accelerate Kit
Image Kit
IME Kit
Input Kit
Localization Kit
Location Kit
MDM Kit
Media Kit
Media Library Kit
Multimodal Awareness Kit
Notification Kit
Online Authentication Kit
Pen kit
Performance Analysis Kit
Remote Communication Kit
Screen Time Guard Kit
Share Kit
Test Kit
UI Design Kit
Universal Keystore Kit
User Authentication Kit
New and Enhanced Features
Changelogs
Version Overview
New and Enhanced Features
Account Kit
AREngine
ArkUI
Connectivity Kit
Intents Kit
Media Kit
Multimodal Awareness Kit
Pen Kit
Sensor Service Kit
Ability Kit
Account Kit
AppGallery Kit
ArkGraphics 2D
ArkGraphics 3D
ArkTS
ArkUI
ArkWeb
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Camera Kit
Connectivity Kit
Core File Kit
Core Speech Kit
Device Security Kit
Distributed Service Kit
Driver Development Kit
Enterprise Data Guard Kit
Form Kit
Graphics Accelerate Kit
IME Kit
Live View Kit
Localization Kit
Location Kit
Map Kit
MDM Kit
Media Kit
Media Library Kit
Network Kit
Payment Kit
Pen Kit
Performance Analysis Kit
Telephony Kit
UI Design Kit
Vision Kit
New and Enhanced Features
Version Overview
New and Enhanced Features
Ability Kit
Accessibility Kit
Account Kit
AR Engine
ArkData
ArkGraphics 2D
ArkGraphics 3D
ArkTS
ArkUI
ArkWeb
Asset Store Kit
Audio Kit
AVSession Kit
Background Tasks Kit
Basic Services Kit
Calendar Kit
Camera Kit
Car Kit
Connectivity Kit
Core File Kit
Core Speech Kit
Crypto Architecture Kit
Device Certificate Kit
Device Security Kit
Distributed Service Kit
Driver Development Kit
Form Kit
Game Service Kit
Graphics Accelerate Kit
Health Service Kit
IAP Kit
Image Kit
IME Kit
Input Kit
IPC Kit
Localization Kit
Location Kit
Map Kit
MDM Kit
Media Kit
Media Library Kit
Multimodal Awareness Kit
Near Link Kit
Network Kit
Notification Kit
Online Authentication Kit
PDF Kit
Pen kit
Performance Analysis Kit
Push Kit
Remote Communication Kit
Scan Kit
Scenario Fusion Kit
Sensor Service Kit
Share Kit
Status Bar Extension Kit
Telephony Kit
Test Kit
UI Design Kit
User Authentication Kit
Vision Kit
Wear Engine
New and Enhanced Features
Changelogs
Introduction
Key Information Affecting Application Compatibility
ArkTS API Compatibility Check
C API Compatibility Check
Compatibility Warning Suppression
Advanced Usage of C API Compatibility Check
Maintaining Compatibility for Earlier Versions in targetSDKVersion Upgrade Scenarios
Integrating Third-Party Libraries (HAR Packages)
Maintaining Compatibility for Integrated HSPs
Maintaining Compatibility for UI Custom Components
Application Upgrade and Adaptation Guide — Upgrading to 26.0.0
API Version Distribution on Existing Devices
Support and Help
Regional Availability of Kits
Overview
Downloading and Installing DevEco Studio
Using the New UI
Project Overview
Project Directory Structure
Introduction to Project Templates
Creating a Project
Adding and Deleting a Module
Importing and Referencing a Module
Unloading and Loading a Module
Developing a Static Shared Package
Developing a Dynamic Shared Package
Publishing a Shared Package
Referencing and Managing a Shared Package
Release Notes
Overview
Getting Started
Setting the Configuration File
Logs
ohpm-repo help
ohpm-repo install
ohpm-repo start
ohpm-repo restart
ohpm-repo stop
ohpm-repo --version
ohpm-repo encrypt_password
ohpm-repo pack
ohpm-repo deploy
ohpm-repo restore
ohpm-repo mirror_storage
ohpm-repo check_storage
ohpm-repo remove_instance
ohpm-repo export_pkginfo
ohpm-repo batch_download
ohpm-repo batch_publish
ohpm-repo export_userinfo
ohpm-repo import_userinfo
ohpm-repo export_pkgPermission
ohpm-repo import_pkgPermission
Single-Node Deployment
Multi-Instance Deployment
Frontend page
Personal Center Home Page
User Management
Repository Management
Package Permission Management
Authentication Management
Organization Management
Operation Log
System Settings
Security Configuration
FAQs
Data Migration
Upgrading from 1.0.1 to 2.X.X/5.X.X
Upgrading from 1.1.0 to 2.X.X/5.X.X
Upgrading 2.X.X/5.X.X to a Later Version
Storage Plugin Configuration
Template File
Authentication Plugin Configuration
Template File
Custom Login Verification Plugin Configuration
Template Files
Data Backup
Export of Metadata from the Central Repository of the OpenHarmony Third-Party Library to ohpm-repo
ohpm Repository Interface Protocol
Configuration
Template Files
Deploying the ohpm-repo Service Using a Dockerfile
Adding an Ability
Adding a Page
Generating a Single-Layer Icon
Creating a Service Widget
Creating an Insight Intent
Setting Up the Development Environment Offline
Editor Basics
Code Generation/Completion
Real-time Code Check and Quick Fix
Code Linter
Rule Changes
Recommended Rules
@typescript-eslint/adjacent-overload-signatures
@typescript-eslint/array-type
@typescript-eslint/await-thenable
@typescript-eslint/ban-ts-comment
@typescript-eslint/ban-tslint-comment
@typescript-eslint/ban-types
@typescript-eslint/brace-style
@typescript-eslint/class-literal-property-style
@typescript-eslint/comma-dangle
@typescript-eslint/comma-spacing
@typescript-eslint/consistent-indexed-object-style
@typescript-eslint/consistent-type-assertions
@typescript-eslint/consistent-type-definitions
@typescript-eslint/consistent-type-imports
@typescript-eslint/default-param-last
@typescript-eslint/dot-notation
@typescript-eslint/explicit-function-return-type
@typescript-eslint/explicit-member-accessibility
@typescript-eslint/explicit-module-boundary-types
@typescript-eslint/func-call-spacing
@typescript-eslint/init-declarations
@typescript-eslint/keyword-spacing
@typescript-eslint/lines-between-class-members
@typescript-eslint/member-delimiter-style
@typescript-eslint/member-ordering
@typescript-eslint/method-signature-style
@typescript-eslint/naming-convention
@typescript-eslint/no-array-constructor
@typescript-eslint/no-base-to-string
@typescript-eslint/no-confusing-non-null-assertion
@typescript-eslint/no-confusing-void-expression
@typescript-eslint/no-dupe-class-members
@typescript-eslint/no-duplicate-imports
@typescript-eslint/no-dynamic-delete
@typescript-eslint/no-empty-function
@typescript-eslint/no-empty-interface
@typescript-eslint/no-explicit-any
@typescript-eslint/no-extraneous-class
@typescript-eslint/no-extra-non-null-assertion
@typescript-eslint/no-extra-parens
@typescript-eslint/no-extra-semi
@typescript-eslint/no-floating-promises
@typescript-eslint/no-for-in-array
@typescript-eslint/no-implicit-any-catch
@typescript-eslint/no-implied-eval
@typescript-eslint/no-inferrable-types
@typescript-eslint/no-invalid-this
@typescript-eslint/no-invalid-void-type
@typescript-eslint/no-loop-func
@typescript-eslint/no-loss-of-precision
@typescript-eslint/no-magic-numbers
@typescript-eslint/no-misused-new
@typescript-eslint/no-misused-promises
@typescript-eslint/no-namespace
@typescript-eslint/no-non-null-asserted-optional-chain
@typescript-eslint/no-non-null-assertion
@typescript-eslint/no-parameter-properties
@typescript-eslint/no-redeclare
@typescript-eslint/no-require-imports
@typescript-eslint/no-restricted-syntax
@typescript-eslint/no-shadow
@typescript-eslint/no-this-alias
@typescript-eslint/no-throw-literal
@typescript-eslint/no-type-alias
@typescript-eslint/no-unnecessary-boolean-literal-compare
@typescript-eslint/no-unnecessary-condition
@typescript-eslint/no-unnecessary-qualifier
@typescript-eslint/no-unnecessary-type-arguments
@typescript-eslint/no-unnecessary-type-assertion
@typescript-eslint/no-unnecessary-type-constraint
@typescript-eslint/no-unsafe-argument
@typescript-eslint/no-unsafe-assignment
@typescript-eslint/no-unsafe-call
@typescript-eslint/no-unsafe-member-access
@typescript-eslint/no-unsafe-return
@typescript-eslint/no-unused-expressions
@typescript-eslint/no-unused-vars
@typescript-eslint/no-use-before-define
@typescript-eslint/no-useless-constructor
@typescript-eslint/prefer-as-const
@typescript-eslint/prefer-enum-initializers
@typescript-eslint/prefer-for-of
@typescript-eslint/prefer-function-type
@typescript-eslint/prefer-includes
@typescript-eslint/prefer-literal-enum-member
@typescript-eslint/prefer-namespace-keyword
@typescript-eslint/prefer-nullish-coalescing
@typescript-eslint/prefer-optional-chain
@typescript-eslint/prefer-readonly
@typescript-eslint/prefer-readonly-parameter-types
@typescript-eslint/prefer-reduce-type-parameter
@typescript-eslint/prefer-regexp-exec
@typescript-eslint/prefer-string-starts-ends-with
@typescript-eslint/prefer-ts-expect-error
@typescript-eslint/promise-function-async
@typescript-eslint/quotes
@typescript-eslint/require-array-sort-compare
@typescript-eslint/require-await
@typescript-eslint/restrict-plus-operands
@typescript-eslint/restrict-template-expressions
@typescript-eslint/return-await
@typescript-eslint/semi
@typescript-eslint/space-before-function-paren
@typescript-eslint/space-infix-ops
@typescript-eslint/strict-boolean-expressions
@typescript-eslint/switch-exhaustiveness-check
@typescript-eslint/triple-slash-reference
@typescript-eslint/type-annotation-spacing
@typescript-eslint/typedef
@typescript-eslint/unbound-method
@typescript-eslint/unified-signatures
prefer-const
eqeqeq
@security/no-commented-code
@security/no-cycle
@security/no-unsafe-aes
@security/no-unsafe-dh
@security/no-unsafe-dsa
@security/no-unsafe-dh-key
@security/no-unsafe-dsa-key
@security/no-unsafe-ecdsa
@security/no-unsafe-hash
@security/no-unsafe-mac
@security/no-unsafe-rsa-encrypt
@security/no-unsafe-rsa-key
@security/no-unsafe-rsa-sign
@security/no-unsafe-3des
@security/specified-interface-call-chain-check
@security/no-unsafe-kdf
@security/no-unsafe-sm4
@security/no-unsafe-sm2-key
@security/no-unsafe-sm2-cipher
@security/no-unsafe-ecdh
@security/no-unsafe-huks
@performance/avoid-overusing-custom-component-check
@performance/bad-deep-clone-check
@performance/constant-property-referencing-check-in-loops
@performance/crypto-replacement-check
@performance/custom-node-memory-leak-check
@performance/dark-color-mode-check
@performance/datashare-query-unrelease-check
@performance/foreach-args-check
@performance/foreach-index-check
@performance/gif-hardware-decoding-check
@performance/hp-arkui-avoid-update-auto-state-var-in-aboutToReuse
@performance/hp-arkui-avoid-empty-callback
@performance/hp-arkui-combine-same-arg-animateto
@performance/hp-arkui-image-async-load
@performance/hp-arkui-load-on-demand
@performance/hp-arkui-limit-refresh-scope (Deprecated)
@performance/hp-arkui-no-func-as-arg-for-reusable-component
@performance/hp-arkui-no-high-freq-log (Deprecated)
@performance/hp-arkui-no-stringify-in-lazyforeach-key-generator
@performance/hp-arkui-no-state-var-access-in-loop
@performance/hp-arkts-no-use-any-export-current
@performance/hp-arkts-no-use-any-export-other
@performance/hp-arkui-remove-container-without-property
@performance/hp-arkui-replace-nested-reusable-component-by-builder
@performance/hp-arkui-reduce-pangesture-distance
@performance/hp-arkui-remove-redundant-nest-container
@performance/hp-arkui-remove-redundant-state-var
@performance/hp-arkui-remove-unchanged-state-var
@performance/hp-arkui-set-cache-count-for-lazyforeach-grid
@performance/hp-arkui-suggest-cache-avplayer
@performance/hp-arkui-suggest-reuseid-for-if-else-reusable-component
@performance/hp-arkui-suggest-use-effectkit-blur
@performance/hp-arkui-suggest-use-get-anonymousid-async
@performance/hp-arkui-use-attributeUpdater-control-refresh-scope
@performance/hp-arkui-use-grid-layout-options
@performance/hp-arkui-use-id-in-get-resource-sync-api
@performance/hp-arkui-use-local-var-to-replace-state-var
@performance/hp-arkui-use-onAnimationStart-for-swiper-preload
@performance/hp-arkui-use-object-link-to-replace-prop
@performance/hp-arkui-use-row-column-to-replace-flex
@performance/hp-arkui-use-reusable-component
@performance/hp-arkui-use-scale-to-replace-attr-animateto
@performance/hp-arkui-use-taskpool-for-web-request
@performance/hp-arkui-use-transition-to-replace-animateto
@performance/hp-arkui-use-word-break-to-replace-zero-width-space
@performance/hp-arkui-wrap-waterflow-if-else-footer (Deprecated)
@performance/high-frequency-log-check
@performance/hp-ffrt-no-use-std
@performance/hp-performance-no-closures
@performance/hp-performance-no-dynamic-cls-func
@performance/init-list-component
@performance/js-code-cache-by-interception-check
@performance/js-code-cache-by-precompile-check
@performance/lazyforeach-args-check (Deprecated)
@performance/lottie-animation-destroy-check
@performance/multiple-associations-state-var-check
@performance/monitor-invisible-area-in-image-animation
@performance/no-use-any-import
@performance/no-high-loaded-frame-rate-range
@performance/number-init-check
@performance/nested-post-frame-callback-check
@performance/object-creation-check (Deprecated)
@performance/reasonable-audio-use-check
@performance/reasonable-gps-use-check
@performance/reuse-date-instances-check
@performance/reasonable-sensor-use-check
@performance/sparse-array-check
@performance/start-window-icon-check
@performance/state-variable-usage-in-ui-format-check
@performance/typed-array-check
@performance/timezone-interface-check
@performance/tabs-on-change-check
@performance/update-state-var-between-animatetos-check
@performance/web-cache-mode-check
@performance/web-on-active-check
@performance/waterflow-data-preload-check
@previewer/mandatory-default-value-for-local-initialization
@previewer/no-page-method-on-preview-component
@previewer/no-unallowed-decorator-on-root-component
@cross-device-app-dev/color-contrast
@cross-device-app-dev/color-value
@cross-device-app-dev/font-size-unit
@cross-device-app-dev/font-size
@cross-device-app-dev/grid-columns-span
@cross-device-app-dev/grid-span-value
@cross-device-app-dev/one-multi-breakpoint-check
@cross-device-app-dev/sidebar-navigation
@cross-device-app-dev/size-unit
@cross-device-app-dev/touch-target-size
@cross-device-app-dev/window-size-change-listener-check
@cross-device-app-dev/immersive-effect-check
@hw-stylistic/array-bracket-spacing
@hw-stylistic/brace-style
@hw-stylistic/comma-spacing
@hw-stylistic/curly
@hw-stylistic/file-naming-convention
@hw-stylistic/indent
@hw-stylistic/keyword-spacing
@hw-stylistic/max-len
@hw-stylistic/no-multi-spaces
@hw-stylistic/no-tabs
@hw-stylistic/object-property-newline
@hw-stylistic/one-var-declaration-per-line
@hw-stylistic/operator-linebreak
@hw-stylistic/quotes
@hw-stylistic/semi-spacing
@hw-stylistic/space-before-blocks
@hw-stylistic/space-before-function-paren
@hw-stylistic/space-infix-ops
@correctness/avsession-buttons-check
@correctness/audio-interrupt-check
@correctness/audio-pause-or-mute-check
@correctness/avsession-metadata-check
@correctness/image-pixel-format-check
@correctness/image-interpolation-check
@correctness/listen-default-network-change
@correctness/listen-multi-network-concurrent
@correctness/multimedia-use-stride-in-image-receiver
@correctness/redundant-dependency-check
@correctness/v1-nested-object-property-change-format-check
@correctness/v1-state-object-member-used-in-function-parameter-check
@correctness/accessibility-label-check
@correctness/accessibility-focus-redundancy-check
@correctness/accessibility-type-redundancy-check
@correctness/accessibility-status-missing-check
@compatibility/api-compatibility-check
@compatibility/deprecate-api-check
Code Scanner
Clang-Tidy Code Inspection
Code Refactoring
Document Generation
@author
@copyright
@deprecated
@param
@returns
@since
@throws
@todo
@version
{@link}
Quickly Inserting Scenario-based Code Snippets
Cross-language Code Editing
Code Indexing (clangd)
Introduction
PreviewChecker Inspection Rules
Previewing an ArkTS/JS App/Atomic Service
Previewing an ArkUI Page or Component
Using Profile Manager
Previewing Your App/Atomic Service on Multiple Devices
Using Inspector Bidirectional Preview
Mocking Preview Data
Debugging Your App Using the Previewer
List of Previewer-Capable APIs
Signing Your App/Service Automatically
Signing Your App/Atomic Service Manually
Running Your App on a Local Real Device
Running a Lite Wearable App via the Simulator
Working Environment
Supported Devices
Differences Between the Emulator and the Real Device
Creating an Emulator
Starting/Stopping the Emulator
Controlling the Screen
Using the Toolbar
Moving and Scaling the Emulator
Accessing the Network Using the Emulator
Installing an App Package and Uploading Files
Using Extended Features
Customizing the Virtual Device Screen
Using the Emulator via the CLI
Deploying an Emulator Offline
Emulator Error Codes
Debugging Overview
Running/Debugging Configuration
Debugging Scenario Description
Starting Debugging in Debug Mode
Starting Debugging in Attach Mode
Using Wait-for-Debugger Mode
Using Breakpoints
Checking Variables
Performing Reverse Debugging
Debugging Extension Abilities
Performing Multi-Process Debugging
Printing Expressions
Using Smart Step Into
Viewing Asynchronous Function Call Stacks
Starting the Debugging Process
Using Breakpoints
Checking Variables
Debugging Assembly Code
Viewing Memory Information
Using LLDB Debugging Commands
Performing Reverse Debugging
Visualizing Call Stacks
Visualizing .so Information
Setting Execution Points
Using Smart Step Into
Speeding Up Native Debugging Startup
Debugging Native Child Processes
Using the Debugger
Performing Cross-Language Debugging
Debugging Third-Party Library Source Code
Performing Incremental Debugging
Using Hot Reload
Viewing ArkUI State Variables
Using Developer Options
Analyzing UI Layouts
Accessing Device Files
Location Simulation
Debugging Databases
Capturing Screenshots
Recording Screens
Mirroring Device Screens
Runtime Configuration Error Codes
Hot Reload and Incremental Debugging Error Codes
Debugging Error Codes
hdc Command Error Codes
Log Analysis
FaultLog
Viewing Cpp Crash Logs
Viewing AppFreeze Logs
Viewing App Killed Logs
Parsing App minidump/coredump Files
Analyzing Stack Traces
Analyzing Exception Stack Traces
ASan: Detecting Memory Errors
HWASan: Detecting Memory Errors
TSan: Detecting Thread Errors
UBSan: Detecting Undefined Behaviors
ArkCompiler: Detecting Runtime Issues
Instrument Test
Local Test
Mock
Black-box coverage
Instrument Test Error Codes
Local Test Error Codes
CLI Test Error Codes
Setting Up the Proxy
Terminal Environment Variables
DevEco Studio Parameters
Disabling Data Collecting
Log Collection and Diagnosis Data
ohpm Version Number Rules
pac.json5 Privacy Manifest File
Release Notes
Build System Lifecycle
Build Tasks
Build Products
Overview
hvigor-config.json5 File
Project-level build-profile.json5 File
Module-level build-profile.json5 File
Managing Modules
Adding Dependencies
Introduction
Examples
Building a HAR
Configuring for C++ Builds
Quick Link to a Pre-built Library
Implementing Multi-project Builds
Understanding the Logic for Checking HAP Uniqueness
Customizing the .hvigor Directory Path
Introduction
Examples
Introduction
Examples
Introduction
Examples
Using the Daemon Process
Enabling Parallel Build
Conducting an Incremental Build
Conducting Modular Compilation
Analyzing the Build Process
Performance/Memory Optimization Practices: Multi-Target Build
Performance/Memory Optimization Practices: Multi-HAP/Multi-HSP Build
Performance Optimization Practices: Custom Plugins and Tasks
Performance Optimization Practices: Mixed-Language Project Synchronization
Performance Optimization Practices: Cache Plugins
Memory Optimization Practices: Remote Build
Experimental Features
Developing an Hvigor Task
Developing an Hvigor Plugin
Basic Build Capabilities
Plugin Context
API Usage Examples
Task Visualization and Execution
Using Obfuscation for Code Hardening
Logging
Compilation and Building FAQs
Dependency Error Codes
Script Error Codes
Configuration Error Codes
Resource Missing Error Codes
Syntax Error Codes
Specification Error Codes
Permission Error Codes
Operation Error Codes
ArkTS Compilation Error Codes
Signature Tool Error Codes
Introduction to Performance Optimization Tools
UI Layout
Session Area
Data Area
Performance Profiling Procedure
Realtime Monitor for Problem Demarcating
In-depth Capture for Problem Locating
Frame Analysis
ArkUI Analysis
Analyzing App Stuttering Issues Using the Frame Template
Basic Operations with Launch Analysis
Case: Analyzing the First Frame Completion Delay During Cold Start
Basic Operations with Memory Snapshot Analysis
Analyzing the ArkTS Memory Leak
Overview
Filtering Memory Analysis Data
Analyzing Memory at Launch
Analyzing the Native Memory Leak
UI Component Memory Analysis: ComMemory
Energy Consumption Diagnosis: Energy
Loading and Frame Loss Analysis: ArkWeb
Network Diagnosis: Network
Parallelism and Concurrency Analysis: Concurrency
GPU Activity Analysis
Basic Time Analysis: Time
CPU Activity Analysis
I/O Latency Analysis: FileSystem
Graphics Profiler
DevEco Profiler Terms
FAQs
Error Codes
Shortcut Keys
Release
O&M Analysis
Obtaining Command Line Tools
Using codelinter
ArkTSDoc Generator (arktsdoc)
Using the Emulator
Using hvigorw
Using hstack
System Platform Requirements
ohpmrc
oh-package.json5
ohpm config
ohpm help
ohpm info
ohpm init
ohpm install
ohpm list
ohpm publish
ohpm uninstall
ohpm prepublish
ohpm unpublish
ohpm update
ohpm root
ohpm version
ohpm cache clean
ohpm run
ohpm --version
ohpm ping
ohpm clean
ohpm dist-tags
ohpm convert
ohpm dependency-check
ohpm config Error Codes
ohpm info Error Codes
ohpm install Error Codes
ohpm list Error Codes
ohpm publish Error Codes
ohpm uninstall Error Codes
ohpm unpublish Error Codes
ohpm update Error Codes
ohpm root Error Codes
ohpm version Error Codes
ohpm cache clean Error Codes
ohpm run Error Codes
ohpm ping Error Codes
ohpm clean Error Codes
ohpm dist-tags Error Codes
ohpm convert Error Codes
ohpm dependency-check Error Codes
Common ohpm Command Error Codes
Setting Up a Pipeline
Design Philosophy
Color
Typography
Application Icon
HarmonyOS Symbol
Layout Basics
Responsive Application Architecture
Responsive Layout Methods
Overview
Design Principles
Animation Attributes
Transition Animations
Gesture Animations
UI Language
Globalization
Privacy
Overview
Bottom Tab Bar
Subtab
Title Bar
Page Indicator
Text
Divider
Subheader
Progress Indicator
Index Bar
Scrollbar
Badge
Toast
Snack Bar
Tooltip
Data Panel
QR Code
Text Clock
Image
Blank
Button
Drop-Down Button
Status Button
Chip
Toolbar
Action Bar
Menu
Context Menu on Selection
Text Box
Search Box
Counter
Pattern Lock
Check Box
Switch
Radio Button
Rating Bar
Slider
Picker
Segmented Button
List
Dialog Box
Sheet
Overview
Gestures
Cursor Interaction
Focus Navigation
Mouse
Keyboard
Touchpad
Drag and Drop
Box Selection
Unified Interaction Events
Navigation Bar
Notifications
Live View
Multi-Window Interaction
Service Widget
PiP
Dark Mode
Status Bar
Audio Control Panel
Sharing
HUAWEI ID Web Login Function
HUAWEI Pay
Preview
Splash Screen
Tap to Transfer
Proximity Discovery
Overview
Basic Information
Service Widgets
Atomic Service Experience Scenarios
Universal and User-friendly
Lightweight and Efficient
Simple and Advanced
Security and Reliability
Account
Phone
Design Principles
Bi-Fold Phone
Tri-Fold Phone
Widescreen Foldable Phone
Tablet
Design Overview
Window Framework
Application Design
Application Status Bar Access
Foldable Computer
Intelligent Cockpit
Overview
Application Architecture and Application Navigation
Human-Machine Interaction
Spacing Parameters
Vision
Overview
Application UX Standards for General Devices
Application UX Standards for Large-Screen Devices
Application UX Standards for Foldables
Application UX Standards for PCs
Application UX Standards for Visions
Atomic Service UX Standards
Application UX Standards for Wearables
Overview
Video and Music Applications
Social Communication Applications
Photo & Video Applications
News and Reading Applications
E-Commerce Shopping Applications
Financial Applications
Lifestyle Applications
Travel and Accommodation Applications
Travel Navigation Applications
Mobile Payment Applications
Gaming Applications
Car Applications
Office Applications
Change History
About This Kit
Application Model Overview
Application- or Component-Level Configuration
UIAbility Overview
UIAbility Lifecycle
UIAbility Launch Type
UIAbility Usage
Data Synchronization Between UIAbility and UI Page
Starting UIAbility Within the Same Application
Cross-Device Migration Through Call Invocation
UIAbility Backup and Restore
EmbeddedUIExtensionAbility
Using AppServiceExtensionAbility for Background Services
AbilityStage Component Manager
Context
Want Overview
Matching Rules of Explicit Want and Implicit Want
Using Explicit Want to Start an Application Component
Common action and entities Values (Not Recommended)
Component Startup Rules (Stage Model)
Obtaining/Setting Environment Variables
Process Model Overview
ArkTS Child Process Development
Creating/Terminating Native Child Processes (C/C++)
Independent Process Development Guide
Thread Model
Application Configuration File (Stage Model)
Application Lifecycle Overview
Application Startup Process
App Startup Settings
AppStartup
Application Preloading
Application Quick Start
App Exit
Exiting an Application (PC/2-in-1 Device)
App Restart
Obtaining the Cause of Abnormal Application Exit
Overview of Application Redirection
Overview of Starting a Specified Application
(Optional) Using canOpenLink to Check Application Accessibility
Obtaining the URL of the Target Application
Using Deep Linking for Application Redirection
Using App Linking for Application Redirection
Switching from Explicit Want Redirection to Linking Redirection
Application Link Description
Overview of Starting an Application of the Specified Type
Using startAbilityByType to Start a Navigation Application
Using startAbilityByType to Start an Email Application
Using mailto to Start an Email Application
Using startAbilityByType to Start a Financial Application
Using startAbilityByType to Start a Flight Application
Using startAbilityByType to Start an Express Delivery Application
Using startAbilityByType to Start an Image Editing Application
Using startAbility to Start a File Application
Starting a System Application
Overview of Inter-App Redirection
Redirection for Social Sharing
Ad Redirection
Redirection After Special Text Recognition
Redirection and Launching Between Web Pages and Apps
Ark Agentic Framework Overview
InsightIntent Framework Overview
Intent Development Overview
Developing Intents Using Configuration Files
Developing Intents Using Decorators
Appendix: Standard Intent Access Specifications
Debugging Intents
Application Skill Development Guide Based on ArkTS Scripts
On-Device A2A Framework Overview
Using the AgentExtensionAbility Component to Implement Agent Services
AgentExtensionAbility Configuration File
Modular Object Model Overview (C/C++)
Using ModularObjectExtensionAbility to Implement Modular Objects (C/C++)
Implementing IPC Communication for ModularObjectExtensionAbility with Taihe (C/C++)
Using ModularObjectDispatcher for Dynamic Interface Invocation (C/C++)
Ability Kit Terminology
About This Kit
Button-annotated Scenarios
Screen Reading Scenarios with Content Specified
Screen Reading Scenarios of Illustrations/Videos/Animations
Scenarios Where a New Focus Position Is Set
Multi-dimensional Nesting Scenarios
Multi-Component Scenarios
Multilingual Scenarios
Scenarios Where the Screen Reading Focus Is Disabled
Scenarios Involving Component Status Changes
Scenarios Involving Component Relocation
Automatic Centering of Cards
Whole-Component Focus on List Items
Scenarios Involving Dynamically Changed Content
Focus Navigation for Pop-Ups
Operating Error Scenarios
Customizing the Control Status Announcement
Customizing Scroll Steps for Accessibility Operations
Customizing the Focus Navigation Order
Proactive Page Change Notification
Testing Screen Reader
Declaring the Integration with the System-Wide Senior Mode
Synchronizing the In-App Senior Mode with System Settings
Obtaining the Senior Mode Status
About This Kit
Unified Data Definition Overview
UTDs (ArkTS)
UTDs (C/C++)
Uniform Data Structs (ArkTS)
Uniform Data Structs (C/C++)
Content Cards Based on Uniform Data Structs (ArkTS)
Prebuilt UTDs
Application Data Persistence Overview
Persisting User Preferences (ArkTS)
Persisting User Preferences (C/C++)
Persisting KV Store Data (ArkTS)
Persisting RDB Store Data (ArkTS)
Persisting RDB Store Data (C/C++)
Persisting Vector Store Data (ArkTS)
Persisting Vector Store Data (C/C++)
Overview of Cross-Device Application Data Sync
Cross-Device Sync of KV Stores (ArkTS)
Cross-Device Sync of RDB Stores (ArkTS)
Cross-Device Sync of Distributed Data Objects (ArkTS)
Overview of Device-Cloud Data Sync for the Same App
Deploying the Cloud Environment for Device-Cloud Data Sync
Developing RDB Store for Device-Cloud Data Synchronization (ArkTS)
Data Reliability and Security Overview
Database Backup and Restore (ArkTS)
Database Backup and Restore (C/C++)
Database Encryption (ArkTS)
Database Encryption (C/C++)
Access Control by Device and Data Level (ArkTS)
Access Control by Device and Data Level (C/C++)
Using an EL5 Database (ArkTS)
Overview of Cross-Application Data Sharing
Sharing Configurations Between Applications (ArkTS)
Sharing Data via Unified Data Channels (ArkTS)
Sharing Data via Unified Data Channels (C/C++)
Application Data Vectorization (ArkTS)
Preferences Database Debugging Tool Guide
vector-store Database Debugging Tool Guide
SQLite Debugging Tool
ArkData Glossary
ArkData FAQs
About This Kit
Overview of the ArkTS Common Library
XML Overview
XML Generation
XML Parsing
XML Conversion
Buffer and FastBuffer
JSON Extension Library
Overview of the ArkTS Container Library
Linear Containers
Nonlinear Containers
Basic Library FAQ
Overview of Concurrency
Asynchronous Concurrency (Promise and Async/Await)
Overview of Multithreaded Concurrency
TaskPool
TaskPool Usage Guidelines
Worker
Comparison Between TaskPool and Worker
Overview of ArkTS Inter-Thread Communication
Overview of Inter-Thread Communication Objects
Regular Object
Container Object
ArrayBuffer Object
SharedArrayBuffer Object
Transferable Object (NativeBinding Object)
Overview of Sendable Objects
Usage Rules and Constraints for Sendable
Asynchronous Lock
Asynchronous Waiting
ASON Parsing and Generation
Shared Container
Shared Module
Freezing Sendable Objects
Use Scenarios of Sendable
Using TaskPool for Independent Time-consuming Tasks
Using TaskPool for Multiple Time-consuming Tasks
Communication Between the TaskPool Task and Host Thread
Real-Time Communication Between the Worker Thread and Host Thread
Synchronous Calls to Host Thread Interfaces from Worker
High-Performance Communication Between Multi-Level Workers
Queue-Jumping Message Communication from Worker to Host Thread
Overview of Multithreaded Development
Overview of Concurrency in Time-Consuming Tasks
CPU Intensive Task Development (TaskPool and Worker)
I/O Intensive Task Development (TaskPool)
Synchronous Task Development (TaskPool and Worker)
Overview of Concurrency in Continuous Tasks
Continuous Task Development (TaskPool)
Overview of Concurrency in Resident Tasks
Resident Task Development (Worker)
Batch Database Operations
Concurrent Loading of Service Modules
Global Configuration
ArkUI Data Updates
C++ Inter-Thread Data Sharing
Specifying Task Concurrency with TaskPool
ArkUI Waterfall Rendering
Obtaining the Recently Accessed List
Canceling Tasks in Multithreading with TaskPool
Multithreaded Operations with Custom Native Transferable Objects
Multithreaded Operations with Custom Native Sendable Objects
Persistent Worker Threads Handling Concurrent Tasks via TaskPool
Sendable Object Refactoring Practice
Common Concurrency Issues
ArkTS Cross-Language Interaction
Overview of ArkTS Runtime
GC
Overview of Modular Operation
Dynamic Import
Lazy Import
Dynamically Loading Native Modules in Synchronous Mode
Statically Loading Native Modules
Loading Modules Using Node-API
Side Effects and Optimization of Module Loading
Modularization Debugging Tools
Modularization FAQ
ArkTS Runtime FAQs
Overview of the ArkTS Compilation Toolchain
Overview of Ark Bytecode
Ark Bytecode File Format
Ark Bytecode Fundamentals
Naming Conventions for Ark Bytecode Functions
Customizing Ark Bytecode During Compilation
Ark Bytecode Generation FAQs
Disassembler
Overview of ArkGuard for Source Code Obfuscation
ArkGuard Principles and Capabilities for Source Code Obfuscation
ArkGuard Obfuscation Configuration Options
ArkGuard Obfuscation Keep Options
Using ArkGuard for Source Code Obfuscation
ArkGuard Obfuscation Practice Guide
Package-specific Source Code Obfuscation Recommendations
Common Issues with ArkGuard in Source Code Obfuscation
Overview of ArkGuard for Bytecode Obfuscation
ArkGuard Principles and Capabilities for Bytecode Obfuscation
Using ArkGuard for Bytecode Obfuscation
Package-specific Bytecode Obfuscation Recommendations
Common Issues with ArkGuard in Bytecode Obfuscation
Configuring arkOptions in build-profile.json5
ArkTS Terminology
About This Kit
UI Development (ArkTS-based Declarative Development Paradigm) Overview
Basic Syntax Overview
UI Decorator Overview
Declarative UI Description
Creating a Custom Component
Custom Component Lifecycle
Lifecycle of a Custom Component (Recommended)
Custom Component Layout
Constraints on Access Modifiers of Custom Component Member Variables
@Reusable Decorator: Reusing V1 Components
@ReusableV2 Decorator: Reusing V2 Components
Global Reuse: Centralized Component Recycling and Reuse
Development Practices of Custom Component Reuse
Diagnosis and Analysis of Component Reuse Issues
Freezing a Custom Component (V1)
Freezing a Custom Component (V2)
Component Encapsulation
Component Extension Overview
@Builder Decorator: Custom Builder Function
@LocalBuilder Decorator: Maintaining Component Relationships
@BuilderParam Decorator: Referencing the @Builder Function
wrapBuilder: Encapsulating Global @Builder
mutableBuilder: Implementing Dynamic Update of Global @Builder
@Styles Decorator: Defining Reusable Component Styles
@Extend Decorator: Defining Extended Component Styles
stateStyles: Applying Polymorphic Styles
@AnimatableExtend Decorator: Defining Animatable Properties
@Require Decorator: Validating Constructor Input Parameters
State Management Overview
State Management Principles
Differences Between State Management V1 and V2 Update Mechanisms
MVVM (V1)
MVVM (V2)
@State Decorator: State Owned by Component
@Prop Decorator: Implementing One-Way Synchronization from Parent to Child Components
@Link Decorator: Implementing Two-Way Synchronization Between Parent and Child Components
@Provide and @Consume Decorators: Two-Way Synchronization with Descendant Components
@Observed and @ObjectLink Decorators: Observing Property Changes in Nested Class Objects
@Watch Decorator: Getting Notified of State Variable Changes
@Track Decorator: Implementing Class Object Property-Level Updates
Application State Management Overview
LocalStorage: Storing Page-Level UI State
AppStorage: Storing Application-wide UI State
PersistentStorage: Persisting UI State
Environment: Querying the Device Environment
@Local Decorator: Representing the Internal State of Components
@Param Decorator: Inputting External Parameters to Components
@Once: Implementing Initialization Once
@Event Decorator: Standardizing Component Output
@Provider and @Consumer Decorators: Synchronizing Across Component Levels in a Two-Way Manner
@ObservedV2 and @Trace Decorators: Observing Property Changes in Classes
@Monitor Decorator: Listening for Value Changes of the State Variables
@SyncMonitor Decorator: Synchronous Listening for Value Changes of the State Variables
@Computed Decorator: Declaring Computed Properties
@Type Decorator: Marking the Types of the Class Property
AppStorageV2: Storing Application-wide UI State
PersistenceV2: Persisting UI States
getTarget API: Obtaining Original Objects
makeObserved API: Changing Unobservable Data to Observable Data
canBeObserved API: Determining Whether an Object Can Be Observed
addMonitor and clearMonitor APIs: Dynamically Adding and Removing Listeners
applySync/flushUpdates/flushUIUpdates APIs: Synchronous Update
$$ Syntax: Implementing Two-Way Synchronization for Built-in Components
!! Syntax: Enabling Two-Way Binding
V1 to V2 Migration Overview
Migration for Component State Variables
Migration for Data Object State Variables
Migration for In-Application State Variables
Migration for Component Reuse
Migration for Repeated Content Rendering
Migration for Built-in Objects
Widget State Variable Migration
Migration for AnimateTo Usage
Guidelines for Mixed Use of State Management V1 and V2 (Before API Version 19)
Mixed Use of State Management V1 and V2 (API Version 19 and Later)
In-Component State Management FAQs
Data Object State Management FAQs
In-App State Management and Other FAQs
Common Methods for Locating the Problem That Component Refresh Is Not Triggered When State Variables Change
State Management Terms
Rendering Control Overview
if/else: Conditional Rendering
ForEach: Rendering Repeated Content
LazyForEach: Lazy Data Loading
Repeat: Reusing Components for Repeated Content Rendering
ContentSlot: Enabling Hybrid Development
@Env: Environment Variable
@CustomEnv: Custom Environment Variable
Component Navigation and Page Routing Overview
Navigation Architecture
Subpage
Page Routing
Transition Animation
Cross-Package Routing
Split-View Layout
Page Routing (@ohos.router) (Not Recommended)
Transition from Router to Navigation
Layout Overview
Linear Layout (Row/Column)
Stack Layout (Stack)
Flex Layout (Flex)
Relative Layout (RelativeContainer)
Responsive Grid Layout (GridRow/GridCol)
Dynamic Layout (DynamicLayout)
Container Breakpoint (ContainerReader)
Using Tabs (Tabs)
Immersive Effect Development
Layout Optimization
List and Grid Overview
Creating a List (List)
Creating an Arc List (ArcList) (Recommended for Circular Screens)
Creating a Grid (Grid/GridItem)
Grid Item Drag-and-Drop
Creating a Waterfall Flow (WaterFlow)
Common Waterfall Operations
Creating Lazy Layouts (LazyColumnLayout/LazyVGridLayout/LazyVWaterFlowLayout)
Creating a Lazy Custom Layout (LazyDynamicLayout)
Common List Flows
Introduction to Text
Text Display (Text/Span)
Text Input (TextInput/TextArea/Search)
Rich Text Editing (RichEditor)
Symbol Glyph (SymbolGlyph/SymbolSpan)
Styled String (StyledString/MutableStyledString)
Text and Image Layout
Soft Keyboard Management
Selection and Development of Rich Text Display
Text Expansion and Collapse
Custom Keyboard
Image Display (Image)
Video Playback (Video)
Creating a Swiper (Swiper)
Creating an Arc Carousel Component (ArcSwiper) (Recommended for Circular Screens)
colorFilter-based Image Filter Effect
Image Resizing with the resizable Attribute
Button and Selection Component Overview
Button
Arc Button (ArcButton) (Recommended for Circular Screens)
Radio Button (Radio)
Toggle
Custom Rendering (XComponent)
Progress Indicator (Progress)
Popup Window Overview
Dialog Overview
Global Custom Dialog Box Independent of UI Components (openCustomDialog)
Basic Custom Dialog (CustomDialog)
Fixed-Style Dialog Box
Page-Level Dialog Box
Dialog Box Layer Management
Dialog Controller
Dialog Box Focus Policy
Dialog Mask Control
Menu Overview
Menu Control (Menu)
Global Menu Independent of UI Components (openMenu)
Popup Overview
Popup
Global Popup Independent of UI Components (openPopup)
Modal Page Overview
Binding a Semi-Modal Sheet (bindSheet)
Binding a Full-Modal Page (bindContentCover)
Using Toasts (Toast)
Managing Overlays (OverlayManager)
Custom Dialog Selection and Development
Immersive Light Sense Overview
Enabling Immersive Light Sensing
Immersive System Material Visual Effects
Immersive Lighting Power Consumption Optimization
FAQs About Immersive Light Sensing
Typical Scenarios of Immersive Light Sensing
Geometric Shape Drawing Overview
Drawing Geometric Shapes (Shape)
Clipping Shapes (clipShape)
Interaction Response Overview
Interaction Mechanism Overview
Handling Touchscreen Input Events
Handling Mouse Input Events
Handling Touchpad Input Events
Handling Keyboard Input Events
Handling Gamepad Input Events
Handling Crown Events
Supporting Smart Gesture Input Events
Gesture Binding
Single Gesture
Combined Gestures
Multi-level Gesture Events
Gesture Conflict Handling
Implementing Unified Drag and Drop
Implementing Focus Support
Animation Overview
Property Animation Overview
Implementing Property Animation
Custom Property Animation
Transition Animation Overview
Enter/Exit Transition
Modal Transition
Shared Element Transition
Rotation Transition Animation
Page Transition Animation (Not Recommended)
Particle Animation
Component Animation
Animation Curve Overview
Traditional Curve
Spring Curve
Animation Smoothing
Shadow Effect
Color Effect
Motion Blur
Comparison Between Motion Blur and Static Blur
Efficient Use of Blur
Frame Freezing and Blurring Troubleshooting
Frame Animation (ohos.animator)
Optimizing Animation Performance
Customization Capability Overview
Custom Composition
Custom Node Overview
Custom Placeholder Nodes
Custom Component Node (FrameNode)
Custom Render Node (RenderNode)
Custom Declarative Node (BuilderNode)
Setting Custom Node Cross-Language Attributes
Dynamic Component Creation
Drawing Custom Graphics on the Canvas (Canvas)
Custom Drawing Modifier (DrawModifier)
Custom Extension Capability Overview
Content Modifier (ContentModifier)
Attribute Modifier (AttributeModifier)
Attribute Updater (AttributeUpdater)
Implementing UI Internationalization
Accessibility Development
Supporting Aging-Friendly Design
Implementing Dark and Light Mode Adaptation
Configuring In-Application Theme Skinning
Using the UI Context API for UI Operations (UIContext)
Using Component Snapshot (ComponentSnapshot)
Long Screenshot
Detecting Component Visibility
Inspecting Page Layouts
Media Query (@ohos.mediaquery)
Full-Screen Launch of Atomic Services (FullScreenLaunchComponent)
In-Application Embedded Component (EmbeddedComponent)
NDK-Based UI Development Overview
Embedding ArkTS Components
Integrating with ArkTS Pages
Using Layout Components
Setting Common Layout Attributes
Using Navigation Components
Implementing a List Layout
Implementing a Waterfall Flow Layout
Using Grids
Using the Text Component
Using Styled Strings
Adding a Text Event Listener for a Text Box
Image Display (Image)
Using the Swiper Container
Building Form Components
Building a Dialog Box
Animation Overview
Animation Development
Using the Sliding Selector (Picker)
Adding an Event Listener
Binding Basic Input Events
Binding Gesture Events
Binding Drag Events
Building Custom Components
Custom Drawing
Integrating Accessibility Through Custom Drawing
Launching EmbeddedUIExtensionAbility with EmbeddedComponent
Querying and Operating NDK Nodes
NDK Multi-Instance Scenario Development
NDK Multi-thread Component Creation
Building a Rendering Node
UI Development (JavaScript-compatible Web-like Development Paradigm) Overview
File Organization
"js" Tag
app.js
HML
CSS
JavaScript
Lifecycle
Resource Limitations and Access
Multi-Language Capability
Component Overview
Layout Description
Adding Title and Paragraph Text
Adding an Image
Adding a Comment Area
Adding a Container
Adding Interactions
Developing Animations
Defining Gesture Events
Defining Page Routes
list Development
dialog Development
form Development
stepper Development
tabs Development
swiper Development
text Development
input Development
button Development
picker Development
image Development
image-animator Development
rating Development
slider Development
chart Development
switch Development
toolbar Development
menu Development
marquee Development
qrcode Development
search Development
Canvas
CanvasRenderingContext2D
Path2D
OffscreenCanvasRenderingContext2D
Grid Layout
Basics
Graph Drawing
Path Drawing
Text Drawing
Attribute Style Animation
Animation with the transform Attribute
Animation with the background-position Attribute
Animation for SVG Components
Component Animation
Animation Effect
Animation Frame
Custom Components
Using WebGL to Draw Graphics
UI Stability Issue Analysis Overview
Common UI-Related Application Crash Issues
Common UI Application Freezing Issues
Debugging UI Display Exceptions
UI Context Debugging
UI Preview
UI Profiling
High-Performance UI Development
Navigation FAQs
FAQs About Custom Nodes
FAQs About Buttons and Selection Components
Popup Component FAQs
FAQs About Text Components
FAQs About Dynamic Attribute Setting
FAQs About Imperative Nodes
FAQs About UI Parallelization
Common Gesture Event Conflicts
Window Overview
Window Type Development Overview
Subwindow Development
Dialog Window Development
Global Floating Window Development
Float View Development
Floating Ball Development
PiP Development Overview
Using XComponent to Develop PiP (ArkTS)
Using typeNode to Develop PiP (ArkTS)
Using NDK APIs to Develop PiP (C/C++)
PiP FAQs
Window Mode Overview
Introduction to Multi-Window
Declaring the Support for Multi-Window
Adapting the Application Layout to Multi-Window
Implementing the Avoid Area for the Window-top Control Bar
Freeform Window Overview
App Adaptation for Freeform Windows
Window Lifecycle
Window Rotation
Window Rotation Practical Cases
Window Layout
Window Focus
Window Z-Order
Immersive Window
Screenshot and Privacy Mode (ArkTS)
Controlling Brightness and Always-On (ArkTS)
Setting Window Animation Effects (ArkTS)
Controlling Window Appearance (ArkTS)
Using WindowManager to Manage Multimodal Input Events (C/C++)
Application Starting Window Overview
Configuring the Application Starting Window
Configuring Starting Window Resources
Window Metadata Configuration
Glossary
Window Development FAQs
Common Log Issues and Troubleshooting in Window Development
Display Management Overview
Using OH_DisplayManager to Obtain Basic Display Information and Listen for Status Changes (C/C++)
Using Display to Obtain Display Properties and Listen for Status Changes (ArkTS)
Glossary
Display Development FAQs
ArkUI Glossary
About This Kit
ArkWeb Process
Lifecycle of the Web Component
Developing User-Agent
Managing Cookies and Data Storage
Setting Dark Mode
Opening Pages in a New Window
Managing Location Permissions
Using Incognito Mode
Using Motion and Orientation Sensors
Rendering Modes of the Web Component
Fitting In the Page Content Layout
Optimizing the Page Flash During the Redirection
Obtaining the Web Page Content Height
Invoking Frontend Page Functions on the Application
Invoking Application Functions on the Frontend Page
Establishing a Data Channel Between the Application and the Frontend Page
Mutual Invoking Between the Application and the Frontend Page (C/C++)
Establishing a Data Channel Between the Application and the Frontend Page (C/C++)
Implementing Nested Scrolling
Implementing Content Scrolling
Docking to the Soft Keyboard
Managing Focus
Interacting with Applications Using Gestures
Zooming Web Pages
Displaying Web Page Dialog Boxes
Interacting with Web Pages Using the Drag-and-Drop Feature of the Web Component
Simulated Click Detection for Web Applications
Resolving Cross-Origin Resource Access
Intelligent Tracking Prevention
Using the Ad Blocking Feature
Using Secure Shield Mode
Loading Web Pages
Using the Web Component Interception Capability
Managing Page Redirection and Browsing History Navigation
Intercepting Network Requests Initiated by the Web Component
Customizing Page Request Responses
Accelerating Web Page Access
Setting the Backward-Forward Cache
Migrating Web Components Between Different Windows
Uploading Files
Downloading Files
Starting a Camera and Microphone
Taking Over the Media Playback on Web Pages
Enabling Picture-in-Picture
Enabling Immersive Full-Screen Video Playback
Printing Frontend Pages
Saving a Frontend Page as a PDF File
Previewing PDF Files
Calculating and Adjusting Safe Area Insets
Using Web Component Menus to Process Web Content
Processing Web Page Content by Interacting with the System Clipboard
Using Smart Text Data Detector
Implementing Long Screenshot for the Web Component
Using Same-Layer Rendering
Rendering Native Components at the Same Layer
Using Offline Web Components
Using WebNativeMessagingExtensionAbility to Implement Communication Between Browser Extensions and Applications
Debugging Frontend Pages by Using DevTools
Using Crashpad to Collect Web Component Crash Information
Troubleshooting White Screen Issues on Web Pages
Using Hypium to Implement ArkWeb Automated Testing
Locating Web Page Loading Issues
Glossary
About This Kit
Transient Task (ArkTS)
Transient Task (C/C++)
Continuous Task (ArkTS)
Deferred Task (ArkTS)
Agent-powered Reminder (ArkTS)
Background Tasks Kit Integration Specifications
Glossary
About This Kit
Client-Server Interaction Process
Server Application Development
Client Application Development
Content Embed Kit FAQs
Content Embed Kit Terminology
About This Kit
Application File Overview
Application Sandbox
Accessing Application Files (ArkTS)
Accessing Application Files (C/C++)
Obtaining Application and File System Space Statistics
Sharing an Application File
Configuring the Application Shared Directory
Application Data Backup and Restore Overview
Accessing Backup and Restore
Verification Guide for App Data Backup and Restore
Adaptation Guide for Application Clone
Introduction to Application Data Migration
Adaptation Process
Application Data Migration and Adaptation
Developer Self-Verification
E2E Verification
FAQs
Precautions for Code Development During Application Upgrade
User File Overview
User File URI
FileUri Development (C/C++)
Obtaining the User Directory Environment (C/C++)
Selecting User Files
Saving User Files
Persisting Temporary Permissions
Persisting Temporary Permissions (C/C++)
Obtaining and Accessing a User Directory
Distributed File System Overview
Setting the Security Level of a Distributed File
Sharing and Accessing Files Across Devices
Copying Files Across Devices
Device-Cloud File Sync Overview
Device-Cloud File Sync Integration
Compression and Decompression Overview
Archive File Compression and Decompression (C/C++)
Streaming Compression and Decompression (C/C++)
Buffer Compression and Decompression (C/C++)
Accessing Files on the Native Side
About This Kit
Knowledge Processing
RAG Overview
Knowledge Q&A
Configuring a Prompt Template
Configuring Hyperparameters
Configuring a Thought Template
Complete Sample Code
Intelligent Data Retrieval-ArkTS
Intelligent Data Retrieval-C++
On-Device Q&A Model
RAG Glossary
On-Device Q&A Model Glossary
About This Kit
ArkTS Widget Overview
Creating an ArkTS Widget
Configuring ArkTS Widget Configuration Files
Managing ArkTS Widget Lifecycle
ArkTS Widget Process Model
Overview of ArkTS Widget UI Development
Using Animations in ArkTS Widgets
Using Canvas in ArkTS Widgets
Using Custom Fonts in ArkTS Widgets
Overview of ArkTS Widget Update
Active Update of ArkTS Widgets
Passive Update of ArkTS Widgets
Push Updates for ArkTS Widgets
Updating Local and Online Images in the Widget
Updating Widget Content by State
Overview of ArkTS Widget Page Interaction
Redirecting to an Application Page (router Event)
Launching UIAbility to the Background (call Event)
Transferring Messages to an Application (message Event)
Updating Widget Content Through the router or call Event
Editing ArkTS Widgets
Adding ArkTS Widgets to the Home Screen from Within an App
ArkTS Lock Screen Widget
ArkTS Transparent Widget
Standby Screen Widgets
Overview of Interactive Widgets
Developing a Fun-based Widget
Developing a Scene-based Widget
Music Widget
Widget Updates and Data Interaction
ArkTS Widget Adaptation FAQs
JS Widget Overview
Developing a JS Widget (Stage Model)
Developing a JS Widget (FA Model)
Glossary
About This Kit
Implementing an Input Method Application
Using the Input Method in a Custom Edit Box
Switching Between Input Methods
Setting Input Method Subtypes
Security Mode of the Input Method
Using the Input Method in a Custom Edit Box (C/C++)
Immersive Mode of the Input Method Application
IME Tool
Input Box and Input Method Interaction in Non-Focusable Windows
Glossary
About This Kit
IPC and RPC Development (ArkTS)
IPC and RPC Development (C/C++)
Subscribing to State Changes of a Remote Object
Glossary
About This Kit
UI Design for Internationalization
Locale ID and Cultural Habit Division
System Language and Region
Preferred Language
User Preferences
Date and Time Formatting
Number and Unit of Measurement Formatting
Phone Number Formatting
Calendar Setting
Time Zone Setting
DST Transition
Overview of Multilingual Sorting
Sorting by Local Habits
Sorting by Indexes
Character Processing
Overview
Language and Locale Name Localization
Multilingual Adaptation
Hard Coding and Concatenation Prevention
Scene and Context Clarification for Translation
Singular/Plural Form Selection
Overview of Pseudo-Localization Testing
Pseudo-Localization Testing for Translation
Pseudo-Localization Testing for UI Mirroring
Linguistic Testing
Glossary
About This Kit
(Recommended) Layered Icon Processing
Single-Layer Icon Processing
Setting the Dynamic Blur Style
Setting the Message Reminder
Configuring the Custom Area
Dynamically Displaying and Hiding the Title Bar
Configuring the Sheet Style
Setting the Icon Type
Configuring In-App Multi-Window
Development Example
Configuring the Sidebar in Overlay Mode
Configuring the Sidebar in Embed Mode
Sidebar Menu Style
Setting Tab Bar Dividers
Setting the Tab Bar Blur Style
Configuring the Tab Icon Bleed Style
Configuring the Sidebar Half-Screen-based Center-Aligned Style
Setting the Tab Bar Floating Style
Configuring a Persistent Notification Pop-up
Configuring a Scheduled Notification Pop-up
Configuring a Component with a Primary Button
Configuring a Component Without a Primary Button
Configuring the List Style with Horizontal Swipe Animation
Configuring the List Card Style
Loading a Custom Symbol for an App
Point-Light Effect
Shadow Effect upon a Press
Dual-Edge Flowing Light Effect
Background Flowing Light Effect
Dual-Edge Flowing Light with a Background
In-App Multi-Window
Immersive Light
Color Selection and Favorites Management
How Do I Obtain the layeredDrawableDescriptor Object Information?
What Are the Possible Causes and Solutions for 401 Parameter Check Failure?
Glossary
Access Control Overview
Application Permission Management Overview
Workflow for Requesting Permissions
Declaring Permissions
Requesting User Authorization
Requesting User Authorization for the Second Time
Requesting One-Time User Authorization
Manual Authorization
Requesting Restricted Permissions
Open system_grant Permissions
Open user_grant Permissions
Restricted Permissions
Permissions for Enterprise Applications
Permissions for MDM Applications
Application Permission Groups
Removing Requested Permissions
FAQs About Packet Capture/Debugging Permission
Security Component Overview
Using PasteButton
Using SaveButton
Using System Pickers
Overview of the Password Autofill Service
Quick Adaptation
Autosave of Accounts and Passwords
Updates of Accounts and Passwords
Autofill of Accounts and Passwords
Autofill of Strong Passwords
Suggestions on Automatically Generating Strong Passwords for Applications
Adaptation Suggestions for Custom Layouts
Adaptable Scenarios
Adding Password Vault for Web Pages
Sharing Account Data Between Applications and Web Pages
Application Encryption
About This Kit
Protecting Asset Data
Protecting Asset Data with User Authentication
Adding an Asset (ArkTS)
Removing Assets (ArkTS)
Updating an Asset (ArkTS)
Querying Assets (ArkTS)
Querying Assets Used for User Authentication (ArkTS)
Adding Assets in Batches (ArkTS)
Removing Assets in Batches (ArkTS)
Updating Assets in Batches (ArkTS)
Managing Assets in a Group (ArkTS)
Syncing Assets (Backup and Restore) (ArkTS)
Adding an Asset (C/C++)
Removing Assets (C/C++)
Updating an Asset (C/C++)
Querying Assets (C/C++)
Managing Assets in a Group (C/C++)
Syncing Assets (Backup and Restore) (C/C++)
Glossary
About This Kit
Running a Data App to Process Data
Glossary
About This Kit
Randomly Generating a Symmetric Key (ArkTS)
Randomly Generating a Symmetric Key (C/C++)
Converting Binary Data into a Symmetric Key (ArkTS)
Converting Binary Data into a Symmetric Key (C/C++)
Randomly Generating an Asymmetric Key Pair (ArkTS)
Randomly Generating an Asymmetric Key Pair (C/C++)
Converting Binary Data into an Asymmetric Key Pair (ArkTS)
Converting Binary Data into an Asymmetric Key Pair (C/C++)
Generating an Asymmetric Key Pair Based on Key Parameters (ArkTS)
Generating an Asymmetric Key Pair Based on Key Parameters (C/C++)
Converting a Compressed or Uncompressed ECC Public Key (ArkTS)
Converting a Compressed or Uncompressed ECC Public Key (C/C++)
Converting Compressed or Uncompressed ECC Point Data (ArkTS)
Converting Compressed or Uncompressed ECC Point Data (C/C++)
Converting a PEM String into an Asymmetric Key Pair (ArkTS)
Converting a PEM String into an Asymmetric Key Pair (C/C++)
Encoding and Decoding with an RSA Private Key (ArkTS)
Encoding and Decoding with an RSA Private Key (C/C++)
Obtaining a Public Key from a Private Key (ArkTS)
Obtaining a Public Key from a Private Key (C/C++)
Encryption and Decryption with an AES Symmetric Key (ArkTS)
Encryption and Decryption with an AES Symmetric Key (C/C++)
Encryption and Decryption with a DES Symmetric Key (ArkTS)
Encryption and Decryption with a DES Symmetric Key (C/C++)
Encryption and Decryption with a 3DES Symmetric Key Pair (ArkTS)
Encryption and Decryption with a 3DES Symmetric Key Pair (C/C++)
Encryption and Decryption with an SM4 Symmetric Key (ArkTS)
Encryption and Decryption with an SM4 Symmetric Key (C/C++)
Encryption and Decryption with a ChaCha20 Symmetric Key Pair (ArkTS)
Encryption and Decryption with a ChaCha20 Symmetric Key Pair (C/C++)
Encryption and Decryption with an RSA Asymmetric Key Pair (ArkTS)
Encryption and Decryption with an RSA Asymmetric Key Pair (C/C++)
Encryption and Decryption with an SM2 Asymmetric Key Pair (ArkTS)
Encryption and Decryption with an SM2 Asymmetric Key Pair (C/C++)
Encryption and Decryption of Symmetric Keys with AES-WRAP (ArkTS)
Encryption and Decryption of Symmetric Keys with AES-WRAP (C/C++)
Converting SM2 Ciphertext (ArkTS)
Converting SM2 Ciphertext (C/C++)
Encryption and Decryption with an RC2 Symmetric Key (CBC Mode) (ArkTS)
Encryption and Decryption with an RC4 Symmetric Key (ArkTS)
Encryption and Decryption with ECIES (ArkTS)
Encryption and Decryption Using ECIES (C/C++)
Signing and Signature Verification with an RSA Key Pair (ArkTS)
Signing and Signature Verification with an RSA Key Pair (C/C++)
Signing and Signature Verification with an ECDSA Key Pair (ArkTS)
Signing and Signature Verification with an ECDSA Key Pair (C/C++)
Signing and Signature Verification with an ECC Key Pair (ArkTS)
Signing and Signature Verification with an SM2 Key Pair (ArkTS)
Signing and Signature Verification with an SM2 Key Pair (C/C++)
Converting SM2 Signature Formats (ArkTS)
Converting SM2 Signature Formats (C/C++)
Signing and Signature Verification Using ML-DSA Key Pairs (ArkTS)
Key Agreement Using ECDH (ArkTS)
Key Agreement Using ECDH (C/C++)
Key Agreement Using X25519 (ArkTS)
Key Agreement Using X25519 (C/C++)
Key Agreement Using DH (ArkTS)
Key Agreement Using DH (C/C++)
Key Encapsulation and Decapsulation Using KEM (ArkTS)
Generating an MD Using SHA-256 (ArkTS)
Generating an MD Using SHA-256 (C/C++)
Generating an MD Using MD5 (ArkTS)
Generating an MD Using MD5 (C/C++)
Generating an MD Using SHA-3 (ArkTS)
Generating an MD Using SHA-3 (C/C++)
Generating an HMAC (ArkTS)
Generating an HMAC (C/C++)
Generating a CMAC (ArkTS)
Generating a CMAC (C/C++)
Generating Secure Random Numbers (ArkTS)
Generating Secure Random Numbers (C/C++)
Generating Secure Random Numbers with Hardware Entropy Sources (ArkTS)
Generating Secure Random Numbers with Hardware Entropy Sources (C/C++)
Key Derivation Using PBKDF2 (ArkTS)
Key Derivation Using PBKDF2 (C/C++)
Key Derivation Using HKDF (ArkTS)
Key Derivation Using HKDF (C/C++)
Key Derivation Using Scrypt (ArkTS)
Key Derivation Using Scrypt (C/C++)
Key Derivation Using X963KDF (ArkTS)
Key Derivation Using X963KDF (C/C++)
Cross-Platform Data Encryption and Decryption Compatibility
Glossary
About This Kit
DLP Service Development (ArkTS)
DLP Service Development (C/C++)
Adapting to Encrypted Share
Data Protection Kit Glossary
About This Kit
Certificate Framework Overview
Certificate Development
Certificate Extension Development
CRL Development
Creating a TrustAnchor Object Array from a PKCS #12 File
Certificate Chain Validator Development
Certificate and CRL Collection Development
Certificate Chain Development
Using the Prebuilt CA Certificate to Validate a Certificate Chain
Certificate Signing with CMS
Certificate Encapsulation with CMS
Certificate Signature Verification with CMS
Certificate Decapsulation with CMS
Creating and Parsing a Certificate with PKCS #12
Online Validation of Certificate Revocation Status of a Certificate Chain
Downloading the Missing Intermediate CA Certificate During Certificate Chain Validation
Building and Verifying a Certificate Chain
Certificate Manager Overview
CA Certificate Development
Application Certificate Development
User Certificate Credential Development
System Certificate Credential Development
Glossary
About This Kit
Service Quota
Enabling Device Security Kit
Generating a JWT Based on a Service Account
DeviceVerify
Enhanced System Integrity Check
System Integrity Check
URL Check
Local System Integrity Check
Unified Risk Control Credential
Image Security Verification
Location Security Verification
Secure Image Compression and Cropping
Verifying the Anonymous Certificate Chain
Verifying the Signature
TrustedAppService Glossary
Overview
Setting the Digital Shield Password
Changing the Digital Shield Password
Disabling the Digital Shield Service
Password-based Transaction Authentication
Enabling Biometric Authentication
Performing Biometric Transaction Authentication
Disabling the Authentication Capability of a Specified Biometric Feature
Digital Shield Signature Key Backup and Restoration
Digital Shield Access in Web Page Scenarios (FIDO2)
TrustedAuthentication Glossary
Single-Client Subscription
Subscribing to Notification Events
Subscribing to Authentication Events
Process Information Query
Code Signature Information Query
Querying Notification Client Information
Querying Authentication Client Information
Subscribing to Notification Events
Subscribing to Authentication Events
Process Information Query (C/C++)
Code Signature Information Query (C/C++)
Querying Notification Client Information (C/C++)
Querying Authentication Client Information (C/C++)
Fraud Detection
Simulated Click Detection
Enhanced Simulated Click Detection
Terms of BusinessRiskIntelligentDetection
RiskControlEngine
Device Security Mode Query (C/C++)
Obtaining Fraudulent Messages
Obtaining Fraudulent Call Logs
Obtaining Fraudulent Apps
Screen Privacy
VirusProtectionServiceManager (C/C++)
Querying the Super Privacy Mode Status
Querying the Super Privacy Policy Status
Subscribes to Super Privacy mode change events.
Subscribing to Super Privacy Mode and Policy Change Events
Personal Data Processing Information
Supported Countries/Regions
About This Kit
Development Preparations
Starting a File Scanning Task
File Opening
Setting Tags for a File
Obtaining the Tags of a File
Obtaining the URI of a File
Deleting a File from a Specified Path
Updating a Security Control Policy
Setting the KIA File List
Subscribing to and Unsubscribing from KIA File Copy, Rename, and Compress Events
Setting a Watermark Image for KIA Files
Adding, Deleting, and Obtaining an App Trustlist
Setting HDC Authentication Keys
Subscribing to or Unsubscribing from Printing Service Startup Events
Process Management
Obtaining the Enterprise Recovery Key for Decrypting Hard Disk Data
Obtaining the Enterprise Recovery Key for Resetting the Screen Lock Password
Obtaining a Challenge
Signing a Challenge
Updating the Enterprise Public Key Certificate
Deleting an Enterprise Recovery Key
Lite Import Title
Glossary
About This Kit
Preparations
App Directory Scanning
File Opening
File Isolation
Isolated File Restoration
Deletion of Isolated Files
Isolation Query
Threat Process Termination
Enterprise Threat Protection Kit FAQs
Glossary
About This Kit
Development Preparations
FIDO Passwordless Authentication
IFAA Passwordless Authentication
SOTER Passwordless Authentication
Overview
Authentication Using Passkeys (ArkTS)
Authentication Using Passkeys (C/C++)
DID Digital Identity
Glossary
IFAA FAQs
Personal Data Processing Information
Website Link Disclaimer
About This Kit
Basic Concepts of Local Key Management
Key Generation Overview and Algorithm Specifications
Generating a Key (ArkTS)
Generating a Key (C/C++)
Key Import Overview and Algorithm Specifications
Importing a Key in Plaintext (ArkTS)
Importing a Key in Plaintext (C/C++)
Importing a Key in Secure Mode (ArkTS)
Importing a Key in Secure Mode (C/C++)
Importing a Key Using a Digital Envelope (ArkTS)
Importing a Key Using a Digital Envelope (C/C++)
General Process of Using a Key
Encryption and Decryption Overview and Algorithm Specifications
Encryption and Decryption (ArkTS)
Encryption and Decryption (C/C++)
Signing and Signature Verification Overview and Algorithm Specifications
Signing and Signature Verification (ArkTS)
Signing and Signature Verification (C/C++)
Key Agreement Overview and Algorithm Specifications
Key Agreement (ArkTS)
Key Agreement (C/C++)
Key Encapsulation Mechanism and Algorithm Specifications
Encapsulating a Key (ArkTS)
Key Derivation Overview and Algorithm Specifications
Key Derivation (ArkTS)
Key Derivation (C/C++)
HUKS Access Control Overview
HUKS Access Control Development
Refined Access Control Development
HMAC Overview and Algorithm Specifications
HMAC (ArkTS)
HMAC (C/C++)
CMAC (ArkTS)
CMAC (C/C++)
Deleting a Key (ArkTS)
Deleting a Key (C/C++)
Key Attestation Overview and Algorithm Specifications
Anonymous Key Attestation (ArkTS)
Anonymous Key Attestation (C/C++)
Offline Anonymous Key Attestation (ArkTS)
About Application Attestation
Application Development
Server Development
Application Development
Server Development
Integration Design Practice for Verifying the Authenticity of Application Requests
Checking a Key (ArkTS)
Checking a Key (C/C++)
Obtaining Key Properties (ArkTS)
Obtaining Key Properties (C/C++)
Exporting a Key (ArkTS)
Exporting a Key (C/C++)
Querying Key Aliases (ArkTS)
Querying Key Aliases (C/C++)
About Exporting and Importing a Key in Ciphertext
Exporting and Importing a Key in Ciphertext (ArkTS)
Exporting and Importing a Key in Ciphertext (C/C++)
Group Key Overview
Group Key (ArkTS)
Group Key (C/C++)
External Key Management Extension Overview
Provider Management Overview and Specifications
Registering and Unregistering a Provider (ArkTS)
Registering and Unregistering a Provider (C/C++)
Resource Management Overview and Specifications
Obtaining a Resource ID (ArkTS)
Opening/Closing a Resource (ArkTS)
Opening and Closing Resources (C/C++)
Key Generation, Import, and Export
Generating a Key (ArkTS)
Importing a Key (ArkTS)
Exporting a Public Key (ArkTS)
UKey PIN Authentication Overview and Specifications
Authentication Status Query (ArkTS)
Authentication Status Query (C/C++)
Clearing the UKey PIN Authentication Status (ArkTS)
Signing and Signature Verification Overview and Algorithm Specifications
Signing and Signature Verification (ArkTS)
Signing and Signature Verification (C/C++)
General Query Overview and Specifications
General Query (ArkTS)
General Query (C/C++)
Setting Properties (ArkTS)
Obtaining Error Information (ArkTS)
UKey Process Example
CryptoExtensionAbility Extension Capability Overview
CryptoExtensionAbility Adaptation Development
Personal Data Processing Information
Glossary
About This Kit
Before You Start
Obtaining Supported Authentication Capabilities
Initiating User Authentication
Canceling User Authentication
Perceiving and Adjusting the Authentication Process
Applying Custom Authentication
Obtaining Enrolled Credential Status
Using userAuthIcon
Obtaining the Locking Status of a Specified Authentication Type
Companion Device Authentication
How to Detect Changes in Device Fingerprints for Fingerprint Login
How to Detect Authentication Failure During Fingerprint Login
Glossary
About This Kit
Accessory Integration
An Exception Occurs During API Calls, and the Expected Operation Cannot Be Completed
Glossary
About This Kit
Bluetooth Overview
Bluetooth Setting
Device Discovery
Device Pairing
SPP-based Connection and Data Transmission
BLE Scanning and Advertising
GATT-based Connection and Data Transmission
401 Invalid Parameter Reported When an Optional Property Is Explicitly Set to undefined
Bluetooth Glossary
NFC Development
NFC Tag Read/Write Development
HCE Development
SE Access Development
WLAN Service Development Overview
P2P Connection Development
STA Development
Wi-Fi Scan Development
Converged Short-Range Service Development
Interconnection Between Partner Devices and HarmonyOS Devices
Converged Short-Range Glossary
NearLink Overview
Getting Started
Discovering NearLink Devices
Managing SSAP Connections and Services
Transferring Data over NearLink
Obtaining NearLink Coordinated Devices Set Information
NearLink FAQs
NearLink Glossary
About This Kit
Distributed Device Management Development
Cross-Device UIAbility Connection Development
Enhanced Connection Development
About This Kit
Preparations
Checking Whether NearLink Is Supported
Querying NearLink Status
Sending NearLink Advertising Packets
Initiating NearLink Scanning
SSAP Server
SSAP Client
Transferring Data Using NearLink
Obtaining NearLink Cooperative Device Set Information
FAQs
Glossary
About This Kit
Using HTTP for Network Access
Using WebSocket for Network Access
Using WebSocket for Network Access (C/C++)
Using Socket for Network Access
Using MDNS for LAN Access
Using DNS for Domain Name Resolution
Using HTTP Global Interceptor (C/C++)
Network Connection Management
Network Connection Management (C/C++)
VPN Management
Application Network Reconnection
Network Information Query and Connection Management
Network Connection Security Configuration
Collecting Network Statistics
Using the Network Firewall
Extensible Authentication
Glossary
About This Kit
Preparations
Network Quality Assessment
Network Scenario Identification
App Data Transmission Quality Feedback
Weak Network Signal Awareness and Judgment
Network Handover Notification
Handover Mode Setting
Overview
Setting the Service Scenario
Listening to the Multi-Network Concurrency Status
Listening to Multi-Network Concurrency Suggestions
Querying Multi-Network Concurrency Quota Information
Initiating and Releasing Multi-Network Concurrency
Network Acceleration Based on Multi-Network Concurrency
Network Quality Assessment (C/C++)
Network Scenario Identification (C/C++)
App Data Transmission Quality Feedback (C/C++)
Weak Network Signal Awareness and Judgment (C/C++)
Network Handover Notification (C/C++)
Handover Mode Setting (C/C++)
Setting the Service Scenario (C/C++)
Listening to the Multi-Network Concurrency Status (C/C++)
Listening to Multi-Network Concurrency Suggestions (C/C++)
Querying Multi-Network Concurrency Quota Information (C/C++)
Initiating and Releasing Multi-Network Concurrency (C/C++)
How Do I Determine Whether the Current Network Is a Wi-Fi or Cellular Network During Multi-Network Concurrent Transmission?
What Will Happen If the Quota of Multi-Network Concurrency Is Used Up?
Glossary
About This Kit
Preparations
Sending a Network Request (ArkTS)
Canceling a Network Request (ArkTS)
Closing a Session (ArkTS)
Sending a Network Request (C++)
Canceling a Network Request (C++)
Closing a Session (C++)
DnsConfiguration: DNS Customization
TransferConfiguration: Data Transmission Customization
ProxyConfiguration: Proxy Customization
SecurityConfiguration: Secure Transmission Customization
ProcessingConfiguration: Processing Customization
Interceptor: Richer and Higher-Level Customization Capabilities
Implementing Upload and Download Quickly
Implementing the Function of Suspending/Resuming Requests and Resuming Transfer
Streaming
Performance Maintenance and Test Based on TracingConfiguration
Transmission Performance Optimization Based on Configuration
Basic HTTP Caching Function
Cache Sharing Between Sessions
Customizing a Cache Interceptor
Boosting HTTP Transmission Performance Through Pre-connection
Receiving Push Messages over a QUIC Long-Lived Connection
Calling a Remote Program Using URPC
Glossary
About This Kit
Introduction to Device Interconnectivity
Development Guide for Device Interconnectivity
Overview of Device Interconnectivity in NDK
Development Guide for Device Interconnectivity in NDK
Device Interconnectivity (RichEditor Control)
OneHop for Device Interaction
After the Device Interconnectivity Control Is Connected, No Devices Are Available for Selection
About This Kit
Call Service Development
SMS Service Development
Glossary
Getting Started with Network Navigator
Capturing Packets with tcpdump Using Network Packet Analysis
About This Kit
Introduction to Common Events
Subscribing to Common Events in Dynamic Mode
Unsubscribing from Common Events in Dynamic Mode
Publishing Common Events
Subscribing to Common Events in C
Unsubscribing from Common Events in C
Publishing Common Events in C
Common Event Service Terminology
Using Emitter for Inter-Thread Communication
System Account Introduction
Managing Application Accounts
USB Service Development Overview
USB Device Management
USB Control Transfer
USB Interrupt Transfer
USB Bulk Transfer
USB Isochronous Transfer
USB Serial Communication Development Overview
USB Serial Configuration Management
USB Serial Communication Management
FAQs
USB Service Glossary
Serial Port Communication Development
Sample Server Development Overview
Sample Server Development
Update Service Terminology
Requesting Permissions to Access the Pasteboard
Using the Pasteboard to Copy and Paste
Using the Pasteboard to Copy and Paste (C/C++)
Using the Delayed Copy and Paste Feature of the Pasteboard
Clipboard Glossary
Uploading and Downloading Application Files
Compressing and Decompressing Files
Overview of the Word Selection Service
Developing a Word Selection Extension Ability
Selection Service Terminology
Preventing the Idle System from Entering Sleep Mode
Printing Files (C/C++)
PrintExtensionAbility
About This Kit
Adding App Icons to the Status Bar
Adding App Icons to the Quick Bar
Glossary
About This Kit
Using Segment Map to Query and Maintain Range Information
Using RectPartition to Solve the Rectangular Partition Problem
Using PolyRoot to Solve Polynomial Roots
Using ConcurrentHashMap to Query and Maintain Key-Value Information in a Multithreaded Environment
Using DSP for Vector Computation
Using DSP for Second-Order IIR Filtering
Using DSP for FFT
Using HashMap to Manage Key-Value Data
Using Sort for Generic and Natural Language Sorting
Using mathPrediction for Mathematical Prediction
Using perfHint for System Performance Optimization (ArkTS)
Using perfHint for System Performance Optimization (C/C++)
Glossary
About This Kit
Function Flow Runtime Paradigms
Function Flow Runtime Serial Queue (C)
Function Flow Runtime Concurrent Queue (C)
Function Flow Runtime Task Graph (C)
Function Flow Runtime Serial Queue (C++)
Function Flow Runtime Concurrent Queue (C++)
Function Flow Runtime Task Graph (C++)
Function Flow Runtime Job Partner (C++)
Function Flow Runtime Development
Function Flow Runtime C APIs
Glossary
About This Kit
Input Device Development
Preferential Response of System Function Keys
Mouse Pointer Development
Event Listening Development (C/C++)
Event Interception Development (C/C++)
Glossary
About This Kit
MDM Kit Development
App Model
Multi-App Management
EnterpriseAdminExtensionAbility Development
Personal Data Processing Information
Glossary
Appendix
About This Kit
QoS Development
Gewu Service Development
Setting Thread Priorities in High-Load Scenarios
Glossary
About This Kit
Enabling Hotspot Accelerate
Glossary
About This Kit
Device Hardware Consistency Check
About This Kit
Development Preparations
Navigation Hop to Head Unit
Address Hop to Head Unit
Hop to Walking Navigation upon Vehicle Exit
Proactively Obtaining HiCar Connection Status
Listening to HiCar Connection Status
Connecting an App on Super Home Screen to the Distributed Camera
Glossary
About This Kit
Setting Up the Environment
UI-free Driver Development
UI-based Driver Development
USB DDK Development
HID DDK Development
USB Serial DDK Development
SCSI Peripheral DDK Development
FAQs
Glossary
About This Kit
Stationary Development
Motion Awareness Development
Device Status Awareness Development
Metadata Binding Development
Glossary
About This Kit
Integrating the Handwriting Suite
Integrating Point Prediction
Integrating Instant Shape
Integrating the Global Color Picker
Integrating Stylus Interaction
Connecting to Stylus Frame Boost
Integrating the Global Color Picker
Integrating Point Prediction
Connecting to Stylus Frame Boost
Does the Handwriting Suite of Pen Kit Support Custom Brushes?
Does the Handwriting Suite of Pen Kit Support Custom Brush Widths?
Does the Handwriting Suite of Pen Kit Support Custom Colors?
Can the Toolbar of the Handwriting Suite of Pen Kit Be Provided Separately?
Do I Need to Integrate the Point Prediction Feature of Pen Kit After the Handwriting Suite Has Been Integrated?
Do I Need to Integrate the Instant Shape Feature of Pen Kit After the Handwriting Suite Has Been Integrated?
Can I Adjust the Prediction Degree of the Point Prediction Feature of Pen Kit?
Why Does the Instant Shape Feature Fail to Recognize a Shape?
About This Kit
Sensor Overview
Sensor Development (ArkTS)
Sensor Development (C/C++)
Vibrator Overview
Vibrator Development (ArkTS)
Vibrator Development (C/C++)
Glossary
About This Kit
Object Tracking Photography Development
Glossary
About the Service
Use Cases
Applying for Integrating Wear Engine Kit
Configuring the Client ID
Querying Connected Wearables
Requesting User Authorization
Querying Wearable Device Information
Selecting a Target Device
App-to-App Message Communications
Querying and Subscribing to Status
Template-based Notifications on Wearables
Obtaining Wearable Device Sensor Data
Managing the Connection Status Between Your App and Wear Engine Kit
Querying Connected Peer Devices
App-to-App Message Communications
Debugging and Verification
If the Project Already Has an App ID, Do I Need to Apply for a New One?
How Do I Obtain the App Fingerprint?
Why Is the User Authorization Screen Not Displayed?
What Can I Do If Error Message "App has not applied for the Wear Engine service" is Reported During an API Call?
Why Is Data Not Reported Immediately After the HR Sensor Is Enabled?
Why Is 0 or 255 Reported by the HR Sensor?
Result code 206 is displayed when the phone is communicating with a lite wearable device
Why Is Error Code 1008500011 Displayed When a File Is Sent from the Phone-Side App to the Wearable-Side App?
Submitting a Ticket Online If You Cannot Find the Answer to Your Question
Personal Data Processing Information
Glossary
About This Kit
Preparations
Integrating AOD Navigation
Glossary
About This Kit
Overview
JS Crash (Process Crash) Detection
C++ Crash (Process Crash) Detection
Address Sanitizer Detection
Application Freeze Detection
Resource Leak Detection
Task Timeout Detection
Application Killed Detection
Page Switch Logs
Power Detection
Performance Detection
Using HiLog (ArkTS)
Using HiLog (C/C++)
Introduction to HiAppEvent
Event Subscription Overview
Event Subscription (ArkTS)
Event Subscription (C/C++)
Crash Event Overview
Subscribing to Crash Events (ArkTS)
Subscribing to Crash Events (C/C++)
Application Freeze Event Overview
Subscribing to Application Freeze Events (ArkTS)
Subscribing to Application Freeze Events (C/C++)
App Freeze Warning Event Overview
Subscribing to App Freeze Warning Events (ArkTS)
Subscribing to App Freeze Warning Events (C/C++)
Resource Leak Event Overview
Subscribing to Resource Leak Events (ArkTS)
Subscribing to Resource Leak Events (C/C++)
Address Sanitizer Event Overview
Subscribing to Address Sanitizer Events (ArkTS)
Subscribing to Address Sanitizer Events (C/C++)
Main Thread Jank Event Overview
Subscribing to Main Thread Jank Events (ArkTS)
Subscribing to Main Thread Jank Events (C/C++)
Task Execution Timeout Event Overview
Subscribing to Task Execution Timeout Events (ArkTS)
Subscribing to Task Execution Timeout Events (C/C++)
Application Killed Event Overview
Subscribing to Application Killed Events (ArkTS)
Subscribing to Application Killed Events (C/C++)
ArkWeb Fling Jank Event Overview
Subscribing to ArkWeb Fling Jank Events (ArkTS)
Introduction to Time-Consuming Launch Events
Subscribing to Time-Consuming Launch Events (ArkTS)
Subscribing to Time-Consuming Launch Events (C/C++)
Introduction to Scrolling Frame Loss Events
Subscribing to Scrolling Frame Loss Events (ArkTS)
Subscribing to Scrolling Frame Loss Events (C/C++)
Introduction to High CPU Load Events
Subscribing to High CPU Load Events (ArkTS)
Introduction to Battery Usage Statistics Events
Subscribing to Battery Usage Statistics Events (ArkTS)
Introduction to Audio Jank Events
Subscribing to Audio Jank Events (ArkTS)
Subscribing to Audio Jank Events (C/C++)
HiAppEvent FAQs
Using FaultLogExtensionAbility to Subscribe to Events
Introduction to HiTraceMeter
Using HiTraceMeter (ArkTS)
Using HiTraceMeter (C/C++)
Viewing HiTraceMeter Logs
Introduction to HiTraceChain
Using HiTraceChain (ArkTS)
Using HiTraceChain (C/C++)
Using HiChecker (ArkTS)
Introduction to HiDebug
Using HiDebug APIs (ArkTS)
Using HiDebug APIs (C/C++)
Using HiCollie to Detect Service Thread Stuck and Jank Events (C/C++)
Using HiCollie to Detect Function Execution Timeout Events (C/C++)
Development of Error Manager
Development of Application Recovery
App Gray-scale Data Collection Overview
Using HiRetrieval for App Gray-Scale Data Collection (ArkTS)
Glossary
Personal Data Processing Statement
About This Kit
JsUnit User Guide
UITest User Guide
PerfTest User Guide
SmartPerf Device User Guide
wukong User Guide
About This Kit
hdc
Ability Assistant
Bundle Manager
Packing Tool
Unpacking Tool
App Check Tool
Common Event Manager
Advanced Notification Manager
Enterprise Device Manager
restool
param
power-shell
Access Token Manager
network-cfg
hilog
hilogtool
hidumper
PrivacyManagerService
hitrace
hiperf
hiprofiler
uinput
Toybox
mediatool
devicedebug
rawheap-translator
js-rawheap-translator
SourceMap Splitter
netcopilot
Binary Sign Tool
Media Development at a Glance
Using HDR Vivid in Media Applications
About This Kit
Audio Focus and Audio Session Overview
Introduction to Audio Focus
Audio Session Management (ArkTS)
Using OHAudio for Audio Session (C/C++)
Audio Playback Development
Choosing the Right Playback Stream Type
(Recommended) Using OHAudio for Audio Playback (C/C++)
Using AudioRenderer for Audio Playback (ArkTS)
Low-Latency Audio Playback (C/C++)
Low-Power Audio Playback
Using AudioHaptic for Audio-Haptic Playback (ArkTS)
Using SoundPlayer for System Sound Effect Playback
Volume Management
Spatial Audio Capability Query and Status Subscription
Audio Playback Stream Management
Audio Recording Development
Choosing the Right Recording Stream Type
(Recommended) Using OHAudio for Audio Recording (C/C++)
Using AudioCapturer for Audio Recording (ArkTS)
Low-Latency Audio Recording (C/C++)
Implementing Background Recording
System Audio Recording Overview and API Selection
Implementing System Audio Recording
Managing Microphone Mute State
Querying and Listening for the Recording Status of Other Applications
Recording Concurrency Strategy Description
Implementing Custom Audio Monitoring
Implementing Low-Latency Audio Monitoring
Querying and Listening for Audio Input Devices
Querying and Listening for Audio Output Devices
Switching Audio Input Devices
Switching Audio Output Devices
Handling Output Device Changes Gracefully
Audio Call Overview
Developing Audio Call
Enhancing Audio Performance Experience
Audio Workgroup Management
Audio Creation Overview (C/C++)
Offline Editing (C/C++)
Real-Time Preview (C/C++)
Audio Format Conversion (C/C++)
Spatial Audio Rendering (C/C++)
Audio Effects (C/C++)
OH_MIDI Overview (C/C++)
Using OH_MIDI for MIDI Development (C/C++)
Switching from OpenSL ES to OHAudio (C/C++)
Using OpenSL ES for Audio Playback (C/C++)
Using OpenSL ES for Audio Recording (C/C++)
Using Audio Snapshots for Troubleshooting
Troubleshooting Silent Playback Issues
Troubleshooting Audio Playback Stuttering and Noise Issues
Troubleshooting Silent Recording Issues
Glossary
About This Kit
AVCodec Supported Formats
Obtaining Supported Codecs
Audio Encoding
Synchronous Audio Encoding
Audio Decoding
Synchronous Audio Decoding
Video Encoding
Synchronous Video Encoding
Temporally Scalable Video Coding
B-Frame Video Encoding
Video Encoding Configurations for Typical Scenarios
ROI Video Encoding
Encoding with One Input and Dual Outputs
Encoding with Preprocessing
Video Decoding
Synchronous Video Decoding
Intelligent Smooth High-Speed Playback Decoding
Video Variable Frame Rate
Introduction to Audio Vivid Capabilities
Audio Vivid Demultiplexing
Audio Vivid Decoding
Audio Vivid Encoding
Audio Vivid Playback
HDR Vivid Video Playback
HDR Vivid Video Recording
Converting HDR Vivid to SDR Videos
Media Data Multiplexing
Media Data Demultiplexing
Decoded Video Playback Control in Surface Mode
A/V Synchronization
Rendering Video Frames
HDR Vivid Video Playback and Recording
HDR Vivid-to-SDR Video Transcoding
Video Transcoding in Buffer Mode
Video Encoding in Surface Mode
Concurrently Creating a Video Decoder and Initializing NativeWindow
Video Codec Width, Height, Stride, and Crop Information
About This Kit
Local AVSession Overview
AVSession Provider (ArkTS)
AVSession Provider (C/C++)
Accessing AVSession
Background Playback
Integrating the Lyrics Component
AVSession Controller
Switching Call Devices Using Components
Introduction to Playback Control
AVCastPicker Development
Extended Screen Casting Development
Checklist for Playback Control Access
Basic Playback Controls
Quick Playback
Audio/Video Casting
Audio Recommendations
Customizing the Display Layout of Control Buttons in the Media Controller
Using the Audio Template
Local Media Session FAQs
Common FAQs About Distributed Media Sessions
FAQs About Using AVCastPicker
FAQs About Using AVCastPickerHelper APIs
Glossary
About This Kit
Requesting Camera Development Permissions
Camera Device Management (ArkTS)
Device Input Management (ArkTS)
Camera Session Management (ArkTS)
Using the System Camera to Take Photos and Record Videos (CameraPicker)
Preview (ArkTS)
Dual-Channel Preview (ArkTS)
Photo Capture (ArkTS)
Photo Capture Practices (ArkTS)
Video Recording (ArkTS)
Video Recording Practices (ArkTS)
Metadata (ArkTS)
Using the Flashlight (ArkTS)
Adapting Camera Changes in Different Fold States (ArkTS)
Deferred Photo Delivery (ArkTS)
Deferred Photo Delivery Practices (ArkTS)
Moving Photos (ArkTS)
Basic Camera Animation (ArkTS)
Using the Camera in the Worker Thread (ArkTS)
Practices for Camera Recovery from the Background (ArkTS)
Practices for Automatic Camera Switching (ArkTS)
White Balance Settings (ArkTS)
Pressure Management (ArkTS)
Camera Controller (ArkTS)
Macro Photography Settings (ArkTS)
Multi-Camera Concurrent Mode (ArkTS)
YUV Photo Capture (ArkTS)
Focus (ArkTS)
Adjusting Camera Rotation Angles (ArkTS)
Understanding Camera Rotation Terminology
Secure Mode Camera (ArkTS)
Dynamically Adjusting the Preview Frame Rate (ArkTS)
Using Camera Preconfiguration (ArkTS)
HDR Vivid Photo Capture (ArkTS)
HDR Vivid Camera Recording (ArkTS)
Solution to Screen Artifacts During Camera Preview
Camera Device Management (C/C++)
Device Input Management (C/C++)
Camera Session Management (C/C++)
Preview (C/C++)
Secondary Processing of Preview Streams (C/C++)
Photo Capture (C/C++)
Photo Capture Practices (C/C++)
Deferred Photo Delivery (C/C++)
Video Recording (C/C++)
Video Recording Practices (C/C++)
Camera Metadata (C/C++)
Using the Flashlight (C++)
Pressure Management (C/C++)
Macro Photography Settings (C/C++)
Multi-Camera Concurrent Mode (C/C++)
YUV Photo Capture (C/C++)
Focus (C/C++)
Adjusting Camera Rotation Angles (C/C++)
Understanding Camera Rotation Terminology
Dynamically Adjusting the Preview Frame Rate (C/C++)
Using Camera Preconfiguration (C/C++)
Camera API Call Sequence Issues
Camera Preview Stream Startup Issues
Session Configuration Issues
Camera Preview Rotation Issues
White Balance Issues
Color Space Configuration Issues
Glossary
About This Kit
DRM Development (ArkTS)
DRM Development (C/C++)
DRM Playback with AVPlayer (ArkTS)
DRM Playback with AVCodec (C/C++)
About This Kit
Using ImageSource to Decode Images
Using ImageSource to Decode Pictures
Image Decoding Memory Optimization (ArkTS)
Image Region Decoding and Downsampling (ArkTS)
Using ImageSource to Obtain RAW Data
Using ImagePacker to Encode Images
Using ImagePacker to Encode Pictures
Using PixelMap to Transform Images
Using PixelMap for PixelMap Operations
Using VideoProcessingEngine to Upscale Images
Reading and Editing Image Exif Data
Reading and Editing Image XMP Metadata
Using ImageSource to Obtain Specific Metadata
Using ImageReceiver to Receive Images
Using Image_NativeModule to Decode Images
Using Image_NativeModule to Decode Pictures
Image Decoding Memory Optimization (C/C++)
Image Region Decoding and Downsampling (C/C++)
Using Image_NativeModule to Decode Animated Images
Using Image_NativeModule to Decode HDR Images
Using Image_NativeModule to Encode Images
Using Image_NativeModule to Encode Pictures
Using Image_NativeModule for PixelMap Operations
Using ImageEffect to Edit Images
Scaling Images
Dynamic Metadata Generation for Images
Color Space Conversion for Images
Converting HDR Images from Single-Layer to Dual-Layer
Converting HDR Images from Dual-Layer to Single-Layer
Using Image_NativeModule to Read and Edit Image Exif Data
Using Image_NativeModule to Receive Images
Handling HEIF Images
Obtaining the Rotation Angle of an Image
Image Kit Exception Handling
Common Crash and Error Issues
Image Decoding
Image Encoding
Image Transformation
PixelMap Operation
Image Receiving
Glossary
About This Kit
Using AVPlayer to Play Audio (ArkTS)
Using AVPlayer to Play Videos (ArkTS)
Using AVPlayer to Set Playback URLs (ArkTS)
Using AVPlayer to Play Streaming Media (ArkTS)
Using AVPlayer to Add External Subtitles to Videos (ArkTS)
Using SoundPool to Play Short Sounds (ArkTS)
Using AVRecorder to Record Audio (ArkTS)
Using AVRecorder to Record Videos (ArkTS)
Using AVScreenCaptureRecorder to Record Screens and Write Them to Files (ArkTS)
Using AVMetadataExtractor to Extract Audio and Video Metadata (ArkTS)
Using AVImageGenerator to Extract Video Images at a Specified Time (ArkTS)
Using AVTranscoder to Transcode Videos (ArkTS)
Creating an Asynchronous Thread for AVTranscoder Video Transcoding (ArkTS)
Transcoding FAQs
Long-Form Video Playback with AVPlayer
Short-Form Video Playback with AVPlayer
Embedded Short-Form Video Playback with AVPlayer
Online Video Playback with AVPlayer
Minimizing Stuttering in Online Video Playback
Obtaining Video Thumbnails Using System Capabilities
Screen Recording Based on AVScreenCapture (ArkTS)
Using AVPlayer to Play Audio (C/C++)
Using AVPlayer to Play Videos (C/C++)
Using AVPlayer to Play Streaming Media (C/C++)
Using LPP to Play Videos (C/C++)
Using AVRecorder to Record Audio (C/C++)
Using AVRecorder to Record Videos (C/C++)
Using AVScreenCapture in Basic Scenarios
Using AVScreenCapture in Custom Scenarios
Screen Capture FAQs
Using AVScreenCapture to Capture Screens and Write Them to Files (C/C++)
Using AVScreenCapture to Capture Window-Level Screen (C/C++)
Capturing the Specified Area on a Screen
Using AVMetadataExtractor to Obtain Metadata (C/C++)
Using AVImageGenerator to Obtain Video Frames (C/C++)
Using AVTranscoder to Transcode Videos (C/C++)
Video Scaling
Video Dynamic Metadata Generation
Video Color Space Conversion
Screen Recording Based on AVScreenCapture (C/C++)
Glossary
About This Kit
Selecting Media Assets Using Picker
Saving Media Assets
Accessing Images/Videos Using PhotoPickerComponent
Accessing Albums Using AlbumPickerComponent
Obtaining the Latest Image/Video Using RecentPhotoComponent
Using PickerController to Replace Original Images with Edited Images
Recommending Images Using the Photo Picker
Accessing and Managing Moving Photos
Playing Moving Photos with MovingPhotoView
Inheriting Media File Access Permissions After Device Upgrade
Before You Start
Managing Media Assets
Managing User Albums
Managing System Albums
Observing Media Assets
Requesting Media Assets Using MediaAssetManager (C/C++)
Obtaining and Storing Images
How to Properly Manage Media Assets
How to Correctly Identify Media Asset Types
Geolocation Information Is Missing from Images
How to Properly Handle High-Resolution Images
Glossary
About This Kit
Setting a Ringtone
About This Kit
Getting Started
Scan-to-Access Capability
Barcode Scan by Default UI
Barcode Scanning by Custom UI
Scanning Barcodes in a Saved Image
Recognizing Barcodes in Image Data
Generating a Barcode Image from Text
Generating a Barcode Image from a Byte Array
How Do I Add a Quick Entry for the Scan-to-Access Service?
Failed to Open the Target Page Through Scan-to-Access
Scan Kit Cannot Recognize Multiple Barcodes at a Time
Device Types in Uploaded Package Inconsistent with Declared Device Types During Package Upload
Multi-Barcode Scanning Failed During Gallery-based Barcode Scanning by Default UI
1D Code Recognition Failure
Recognized Coordinate Information of a 1D Code Is Empty
Scanning Preview Image on Custom UI Stretched
Black Screen Occurred on the Custom Scanning UI
How Do I Scan Barcodes Continuously on the Custom Scanning UI?
Failure to Recognize a Barcode Image Generated from a Byte Array
How Do I Determine Whether Scanning is Canceled on the Default Scanning UI?
How Do I Integrate Scan Kit for HTML5
How Do I Implement Zoom Ratio Change Through Gestures?
How Do I Implement the Barcode Scanning Box on a Custom UI?
Experience Design Problem on the Default/Custom Barcode Scanning UI
How Do I Implement the Retry Mechanism for Barcode Scanning by Custom UI?
App Occasionally Exits When a User Attempts to Recognize a Barcode from a Saved Image on the Custom Barcode Scanning UI
How Do I Set the Background Color of a Barcode Image to Transparent?
Glossary
Personal Data Processing Information
About This Kit
Preparations
Introduction
Managing AR Sessions (ArkTS)
Managing AR Sessions (C/C++)
Introduction
Obtaining the Device Pose (ArkTS)
Obtaining the Device Pose (C/C++)
Introduction
Detecting Planes in the Environment (ArkTS)
Detecting Planes in the Environment (C/C++)
Introduction
Placing Objects (ArkTS)
Placing Objects (C/C++)
Introduction
Recognizing Plane Semantics (ArkTS)
Recognizing Plane Semantics (C/C++)
Introduction
Recognizing the Target Shape (C/C++)
Introduction
Obtaining Mesh Scanning Information (ArkTS)
Obtaining Mesh Scanning Information (C/C++)
Introduction
Obtaining Depth Estimation Information (ArkTS)
Obtaining the Depth Image (C/C++)
Introduction
High-Precision Geometric Reconstruction (ArkTS)
High-Precision Geometric Reconstruction (C/C++)
Introduction
Human Body Tracking and Skeleton Keypoint Recognition (ArkTS)
Human Body Tracking and Skeleton Keypoint Recognition (C/C++)
Introduction
Face Tracking (ArkTS)
Face Tracking (C/C++)
Introduction
Image Tracking (ArkTS)
Image Tracking (C/C++)
Error Message "plane is nullptr!" Is Reported with the Error Code 401 When I Attempt to Obtain the 2D Vertex Coordinate Array of the Detected Plane
When the Camera Is Blocked for a Period of Time and Then Uncovered, the Output Pose Changes Dramatically
Unable to Recognize Planes in Scenarios with Reflections, Dim Lights, or Weak Textures (Where There Is Little Color Variation in the Input Images)
The Plane Drifts or Pose Data Changes Abruptly in Certain Special Scenarios (Such as When a Strong Magnetic Field Is Nearby, the Phone Is Overheated, or When Duplicate Textures Are Scanned)
Data Type Conversion
Glossary
Personal Data Processing Information
Appendix
About This Kit
Introduction to Variable Frame Rates
Requesting Frame Rates for Animations
Requesting Frame Rates for UI Components
Requesting Frame Rates for Custom Content
Native DisplaySoloist Development (C/C++)
Overdraw Debugging
Overview of Graphics Drawing and Display
Obtaining a Canvas and Displaying Drawing Results (ArkTS)
Obtaining a Canvas and Displaying Drawing Results (C/C++)
Canvas Operations and State Processing (ArkTS)
Canvas Operations and State Processing (C/C++)
Overview of Drawing Effects
Basic Drawing Effects (ArkTS)
Complex Drawing Effects (ArkTS)
Basic Drawing Effects (C/C++)
Complex Drawing Effects (C/C++)
Drawing Primitives
Drawing Geometric Shapes (ArkTS)
Drawing Images (ArkTS)
Drawing TextBlobs (ArkTS)
Drawing Geometric Shapes (C/C++)
Drawing Images (C/C++)
Drawing TextBlobs (C/C++)
Introduction to Text Development
Using Theme Fonts (ArkTS)
Registering and Using Custom Fonts (ArkTS)
Obtaining and Using System Fonts (ArkTS)
Using Theme Fonts (C/C++)
Registering and Using Custom Fonts (C/C++)
Obtaining and Using System Fonts (C/C++)
Text Measurement (ArkTS)
Text Measurement (C/C++)
Drawing and Displaying Simple Text (ArkTS)
Drawing and Displaying Complex Text (ArkTS)
Drawing and Displaying Custom Text (ArkTS)
Drawing and Displaying Simple Text (C/C++)
Drawing and Displaying Complex Text (C/C++)
Drawing and Displaying Custom Text (C/C++)
Text Development FAQs
Adding Image Effects (C/C++)
NativeVSync Development (C/C++)
NativeBuffer Development (C/C++)
NativeImage Development (C/C++)
NativeWindow Development (C/C++)
GPU/CPU Memory Access Sync (C/C++)
Common Stability Issues with Graphics Buffers (C/C++)
Glossary
About This Kit
Setting Up and Managing Scenes
Creating and Using Material Resources
Creating and Using Image Resources
Creating and Using Environment Resources
Requirements on the .shader File Format
Controlling and Managing Scene Animations
Downloading and Installing the ArkGraphics Editor Plugin and Editor
About This Kit
Overview
Overview
OpenGL ES
Vulkan
Overview
OpenGL ES
Vulkan
Overview
OpenGL ES
Vulkan
Overview
OpenGL ES
Vulkan
Overview
Vulkan
Developing the ABR Capability
Developing the OpenGTX Capability
Overview
Development Preparations
Extension-Initiated System-Managed Download
Extension-Initiated Coordinated Download
Asset Download in the App Foreground
Asset Download Switching from the System Background to the App Foreground
Releasing an Asset Download Task
Viewing Asset Distribution Data
Development Preparations
Overview
Second-level Launch
Overview
Implementing Game Pre-launch
Development Preparations
Implementing the Game Buddy Service
What Are the Graphics APIs Supported by the Frame Generation and ABR Capabilities?
What Types of Devices Does This Kit Support?
What Are the Possible Causes of Serious Blurring Artifacts on the Edges of Moving Objects After the Extrapolation Mode of Frame Generation Is Enabled?
What Kinds of Buffers Are Suitable for the ABR Capability?
What Can I Do if the Rendering Effect of Other Passes Becomes Abnormal After the Buffer Resolution Is Adapted by the ABR Capability?
What Can I Do if the Native Texture Content Obtained from the Game Engine Is Empty After the ABR Capability Is Integrated?
What Types of Asset Formats Are Supported for Upload to Huawei CDNs?
What Can I Do If the Download Functions Do Not Take Effect Because the Component Type Is Not Configured for the Integrated Game Asset Acceleration ExtensionAbility?
What Can I Do If the Download Functions Do Not Take Effect Because the Network Permission Is Not Configured for the Integrated Game Asset Acceleration ExtensionAbility?
Why Do the Static Variables Used in Asset Acceleration ExtensionAbility Methods Not Take Effect?
How Do I Parse XML Files Corresponding to manifestUrl in the Huawei CDN Scenario?
Can I Only Access the Download ExtensionAbility Without Rewriting the Download Logic or Middleware in the Game Engine?
How Do I Use a Specified Test Device for Local Testing After Integrating the Asset Background Download Functions?
Is It Possible to Stop a Released Download Task, for Example, When I Encounter Issues with Assets?
Can I Apply for a Continuous Task for Seamless Game Running and Asset Download After the App Switches from the Foreground to the Background?
How Do I Integrate the Asset Background Download Functions If I Use Unity Addressables in My Game?
How Do I Avoid Full-Screen Incoming Call Notification for My Game Launched by Loading a Memory Snapshot?
What Can I Do If Vibration Occurs During Scene Switching After a User Swipes Up to Exit the Game?
What Can I Do If Third-Party SDK Functions Are Abnormal in a Game Launched from a Memory Snapshot?
What Can I Do If a Black Screen Is Displayed When the Game Calls UnityEngine.Application.Quit to Exit Through a Side Swipe?
What Can I Do If the Error Message "BusinessError: The Worker instance is not running, maybe worker is terminated when PostMessage" Is Frequently Recorded in Logs?
What Can I Do to Avoid Game Freezing upon Next Fast Launch if the Game Freezes Previously?
What Can I Do If an Error Similar to "UIContent is nullptr" Occurs After Second-Level Game Launch, Causing Sign-in and Other Exceptions?
What Can I Do If My Game Is Rejected for Failing to Implement Anti-addiction Reminders?
What Can I Do If the Splash Screen and the Resumed Game Audio Are Out of Sync During Second-Level Game Launch?
What Can I Do If My Game Cannot Perform Hot Updates After Second-Level Game Launch Is Enabled?
What Should I Do If an Exception Occurs When the Game Launch Acceleration API Is Called on a Tablet Running Tuanjie Engine 1.8.1 to 1.9.0?
What Should I Do If the Game Screenshot Callback Does Not Return a File Descriptor?
Glossary
About This Kit
Loading a 3DGS Model
Adding a Filter Effect
Reconstructing a 3D Scene (C/C++)
Managing Spatial Recon Kit Sessions
Glossary
About This Kit
Preparations
GPU Spatial Upscaling
AI Temporal Upscaling
AI Spatial Upscaling
Adaptive VRS
Subpass Shading
Ray-Traced Reflections
Ray-Traced Shadow and Ambient Occlusion
Ray-Traced Global Illumination
Control-Display Separation
High-Performance GPU Sorting
What Can I Do If an Extension Instance Fails to Be Created?
Can I Use Upscaling and Adaptive VRS Features at the Same Time?
Adaptive VRS Depth Attachment Instructions
Glossary
About This Kit
Management Rules for Using the Sign-in Capability of Account Kit
Requesting Scopes
Configuring Signing Information and Adding a Fingerprint
Configuring the Client ID
Overview
Signing In with HUAWEI ID Through Just One Tap (Obtaining the Mobile Number, UnionID, and OpenID)
Signing In with the HUAWEI ID Sign-In Button
Signing In with a Custom Button
Silently Signing In
Signing In After Authorization by QR Code Scanning
Overview
Obtaining the Avatar and Nickname
Obtaining the Mobile Number
Obtaining the Shipping Address
Obtaining the Invoice Title
Overview
Obtaining a User's Risk Level Through One-Tap HUAWEI ID Sign-in
Obtaining a User's Risk Level Through Other Ways for HUAWEI ID Sign-in
Obtaining the Real-Name Age Group
Overview
Following the Device's Youth Mode Status
Enabling the Youth Mode Within an App
(Recommended) Disabling the App's Youth Mode
Disabling the Device's Youth Mode
Adjusting Youth Mode Settings
Notification Events
1001500001 Fingerprint Certificate Verification Failure
1001502014 Necessary Scopes Not Requested
What Should I Do If the Anonymous Mobile Number Cannot Be Obtained in the One-Tap Sign-In Scenario?
What Should I Do If the Plaintext Mobile Number Cannot Be Obtained in the One-Tap Sign-In Scenario?
In the One-Tap Sign-In Scenario Where the App Displays the One-Tap Sign-In Screen, What Should the App Proceed If the User Signs Out of the HUAWEI ID or Switches to Another HUAWEI ID on the Device?
Is the UnionID/OpenID of a HUAWEI ID User or the Mobile Number Used as Their Unique Identifier During One-Tap Sign-In with a HUAWEI ID?
How to Exchange User Data Between HarmonyOS APK Apps and HarmonyOS NEXT Apps in the One-Tap Sign-In Scenario?
What Should I Do If the Avatar and Nickname Cannot Be Obtained?
Formats of OpenID and UnionID
What Are the Validity Periods of Access Token and Refresh Token?
What Are the Length Limits of Access Token and Refresh Token?
When and How Can I Use the ID Token?
What Can I Do If USB Debugging Is Unavailable After the Youth Mode Is Enabled?
Upon Receiving a Notification That the Device's Youth Mode Is Enabled, What Actions Should the App Take?
Integrating One-Tap HUAWEI ID Sign-In Using a Third-Party Development Framework
401 Parameter Check Failure
60180007 What Should I Do If the Server Cannot Obtain the One-tap Sign-in Mobile Number of a HUAWEI ID Through the Authorization Code?
1001502003 Invalid Input Parameter Value
Glossary
Personal Data Processing Information
Supported Countries/Regions
About This Kit
Glossary
Preparations
Overview
Banner Ads
Native Ads
Rewarded Ads
Interstitial Ads
Splash Ads
Roll Ads
Real-Time Bidding
Why Is a White Screen Displayed When an Ad Is Displayed?
What Are the Restrictions on Petal Publisher Center?
Why Is Error Code 801 Returned When a PC Requests or Displays an Ad?
OAID Service
Personal Data Processing Information
About This Kit
Overview
Integration Process
Enabling Relevant Services and Setting Parameters
Configuring an App
About Digital Products
Configuring Digital Products in AppGallery Connect
Configuring Digital Products Through the Server API
Displaying Digital Products
Purchasing Digital Products
Delivering Digital Products
Testing the Digital Product Service
Adding an Atomic Service Widget to the Home Screen
Displaying the App Details Page
Adding a Shortcut to the Home Screen
Querying an App Shortcut
Deleting an App Shortcut
On-Demand Feature Distribution (ArkTS)
On-Demand Feature Distribution (C/C++)
Ecosystem Query Service
Update on AppGallery
Development Overview
Registering an Enterprise Account
Managing Attribution Roles
Standard Conversion Events
Custom Conversion Events
Managing Attribution Policies
Registering Attribution Sources and Conversion Events
Posting Back the Attribution Result
Performing Debugging
Privacy Agreement Management Service
Dynamically Managing App Icons Through AppGallery Connect
Dynamically Switching App Icons
App Review Service
Can I Configure Multiple Callback URLs for Key Subscription Events in AppGallery Connect?
What Is the Maximum Length of the IAP Public Key Obtained in AppGallery Connect? Is There a Recommended Length?
I Try Adding a Product on the Product Management Page in AppGallery Connect, and See a Default Price When Setting My Product Price. What Is the Default Price Used for?
If I Manually Change an In-App Product's Price for a Specific Country/Region in AppGallery Connect, Will It Still Adjust with Future Exchange Rate Changes?
Has AppGallery Connect Made Any Numerical Adjustments to the Price Displayed on the Product Management Page, for Example, Changing the Second Decimal Place of a Price to 6 or 9 According to Relevant Rules?
Is the SHA-256 Certificate Mandatory for Signature Verification?
Can Signature Verification Be Performed Entirely on the Server Side?
Is There Only One UI Design for the Payment Screen?
Can the ID of a Deleted Product Be Used Again for a New Product?
How Many Certificates Are Supported by the Digital Product Server?
What Cipher Suites Are Supported by the Digital Product Server?
What Order Statuses Are Supported by the Digital Product Service?
What Are the Rules for Renewal Periods of a Subscription?
Does a One-Month Subscription Renewal Period Refer to 30 Days, 31 Days, or a Calendar Month? Similarly, How Many Days Are Included in Two Months and Three Months?
Does February Have 28 or 29 Days When the Subscription Period Is Calculated by Calendar Month?
Why Does an Atomic Service Widget Fail to Be Displayed on AppGallery?
Why Do the Dynamic Modules Fail to Be Loaded in the On-Demand Loading Scenario?
Can the Module Loaded on Demand Be Released or Updated on AppGallery Separately?
If the App Restarts After a Module Is Loaded, Does the Module Remain Loaded? Is It Necessary to Re-initiate an On-Demand Loading Request?
In the On-Demand Loading Scenario, Can a User Uninstall a Specified Module That Has Been Loaded and Initiate a Request Again?
Is Synchronous Loading of Dependencies Supported in On-Demand Loading Scenarios?
Does the On-Demand Loading Scenario Support Multiple Tasks at the Same Time?
If an App Is Updated on AppGallery After On-Demand Loading Succeeds, Does On-Demand Loading Need to Be Triggered Again?
Why Does Redirection to a Dynamic Module Page Fail After On-Demand Loading Succeeds?
How Can I Quickly Debug the On-Demand Feature Distribution Function in My App When It Has Not Been Released on AppGallery?
Why Is the Scene Value Obtained Through the Ecosystem Query Service Empty?
Why Does the Update on AppGallery Feature Throw an Exception Indicating that the App Is Not Running in the Foreground?
Can I Customize the Content in the App Update Pop-up Displayed to Users?
Why Does an Identity Verification Error Occur When I Call the Attribution Source Registration API of the App Attribution Service?
How Do I Obtain Logs of the App Attribution Service Through Filtering?
How Do I Filter Logs Recording the Addition of App Shortcuts to the Home Screen?
What Can I Do If Error Code 401 Is Returned When an App Shortcut Is Added to the Home Screen?
Standard Conversion Events and App Attribution Signatures
Supported Countries/Regions
Scene Values
Glossary
About This Kit
Making Preparations
Enabling App Linking
Starting an App Using the App Link Capability of App Linking
Redirecting to an App Download Page Through Direct Access to AppGallery
Redirecting to an App Details Page Using the Deferred Link Capability
Redirecting to an App in a Specified Way Using the Cross-Platform Link Capability
Glossary
About This Kit
Calendar Management
Event Management
Registering and Managing One-Tap Services for Calendar Events
Calendar Service Best Practices
About This Kit
Preparations
Incoming Call
Outgoing Call
Displaying Enterprise Contact Information on the Incoming or Outgoing Call Screen
Displaying Enterprise Service Information on the Incoming or Outgoing Call Screen
Redirecting to the Unknown Number and Information Identification Page
Why Is the Notification Banner Not Displayed?
Why Is the Profile Picture Not Displayed in the Notification Banner?
About This Kit
Making Preparations
Enabling Cloud Functions
Enabling Cloud DB
Enabling Cloud Storage
Node.js
Creating a Function
Testing a Function
Calling a Function
Adding an Object Type
Adding a Cloud DB Zone
Importing an Object Type File
Initializing Database Access
Querying Data
Writing Data
Deleting Data
Setting Configuration Items of Cloud Storage
Initializing the Global App Context
Initializing a Storage Instance
Uploading a Specified File to the Cloud
Downloading a File from the Cloud to a Local Path
Obtaining the Download URL of a Cloud File
Deleting a Cloud File
Obtaining the Cloud File List
Obtaining Metadata of a Cloud File
Setting Metadata of a Cloud File
Debugging on the Emulator
Why Is "404:Product does not exist" Displayed When a File Fails to Be Uploaded Using Cloud Storage?
Why Does the App Log Display ""state":65" and the Upload Process Log Display "403 Forbidden" When a File Fails to Be Uploaded Using Cloud Storage?
What Can I Do If an API of Cloud Storage Fails to Be Called, the App Log Displays ""state":65", and the Upload Process Log Displays "404 Not Found"?
Glossary
Personal Data Processing Information
Supported Countries/Regions
About This Kit
Using the Picker for Contact Management
About This Kit
Preparations
File Exfiltration Control
Workspace Management
Workspace Configuration
Subscribing to Workspace Events
Process Access Restriction
Deep Freeze Policy
Enterprise Account Authentication
Cross-Workspace Message Notification
FAQs
Glossary
About This Kit
Moving a File to the Recycle Bin
Obtaining a File Icon
Parsing a File Shortcut
Glossary
About This Kit
Listening for Device Online/Offline Events (C/C++)
Listening for Gamepad Axis and Button Events (C/C++)
Glossary
About This Kit
Overview
Overview
(Mandatory) Sign-In with a HUAWEI ID
Sign-In with an Official Game Account
Standalone Game Sign-In
Pre-release Check
Overview
Preparations
(Mandatory) Mini Game Sign-In
Payment in Mini Games
Glossary
Overview
Preparations
Development Procedure (ArkTS)
Development Procedure (C/C++)
Glossary
Overview
Preparations
Transferring Resource Packages
Transferring Installation Packages
Glossary
Personal Data Processing Information
Can I Skip App ID Mapping If My Game Does Not Have a Package for HarmonyOS 4 and Earlier?
What Is the Size Limit for Official Game Account Icons?
How Do I Hide the Official Account Sign-In Option on the Game Sign-In Screen?
What Should a Player Do If They Choose an Incorrect Sign-In Account?
Can I Integrate Game Scene Perception into Games Developed Through C# Programming?
Configuring a Callback Address
Obtaining the Game Key
About This Kit
Integration Process
Qualification Requirements for Developers
Open Data Overview
Applying for Health Service Kit
Configuring the Client ID
Launching HUAWEI Health for Users to Agree to the Privacy Statement
Managing User Authorization
Managing Data Sources
Health and Fitness Sample Data
Workout Records
Health Records
Real-Time Activity Rings Data
Manually Synchronizing Data
Managing User Authorization
Reading Health and Fitness Sample Data
Reading Workout Records
Reading Health Records
Real-Time Activity Rings Data
Managing User Authorization
Managing Workout Linkage
Overview
Permission Description
Daily Activities
Heart Rate
SpO2
Stress
Body Temperature
Blood Pressure
Weight
Height
Emotion
Heart Rate Variability
Overview
Running
Walking
Cycling
Jump Rope
Expedition
Basketball
Skiing
Apnea Testing in Diving
Apnea Training in Diving
Diving
Elliptical Machine
Golf
Mountain Hiking
Swimming
Rowing Machine
Others
Sleep
Menstrual Cycle
Applying for Formal Scopes
FAQs About Health Service Kit
Glossary
Personal Data Processing Information
Specifications for Using Logos
About This Kit
Requirements and Restrictions on IAP Kit Integration
(Optional) Using the IAP Kit Integration Skill
Getting Started
Enabling Merchant Service
Creating a Project and App
Enabling and Activating IAP Kit
(Optional) Requesting the Embedded Checkout Open Capability
(Optional) Setting Necessary Parameters
Configuring Products
Configuring Signing Information
Configuring App Identity Information
Implementing the Purchase Process
Delivering a Consumable/Non-consumable Product
Understanding Auto-renewable Subscriptions
Implementing the Purchase Process
Delivering an Auto-renewable Subscription Product
Implementing the Purchase Process
Delivering a Non-renewable Subscription Product
Sandbox Testing
Benefit Analysis and Reports
Refunding
Issuing an Invoice
Can I Set Multiple Addresses for Receiving Key Events in AppGallery Connect?
What Is the Maximum Length of the IAP Public Key Obtained in AppGallery Connect? Is There a Recommended Length?
I Try Adding a Product on the Product Management Page in AppGallery Connect, and See a Default Price When Setting My Product Price. What's the Default Price Used for?
If the Price of an In-App Product in a Country/Region Is Changed in AppGallery Connect, Will the Price Be Affected When the Exchange Rate Changes Later?
Has AppGallery Connect Made Any Numerical Adjustments to the Price Display on the Product Management Page? For Example, Has It Adjusted the Second Decimal Place to 6 or 9?
Is the SHA-256 Certificate Mandatory for Signature Verification?
Can Signature Verification Be Performed Entirely on the Server Side?
Can the ID of a Deleted Product Be Used Again for a New Product?
What Certificates Are Supported by the Huawei IAP Server?
What Cipher Suites Are Supported by the Huawei IAP Server?
How Do I Fix the Error of an Incomplete Certificate Chain?
When an App Calls createPurchase to Launch the IAP Kit's Checkout Screen from a Child Window, the Child Window Will Be Hidden. Is This Normal?
Why Am I Asked for Real Payment When Testing in the Sandbox Environment?
Can I Use the Same API Key for a HarmonyOS Atomic Service and a HarmonyOS App?
What Are the Maximum Lengths of purchaseToken and purchaseOrderId?
What Are subGroupId (Subscription Group ID), subGroupGenerationId (Subscription Group Generation ID), and subscriptionId (Subscription ID)?
How to Handle and Use developerPayload?
How to Troubleshoot JWT Signature Verification Failures After App Migration?
How to Calculate the Validity Period for New Subscriptions upon Immediate Switch of Auto-Renewable Subscriptions?
Glossary
Global Coverage of IAP Kit
About This Kit
Live View Design Specifications
Basic Preparations
Enabling Push Kit
Setting the Data Processing Location
Enabling Live View Kit
Performing Debugging
Applying for the Formal Permission on Live View Kit
Precautions
Creating a Local Live View
Updating a Live View Through Push Kit
Frequency Control for Live View Updates
Third-Party Development Framework Access
Live View Lifecycle
Live View Template Use
Restrictions on the Number of Live Views
Glossary
Introduction to Location Kit
Applying for Location Permissions
Obtaining Device Location Information (ArkTS)
Obtaining Device Location Information (C/C++)
Geocoding and Reverse Geocoding
Geofence Development
Introduction to Geofencing
On-Device GNSS Geofence Development
Personal Data Processing Statement
Samples
Appendix
About This Kit
Preparations
Displaying a Map
Changing the Map Type
Showing My Location
Displaying a Custom Map
Control Interaction
Gesture Interaction
Event Interaction
Map Location Change
Map Screenshot
Marker
MapPolyline
Signal Line
MapArc
MapPolygon
MapCircle
PointAnnotation
Bubble
ClusterOverlay
ImageOverlay
BuildingOverlay
TraceOverlay
Setting the Layering Order of Map Elements
TileOverlay
Heatmap
MvtOverlay
FlowFieldOverlay
MassPointOverlay
POI Search
Geocoding
Travel Route Planning
Batch Route Computation
Trajectory-based Road Snapping
Static Map
Place Details Display
Location Selection
Administrative Division Selection
Navigation and Other Capabilities Provided by the Map App
Offline Map
Coordinate Rectification
Distance Calculation
Map Not Displayed
How to Obtain siteId?
Gestures Freeze or Do Not Work
Configuring the Persistent Display of the Map Logo
Effective Scope of Scenario-based Controls' language Parameter
Personal Data Processing Information
Preparations Before Release - Obtaining the Map Service Agreement and Qualification Certificate
Map Data Copyright Statement
Supported Languages
Supported Countries/Regions
Glossary
About This Kit
Requesting Notification Authorization
Managing the Notification Badge
Managing Notification Slots
Publishing a Text Notification
Publishing a Progress Notification
Adding a Custom Ringtone to a Notification
Adding a WantAgent Object to a Notification
Updating a Notification
Canceling a Notification
Cross-Device Notification Overview
Clearing Repeated Notifications Across Devices
Introduction to NotificationSubscriberExtensionAbility
Developing the ExtensionAbility for Notification Subscription
Glossary
Applying for Priority Notification Entitlement
Developing a Shortcut to In-App Notification Settings
About This Kit
Integration Specifications
Skill Integration Description
Checkout Screen Design Specifications
Registering a Merchant and Obtaining the Merchant ID
(Optional) Configuration in Specific Scenarios
Enabling Payment Kit
Binding a Merchant ID to an App ID
Preparing the Certificates
On-Device App Configuration
Cloud Service Preparation
(Optional) Preparing for e-CNY Payment Integration
(Optional) Preparing for Integrating the User Identity Verification Service
Basic Payment Scenario
Combined Payment for Platform Merchants
PIN-free Payment Description
Payment with Contract Signing Scenario
Contracted Auto-Debit Scenario
e-CNY Payment Scenario
Service Rule Description
Mixed Payment Scenario
External Payment Scenario
Based on URL Redirection
Based on the API
Third-Party Payment Troubleshooting
Scenario of Guiding Users to Bind Cards
Real-Name Information Verification/Authorization Scenario
Face-based Identity Verification Scenario
Viewing Call Records of the Identity Verification Service
Sandbox Environment Verification
Merchant Coupon Scenario
Coupon Claiming Scenario
Coupon Selection Scenario
Glossary
Service and Support
In Which Scenarios Are Request Parameter Signing and Result Signature Verification Used During Integration Development?
How Can I Obtain the Public/Private Key Pair for Signing of Payment Kit?
Who Is the bodySign of a GET Request Signed For?
What Should I Do If the Checkout Screen Does Not Respond or An Error Is Reported?
Why Is No Callback Received After Successful Payment?
Will Multiple Signed Contracts Be Generated If a User Signs a Contract Repeatedly?
Where Can the PIN-free Payment Contract Signed in Huawei Pay Be Terminated?
Why Is SHA256 Used for Signature Verification of the Pre-Ordering Request, But SM2 Is Used for Signature Verification of the Payment Callback? Can Only SM2 Be Used for Signature Verification?
What Should I Do If an Error Indicating Invalid Signature Is Reported in the API Response?
What Should I Do If the Checkout Screen Displays an Error Message Indicating Service Unavailability and Asking Me to Try Again Later?
What Should I Do If an Error Indicating Abnormal Transaction Order Status Is Reported for the Pre-ordering Request?
Can prepayId Be Queried Through an API If the Payment Is Made in a Period of Time After Pre-ordering?
Can the callbackUrl Parameter in Some APIs that Provide Notification Callback Be Customized? Can a Merchant Customize the Callback Notification Packet?
What Can I Do If Multiple Callback Notifications Are Received for the Same Payment Request?
Does the Callback Notification API Provided by the Merchant Need to Be Added to the Network Trustlist in the Payment Kit Production Environment? How Do I Verify That the Provided Callback URL Can Be Properly Accessed by the Payment Kit Server?
Why Does the Payment Callback Contain the Marketing Information When the Merchant Does Not Pass the Marketing Information?
Can the Same Merchant ID, Certificate, Key, and Other Input Parameters Except for appId Be Used for the App and Atomic Service APIs?
Is There an Environment for Jointly Debugging the Access of Registered Merchants?
What Is the Relationship Between callerId in the Request Header PayMercAuth and mercNo or combineMercNo in the Request Body?
Will the Signature Be Verified for API Request If the bodySign Field in the Request Header PayMercAuth Is Empty? Or, Will the Field Be Verified First?
Why Is 000000 Returned and Refund Amount Not Received When a Refund Request Is Initiated Repeatedly with the Same Merchant Order ID?
In Addition to the Refund API in the Integration Guide, Is There Any Financial Platform Available for Refund Operations in Payment Kit? Can Refund Be Requested on Such a Platform?
What Format Should Be Used to Parse the Date After a Bill File Is Downloaded?
What Should I Do If an Error Is Reported During Checkout, Indicating App Information Verification Failure and Asking Me to Contact the Merchant?
Why Is an Entity Inconsistency Message Displayed When a Merchant ID Is Bound to an App ID?
How Can I Contact the Operating Organization or Handling Service Organization to Obtain the Development Guide?
What Should I Do If I Cannot Find the Payment Kit (Non-Virtual) Menu or the App ID Association Authorization Screen?
About This Kit
Opening and Saving a PDF Document
Adding and Deleting PDF Pages
Text, Images, and Annotations on PDF Pages
Converting a Specified Page or Area to an Image
Converting a PDF Document to Images
Checking Whether the PDF Document Is Encrypted and Removing the Security Lock
Adding and Deleting Bookmarks
Adding and Deleting Headers and Footers
Adding and Deleting Watermarks
Adding and Deleting Backgrounds
Previewing a PDF Document
Opening and Saving a PDF Document
Setting the PDF Document Preview Effects
Searching for Keywords
Highlighting a PDF Document
Annotations
Converting a PDF Thumbnail into an Image
Optimizing the PDF Document Switching Experience
Can I remove the header, footer, watermark, and background from a specific page using PDF Kit?
Can I Preview PDF Documents Online?
About This Kit
File Preview
File Open Boost (C/C++)
File Open Boost Status Awareness (Deprecated)
File Cache Boost (C/C++)
Failed to Open a File Preview via the openPreview API
Preview Fails When the URI Obtained by DocumentViewPicker Is Opened Through the openPreview API
Glossary
About This Kit
Getting Started
Integration Specifications
Enabling Push Kit
Applying for Scenario-Specific Message Permissions
Obtaining a Push Token
Sending a Notification Message
Recalling a Notification Message
Pushing a Badge Update Message
Pushing a Widget Update Message
Sending a Text-to-Speech Message
Recalling a Text-to-Speech Message
Pushing a Background Message
Pushing a Live View Message
Pushing an In-App Call Message
Overview
Generating a JWT Based on a Service Account
Pushing Scenario-Specific Messages
(Optional) Developing the Message Receipt
(Optional) Viewing the Push Report
(Optional) Analyzing Test Messages
Obtaining an AAID
How Do I Handle Problems When Pushing Messages?
Why Does the Target Device Fail to Receive a Push Message After the Push API Is Successfully Called on the Cloud?
Incorrect Classification or Categorization
Push Message Upper Limit Reached
Message Frequency Control Problems
In-App Call Message Service Error Upon First Screen Lock After the Device Is Restarted
Incoming Call Banner Error of an In-App Call Message
Request URL Version Problem in a Scenario-Specific Message
How Does My App Client Receive and Display Messages While Running in the Background?
What Types of Scenario-Specific Messages Should I Choose If I Want to Implement Instant Messaging?
Pricing of the Kit
How Can I Replace the Certificate of My Message Receipt Server?
Personal Data Processing Information
Glossary
Notification Content Management Rules
Push Notification Violation Penalty Criteria
Supported Countries/Regions
About This Kit
Obtaining Book Information
Obtaining the Catalog Item List
Building a Reader
Customizing the Font
Customizing the Page Background
Changing the Page-Turning Mode, Font Size, and Line Height
Adapting the Dark and Light Modes
Listening to Text Scaling Factor Value Changes
Manually Triggering Page Turning
Notifying the Reading Progress
About This Kit
Development Preparations
Mobile Number Quick Verification Button
Avatar Selection Button
App Launch Button
Shipping Address Selection Button
Invoice Title Selection Button
Map Location Selection Button
Permission Settings Button
Mobile Number and Risk Level Retrieval Button
Province/City/District Selector Input Component
Obtaining System Information Attributes by API Calls
Obtaining System Information Attributes by API Calls in Asynchronous Mode
Obtaining System Setting Attributes by API Calls
Displaying the Follow Component by API Calls
File Path Conversion API
Introduction to SmartFill
Typical Scenarios
Changing the Value of ContentType Dynamically
Auto-filling Address Information in a Form
License Plate Number Filling Suggestion
Data Sources and Logic of Suggestions
ContentType Use Scenarios
Supporting SmartFill for HTML5
Supporting SmartFill for HTML5 Within React Native
Supporting SmartFill for HTML5 Within Flutter
Supporting SmartFill for HTML5 Within Taro
Supporting SmartFill for HTML5 Within Weex
Supporting SmartFill for HTML5 Within mPaas
Mapping Between HTML5/Third-Party Framework Configuration Items and HarmonyOS Configuration Items
Glossary
Page Cannot Be Opened When the Quick Mobile Number Verification Button Is Tapped
Failure to Launch a Third-Party App
SmartFill Selection Box Blocked by the Clipboard Paste Box
Personal Data Processing Information
Supported Country/Region
About This Kit
Configuring Signing Information
Requesting a Restricted ACL Permission
Overview
Requesting User Authorization
Revoking User Authorization
Triggering Callbacks When the App Authorization Switch Is Toggled On or Off on the Authorization List Page of Digital Balance
Overview
Starting the App Selection Page
Launching the Permitted App Redirect Page
Overview
Adding a Strategy
Updating a Strategy
Queries Strategy Configuration Data
Starting a Strategy
Stopping a Strategy
Querying Strategy Execution Data
Deleting a Strategy
Overview
Setting App Access Restrictions
Removing App Access Restrictions
Redirecting from the Intercept Page to the Screen Time Guard App
Glossary
About This Kit
Share Kit Terms
Precise UTD Type Required for the Host App to Initiate Content Sharing
One-Step Access to Received Data on the Target Device
Overview
Integration Modes for Host Apps
Initiating Content Sharing Through the Sharing Panel
Configuring the Target App List (Available Only to Enterprise Apps)
Customizing the Operation Area
Obtaining the Sharing Result
Processing the Shared Content Inside a Target App
Processing the Shared Content on the Sharing Details Page
Closing the Sharing Panel from the Sharing Details Page
Checking Whether an App Is Started by System Share
Sharing Contact Information to the Recommendation Area
Target App Design Specifications
Sharing Links
Sharing Images
Sharing Videos
Sharing Text
Overview
Sharing Content
Inviting a User to Join a Team
Overview
Sharing Content to a Specified In-app Page
Sharing Content Between a Phone and a PC/2-in-1 Device or Tablet
Overview
Enabling Grab & Drop on a Device
Transfer Between Trusted Devices
Sharing a Link of App Linking to Go to a Specified In-app Page
Failed to Start the System Sharing Panel
Unsupported Shared Data Type
Message "The file you selected cannot be shared." Displayed During Sharing
About This Kit
Applying for Wallet Kit
Overview
Preparations on the HUAWEI Wallet Server
Enabling a Car Key
Controlling a Car
Overview
Preparations on Your Server
Activating a Transportation Card
Topping Up a Transportation Card
Updating a Transportation Card
Deleting a Transportation Card
Do I Have to Integrate Account Kit into My App in Order to Use Wallet Kit?
What Will Happen If a User Attempts to Add a Pass to HUAWEI Wallet Without Signing in Using a HUAWEI ID?
Which Is the Most Commonly Used Access Method?
What Operations Are Performed by My Server When a Pass Is Added?
How Can I View an Added Pass?
Why Is Only One Pass Displayed in HUAWEI Wallet After a User Claims Multiple Passes from the Same Merchant?
Which Information Will Be Deleted When a User Deletes a Pass?
About This Kit
Getting Started
Obtaining Weather Data
How to Obtain the Weather Data of a Specified City
Do Weather Service Kit APIs Support the Positioning Function
No Data Returned After Minute-Level Precipitation Forecast/Weather Alert/Tide Data Is Requested
Personal Data Processing Information
About This Kit
Starting an Agent Through a Function Component
Implementing A2A Protocol Communication via AgentAbilityExtension
Glossary
About This Kit
Preparations
Model Zoo
Overview
Non-Training Quantization
Plugin-based Quantization
One-Stop Quantization for LLMs
Plugin-based Quantization
LoRA Fine-Tuning on a Quantized Base Model
NAS Training
Model Size Reduction Example
FAQs
Model Benefits
Preparing for Model Conversion
Model Conversion Example
OMG Parameters
Overview
AIPP Parameters
AIPP Configuration File Used for Model Conversion
Variable data_type
Deployment Process
Model Inference
AIPP Deployment
Heterogeneity
Maintenance, Testing, and Optimization
Zero Memory Copy
In-Depth Fusion
Creating a Project
Configuring NAPI for Your Project
Model Integration
Single-Operator Application
Introduction to Ascend C
Environment Setup
Quick Start
Basic Architecture
Compute Units
Storage Unit
Control Units
SPMD Model
Kernel Function
Hardware Architecture Abstraction
Programming Paradigm
API Overview
Basic APIs
High-Level APIs
Overview of Operator Implementation
Vector Programming
Basic Knowledge
Matrix Programming Operator Implementation
Overview of Project-based Operator Development
Creating an Operator Project
Operator Prototype Definition and Implementation
Operator Implementation on the Kernel
Tiling Implementation on the Host
Operator Project Build
Installing the Operator Package
Operator Debugging Overview
Preparing Input Data and Golden Data
Obtaining the Operator JSON Configuration Template
Configuring the Operator JSON File with Fixed Input/Output Order
Configuring the Operator JSON File with Normalized params
Tiling Debugging
CPU Twin Debugging
Simulator
printf/PRINTF
DumpTensor
DumpAccChkPoint
Assert
GDB Debugging
Overview of Operator Graph Integration
Development Process
Graph Build and Execution
Overview of AI Framework Operator Adaptation
ONNX Framework
Basic Tensor Concepts
Data Layout Formats
How to Use Double Buffer to Optimize Performance
How to Allocate Workspace as Temporary Memory
How to Update a Project to the Latest Version
Parameter Description for the Operator Project Creation Tool
Data Generation Script Adaptation Example
Examples of the Operator JSON Configuration File
Example of the Accuracy Comparison Result
In-Place Operator Debugging Example
Parameter Description for the ascendebug Debugging Tool
Operator Development FAQs
Ascend C API List
General Restrictions
LocalTensor
GlobalTensor
ShapeInfo
UnaryRepeatParams
BinaryRepeatParams
ScalarGetCountOfValue
ScalarCountLeadingZero
ScalarCast
CountBitsCntSameAsSignBit
ScalarGetSFFValue
Exp
Ln
Abs
Reciprocal
Sqrt
Rsqrt
Not
Relu
More Examples
Add
Sub
Mul
Div
Max
Min
And
Or
More Examples
Adds
Muls
Maxs
Mins
ShiftLeft
ShiftRight
LeakyRelu
More Examples
Axpy
More Examples
Precision Conversion Instructions
Transpose
TransDataTo5HD
Duplicate
CreateVecIndex
Data Distribution and Collection
Common Data Movement
Real-Time Format Conversion
DataCopyPad
Constructor
InitBuffer
Init
Destroy
Reset
AllocEventID
ReleaseEventID
FetchEventID
GetBaseAddr
InitBufPool
GetTPipePtr
Overview
Constructor
InitBufPool
InitBuffer
Reset
Overview
AllocTensor
FreeTensor
EnQue
DeQue
VacantInQue
HasTensorInQue
GetTensorCountInQue
HasIdleBuffer
FreeAllEvent
Overview
Constructor
AllocTensor
FreeTensor
EnQue
DeQue
VacantInQue
HasTensorInQue
GetTensorCountInQue
HasIdleBuffer
FreeAllEvent
Overview
Constructor
Get
GetWithOffset
GetSysWorkSpacePtr
SetSysWorkSpace
GetUserWorkspace
PipeBarrier(ISASI)
TPosition
GetBlockNum
GetBlockIdx
DumpTensor
printf
assert
DumpAccChkPoint
Trap
GET_TILING_DATA
GET_TILING_DATA_WITH_STRUCT
TILING_KEY_IS
Usage Description
Matmul Template Parameters
MatmulConfig
Init
SetTensorA
SetTensorB
Iterate
GetTensorC
IterateAll
End
Usage Description
Constructor
TCubeTiling Structure
Tanh
SoftmaxFlashV2
Sigmoid
Data Filling
Prototype Registration API (OP_ADD)
Input
Output
Attr
SetInferShape
SetInferDataType
AICore
ParamType
DataType
Format
ValueDepend
Follow
OpAttrDef
SetTiling
AddConfig
TilingData Structure Definition
TilingData Structure Registration
Overview
GetCoreNum
GetSocVersion
GetCoreNumAic
GetCoreNumAiv
CalcTschBlockDim
GetCoreMemSize
GetCoreMemBw
GetLibApiWorkSpaceSize
Internal Associated APIs
GmAlloc
GmFree
ICPU_RUN_KF
ICPU_SET_TILING_KEY
Basic Data Structures and API List
Overview
Constructor
GetInstanceNum
GetInstanceStart
SetInstanceStart
SetInstantiationNum
Constructor
GetDataType
GetFormat
GetOriginFormat
GetStorageFormat
GetExpandDimsType
SetDataType
SetStorageFormat
SetOriginFormat
SetExpandDimsType
Overview
Constructor
GetNodeType
GetNodeName
GetIrInputsNum
GetInputsNum
GetOutputsNum
GetIrOutputsNum
GetInputInstanceInfo
GetOutputInstanceInfo
GetInputTdInfo
GetOutputTdInfo
GetAttrs
MutableInputInstanceInfo
MutableOutputInstanceInfo
MutableInputTdInfo
MutableOutputTdInfo
MutableAttrs
SetNodeType
SetNodeName
Init
CalcSize
Overview
Init
Add
Get
GetSize
GetOverHeadLength
Overview
Create
Init
GetSize
SetSize
GetCapacity
GetData
MutableData
Overview
Constructor
operator==
GetFullSize
SetExpandIndex
IsExpandIndex
Expand (Outputting a New Shape)
Expand (Changing the Original Shape)
GetInputDesc
GetOutputDesc
GetOptionalInputDesc
GetDynamicInputDesc
GetRequiredInputDesc
GetIrInputInstanceInfo
GetIrOutputInstanceInfo
GetComputeNodeInputNum
GetComputeNodeOutputNum
GetAttrs
GetNodeType
GetNodeName
GetComputeNodeInfo
GetKernelName
GetKernelType
GetExtendInfo
GetInputDataType
GetOptionalInputDataType
GetRequiredInputDataType
GetOutputDataType
SetOutputDataType
GetInputShape
GetInputTensor
GetOptionalInputShape
GetRequiredInputTensor
GetRequiredInputShape
GetOutputShape
GetInputShapeRange
GetInputTensorRange
GetOptionalInputTensorRange
GetDynamicInputTensorRange
GetOptionalInputShapeRange
GetDynamicInputShapeRange
GetRequiredInputShapeRange
GetRequiredInputTensorRange
GetOutputShapeRange
Constructor and Destructor
InferShape
InferShapeRange
InferDataType
Tiling
PrivateAttr
TilingParse
InputsDataDependency
InferOutDataTypeSameWithFirstInput
GenSimplifiedKey
OpExecuteFunc
TilingInputsDataDependency
HostInputs
OutputShapeDependOnCompute
Overview
Constructor
operator==
SetMin
SetMax
GetMin
GetMax
Constructor
GetAttrPointer
GetInt
GetListInt
GetListListInt
GetStr
GetTensor
GetFloat
GetBool
GetListFloat
GetListListFloat
GetAttrNum
Overview
Constructor
operator==
operator!=
operator[]
IsScalar
SetScalar
GetDimNum
SetDimNum
GetDim
SetDim
AppendDim
Constructor
GetOriginFormat
SetOriginFormat
GetStorageFormat
SetStorageFormat
GetExpandDimsType
SetExpandDimsType
MutableExpandDimsType
operator==
operator!=
Overview
Constructor
GetOriginShape
GetStorageShape
MutableOriginShape
MutableStorageShape
operator==
operator!=
Constructor and Destructor
operator
GetAddr
GetSize
SetSize
GetPlacement
SetPlacement
Free
SetAddr
IsSharedWith
ShareFrom
TensorPlacementUtils
Constructor
GetShapeSize
GetData
SetData
GetAddr
GetSize
SetSize
GetDataType
SetDataType
CreateFollowing
GetStorageShape
MutableStorageShape
GetOriginShape
MutableOriginShape
GetShape
GetStorageFormat
SetStorageFormat
GetOriginFormat
SetOriginFormat
GetFormat
MutableFormat
GetExpandDimsType
SetExpandDimsType
GetPlacement
SetPlacement
GetTensorData
MutableTensorData
GetInputShape
GetInputTensor
GetOptionalInputTensor
GetRequiredInputTensor
GetOptionalInputShape
GetRequiredInputShape
GetOutputShape
SetTilingKey
GetTilingKey
SetBlockDim
GetBlockDim
SetTilingCond
GetTilingCond
GetTilingData
GetRawTilingData
GetWorkspaceSizes
GetWorkspaceNum
GetPlatformInfo
Constructor
GetCapacity
GetDataSize
SetDataSize
GetData
Append
CreateCap
CalcTotalSize
Init
operator
Overview
MutableData
GetData
TensorPlacement
Internal Associated APIs
Constructor and Destructor
Malloc
Free
MallocAdvise
Constructor and Destructor
GetString
Relational Operator Overloading
Find
Hash
GetLength
Constructor and Destructor
CreateFrom
GetValue
AutoMappingSubgraphIOIndexFuncRegister
Constructor and Destructor
GetAutoMappingSubgraphIOIndexFunc
AddAutoMappingSubgraphIOIndexFunc
Constructor and Destructor
SetInputHandleShapesAndTypes
SetOutputHandleShapesAndTypes
GetInputHandleShapesAndTypes
GetOutputHandleShapesAndTypes
SetMarks
GetMarks
Create
GetResourceContext
SetResourceContext
RegisterReliedOnResourceKey
AddChangedResourceKey
GetReliedOnResourceKeys
GetChangedResourceKeys
ClearChangedResourceKeys
InferFormatFuncRegister
InferShapeFuncRegister
InferValueRangeFuncRegister
ListTensorType
Constructor and Destructor
GetAddr
GetSize
SetSize
Free
AddCount
SubCount
GetCount
OperatorCreatorRegister
CreateOperator
GetOpsTypeList
IsExistOp
Constructor and Destructor
AddControlInput
BreakConnect
IsEmpty
InferShapeAndType
GetAttr
GetAllAttrNamesAndTypes
GetAllIrAttrNamesAndTypes
GetDynamicInputNum
GetDynamicInputDesc
GetDynamicOutputNum
GetDynamicOutputDesc
GetDynamicSubgraph
GetDynamicSubgraphBuilder
GetInferenceContext
GetInputConstData
GetInputsSize
GetInputDesc
GetName
GetSubgraph
GetSubgraphBuilder
GetSubgraphNamesCount
GetSubgraphNames
GetOpType
GetOutputDesc
GetOutputsSize
SetAttr
SetInput
SetInferenceContext
SetInputAttr
SetOutputAttr
GetInputAttr
GetOutputAttr
TryGetInputDesc
UpdateInputDesc
UpdateOutputDesc
UpdateDynamicInputDesc
UpdateDynamicOutputDesc
VerifyAllAttr
DynamicInputRegister
DynamicInputRegisterByIndex
DynamicOutputRegister
SubgraphCountRegister
SetSubgraphBuilder
OpReceiver
Overview
Constructor and Destructor
REGISTER_CUSTOM_OP
FrameworkType
OriginOpType
ParseParamsFn
ParseParamsByOperatorFn
FusionParseParamsFn
FusionParseParamsFn (Overload)
ParseSubgraphPostFn
ParseOpToGraphFn
ImplyType
DelInputWithCond
DelInputWithOriginalType
GetImplyType
GetOmOptype
GetOriginOpTypeSet
GetFrameworkType
GetParseParamFn
GetParseParamByOperatorFn
GetFusionParseParamFn
GetFusionParseParamByOpFn
GetParseSubgraphPostFn
GetParseOpToGraphFn
AutoMappingFn
AutoMappingByOpFn
AutoMappingFnDynamic
AutoMappingByOpFnDynamic
AutoMappingSubgraphIndex
InputReorderVector
Promote
Constructor and Destructor
SetShape
GetShape
SetType
GetDataType
Constructor and Destructor
GetDim
GetDims
GetDimNum
GetShapeSize
SetDim
TensorDescInfo
Constructor and Destructor
GetConstData
GetDataType
GetExpandDimsRule
GetFormat
GetName
GetOriginFormat
GetOriginShape
GetPlacement
GetRealDimCnt
GetShape
GetShapeRange
GetSize
SetConstData
SetDataType
SetExpandDimsRule
SetFormat
SetName
SetOriginFormat
SetOriginShape
SetPlacement
SetRealDimCnt
SetSize
SetShape
SetShapeRange
SetUnknownDimNumShape
Update
TensorType
Constructor and Destructor
Clone
IsValid
GetData
GetDataType
GetExpandDimsRule
GetFormat
GetOriginFormat
GetOriginShapeDim
GetOriginShapeDimNum
GetPlacement
GetSize
GetShapeDimNum
GetShapeDim
GetTensorDesc
SetData
SetDataType
SetExpandDimsRule
SetFormat
SetOriginFormat
SetOriginShapeDim
SetOriginShapeDimNum
SetPlacement
SetShapeDimNum
SetShapeDim
SetTensorDesc
ResetData
DataTypeToAscendString
AscendStringToDataType
FormatToAscendString
AscendStringToFormat
DataTypeToSerialString
SerialStringToDataType
FormatToSerialString
SerialStringToFormat
DataFormatToFormat
GetDataTypeLength
VerifyFuncRegister
ConvertToAscendString
ConvertToListAscendString
GetC0Format
GetC0Value
GetFormatFromC0
GetFormatFromSub
GetFormatFromSubAndC0
GetFormatName
GetPrimaryFormat
GetSizeByDataType
GetSizeInBytes
GetSubFormat
HasC0Format
HasSubFormat
ge::graphStatus
DataType
Format
BROADCAST_INFER
COMMON_INFER_FUNC_REG
DECLARE_ERRORNO
ELMTWISE_INFER_SHAPEANDTYPE
IMPLEMT_COMMON_INFERFUNC
IMPLEMT_INFERFORMAT_FUNC
IMPLEMT_INFERFUNC
IMPLEMT_VERIFIER
INFER_FORMAT_FUNC_REG
INFER_FUNC_REG
Prototype Definition (REG_OP)
Prototype Definition Derivative APIs
VERIFY_FUNC_REG
Compatibility
Mapping Between Ascend and Kirin AI Processors of the Same Generation
Overview
L2 Cache
Data Type
Atomic Operation
Synchronization Control
Matrix Computing
Data Movement
Resource management
System Variables
Kernel Tiling
SuperKernel
High-Level API Porting Guide
Operator Compilation Porting Guide
Overview
Environment Setup
Three-Stage Quantization Procedure
Quantization Effect Evaluation
Exporting the Original Model as a Friendly-Structure ONNX Model
Converting an ONNX Model to a CANN Model
How Can I Determine Whether a Model Can Run on Mobile Phones?
What Are the Data Formats Supported by the Inference Function?
What Should I Do if the Type of the Output Operator Is Incorrect for the OMG Offline Model?
How can I determine which operators have better performance on CANN during model design?
Glossary
How to Obtain the Version
Supported Operators
Visualization Tool
About This Kit
Text-to-Speech
Speech Recognition
Personal Data Processing Information
About This Kit
OCR
Face Detection
Face Verification
Subject Segmentation
Multi-Object Detection
Skeleton Detection
Image Super Resolution
Searching for Images by Text
Personal Data Processing Information
About This Kit
Intents Kit Integration Process
Overview
Use Cases
Integration Solution
Testing Solution
Overview
Use Cases
Integration Solution
Testing Solution
Overview
Use Cases
Integration Solution
Overview
Use Cases
Overview
Integration in Task Execution Scenarios via a Configuration File
Solution Overview
Integration via a Link-based Decorator
Integration via a Page-based Decorator
Integration via a Function-based Decorator
Definition Rules for Custom Intents
One-Step Access to Functions
Overview
Use Cases
Function Search Solution
Content Search Solution
What Should I Do If the Error Message "Intent 'xxxxxx' is not included in domain 'xxxxxx'. Select an intent from the list of suggestions." Is Displayed for intentName?
What Should I Do If the Error Message "Value should be one of: "intentName", "domain", "intentVersion", "srcEntry", "uiAbility", "serviceExtension", "uiExtension", "form"" Is Displayed for inputParams?
What Should I Do If the App Launched by Celia Exits Unexpectedly When I Use the Intents Kit Debug Assistant Agent for Joint Debugging?
Is There a Cloud-based Dynamic Slot Declaration Solution for the One-Step Function Access Scenario?
Glossary
Appendix A: How to Obtain the UID of a HUAWEI ID
About This Kit
Using MindSpore Lite for Model Conversion
Using MindSpore Lite for Model Inference (C/C++)
Using the MindSpore Lite Engine for On-Device Training (C/C++)
Using MindSpore Lite for Image Classification (ArkTS)
Using MindSpore Lite for Image Classification (C/C++)
Using MindSpore Lite for Speech Recognition (C/C++)
MindSpore Lite Kit Operator List
MindSpore Lite Kit Glossary
About This Kit
Word Segmentation
Entity Extraction
About This Kit
Connecting NNRt to an AI Inference Framework
Neural Network Runtime Kit Glossary
About This Kit
TextReader
AICaption
About This Kit
Face Liveness Detection
Card Recognition
Document Scanning
AI Image Recognition
Personal Data Processing Information
Free Hopping Documentation Path Adjustment
About This Kit
Creating an NDK Project
Overview
Building an NDK Project with the DevEco Studio Template
Building NDK Projects with Command-Line CMake
Building an NDK Project with Prebuilt Libraries
BiSheng Compiler
Integrating a Third-Party Dynamic Link Library
Overview
C/C++ Library Mechanisms
Using fdsan
Node-API Overview
Node-API Status Codes
Node-API Data Types and APIs
Node-API Development Specifications
Node-API Development Process
Using Node-API Extension APIs
Working with Arrays Using Node-API
Working with ArrayBuffer Using Node-API
Working with BigInt Using Node-API
Working with Buffer Using Node-API
Creating Basic Data Types Using Node-API
Working with Class Using Node-API
Working with Cleanup Hooks Using Node-API
Working with Date Using Node-API
Error Handling Using Node-API
Associating Data with a Running Environment to Tie Their Lifecycle Using Node-API
Working with Functions Using Node-API
Performing Lifecycle Management Using Node-API
Working with Objects Using Node-API
Working with Other Node-API Utilities
Working with Primitives Using Node-API
Implementing Asynchronous Operations Using Node-API
Setting ArkTS Object Properties Using Node-API
Working with String Using Node-API
Customizing Asynchronous Operations Using Node-API
Asynchronous Task Development Using Node-API
Thread Safety Development Using Node-API
Wrapping a Native Object in an ArkTS Object
Wrapping a Native Object in a Sendable ArkTS Object
Creating an ArkTS Runtime Environment Using Node-API
Loading a Module in the Main Thread Using Node-API
Running or Stopping an Event Loop in an Asynchronous Thread Using Node-API Extension APIs
Loading a Module Using Node-API
Passing a Task with the Specified Priority to an ArkTS Thread from an Asynchronous Thread Using Node-API
Creating, Switching, and Destroying a Context in a Thread Using Node-API Extension APIs
Creating a Strong Reference to an ArkTS Object Using Node-API Extension APIs
Creating and Destroying a Critical Scope and Accessing String Content Using Node-API Extension APIs
Analyzing Error Logs and Crashes Triggered by Using Node-API
Calling an ArkTS Method with Return Value of a promise Using Node-API
Creating a Sendable Strong Reference to an ArkTS Object Using Node-API Extension APIs
Accelerating Property Access Using Extended Node-APIs
FAQs
FAQs About Stability
FAQs About Memory Leaks
FAQs About Basic Functionalities
JSVM-API Overview
JSVM-API Data Types and APIs
JSVM-API Development Process
JSVM-API Development Specifications
JSVM-API FAQs
Working with Tasks Using JSVM-API
Working with VM Snapshots Using JSVM-API
Working with Wasm Using JSVM-API
Creating and Calling JS Functions Using JSVM-API
Performing JSON Operations Using JSVM-API
Working with Arrays Using JSVM-API
Working with ArrayBuffer Using JSVM-API
Creating an ArrayBuffer from External Memory Using JSVM-API
Working with BigInt Using JSVM-API
Working with Classes Using JSVM-API
Working with Date Using JSVM-API
Performing Debug Operations Using JSVM-API
Working with Objects Using JSVM-API
Working with Primitives Using JSVM-API
Implementing Asynchronous Operations Using JSVM-API
Setting JS Object Properties Using JSVM-API
Creating and Obtaining String Values Using JSVM-API
Obtaining the JSVM-API Version Using JSVM-API
Error Handling Using JSVM-API
Debugging and Profiling JS Code Using JSVM-API
Performing Lifecycle Management Using JSVM-API
Performing Memory Management Using JSVM-API
Comparing JS Values Using JSVM-API
Customizing Exception Handling Using JSVM-API
Triggering GC Using JSVM-API
Using JSVM-API to Obtain Heap Snapshots and Monitor Heap Memory Thresholds
Setting the private Property Using JSVM-API
Working with Latin1/UTF16 Strings Using JSVM-API
Working with Proxies Using JSVM-API
Working with Well-Known Symbols Using JSVM-API
Working with Wrapper Objects Using JSVM-API
Creating and Obtaining Values Using JSVM-API
JSVM-API Debugging
Working with Trace Using JSVM-API
Requesting the JIT Profile for JSVM-API
JSVM-API Secure Shield Mode
Troubleshooting JSVM-API Memory Leaks
Creating and Destroying JSVMs Using JSVM-API
Accelerating Compilation Using a Code Cache
JSVM Tuning Practices
Using HiSmartPerf to Collect JSVM Trace
Analyzing Web Page Memory Using DevTools
Using Longque JS APIs
OpenMP Overview
Building and Running Applications Using OpenMP
Raw File Development
Native Bundle Development
Using GN to Configure the HarmonyOS Build Toolchain
Using CMake to Configure the HarmonyOS Build Toolchain
Using Make to Configure the HarmonyOS Build Toolchain
Using the Configure Tool to Configure the HarmonyOS Build Toolchain
Quickly Building Third-Party Libraries Using the Lycium Cross-Compilation Framework
Passing Complex Parameters Across Languages
Implementing Communication Between Native Child Threads and the UI Main Thread
Overview
C/C++ Memory Error Detection
LLDB Debugger
Overview
HarmonyOS ABIs
CPU Features
Using Neon Instructions
Development Description
SystemCapability
Universal Error Codes
@ohos.app.ability.Ability (Ability Base Class)
@ohos.app.ability.AbilityConstant (Ability-related Constants)
@ohos.app.ability.abilityLifecycleCallback (UIAbility Lifecycle Callback Listener)
@ohos.app.ability.AbilityStage (AbilityStage Component Manager)
@ohos.app.ability.ActionExtensionAbility (ExtensionAbility for Custom Actions)
@ohos.app.ability.AgentUIExtensionAbility (UI-Enabled Agent Extension Component)
@ohos.app.ability.application (Application Utility Class)
@ohos.app.ability.ApplicationStateChangeCallback (Application Process State Change Listener)
@ohos.app.ability.appMemoryOptimizer (Application Memory Optimizer)
@ohos.app.ability.AppServiceExtensionAbility (ExtensionAbility for Application Background Services)
@ohos.app.ability.AtomicServiceOptions (Optional Parameters of openAtomicService)
@ohos.app.ability.autoFillManager (Auto-Fill Framework)
@ohos.app.ability.ChildProcess (Child Process Base Class)
@ohos.app.ability.childProcessManager (Child Process Management)
@ohos.app.ability.ChildProcessArgs (Child Process Arguments)
@ohos.app.ability.ChildProcessOptions (Child Process Startup Options)
@ohos.app.ability.common (Ability Common Module)
@ohos.app.ability.CompletionHandler (Application Launch Result Handler)
@ohos.app.ability.CompletionHandlerForAtomicService (Atomic Service Launch Result Handler)
@ohos.app.ability.CompletionHandlerForAbilityStartCallback (Application Launch Result Callback Handler)
@ohos.app.ability.contextConstant (Context-related Constants)
@ohos.app.ability.EmbeddableUIAbility (Embeddable UIAbility)
@ohos.app.ability.EmbeddedUIExtensionAbility (ExtensionAbility for Cross-Process UI Embedding)
@ohos.app.ability.EnvironmentCallback (System Environment Change Listener)
@ohos.app.ability.ExtensionAbility (ExtensionAbility Base Class)
@ohos.app.ability.insightIntent (Basic Definitions of InsightIntent Framework)
@ohos.app.ability.InsightIntentContext (Intent Execution Context)
@ohos.app.ability.InsightIntentDecorator (Intent Decorator)
@ohos.app.ability.InsightIntentEntryExecutor (Base Class for @InsightIntentEntry Intent Execution)
@ohos.app.ability.InsightIntentExecutor (Base Class for Intent Execution)
@ohos.app.ability.insightIntentProvider (Intent Provider Management)
@ohos.app.ability.PhotoEditorExtensionAbility (ExtensionAbility for Image Editing)
@ohos.app.ability.OpenLinkOptions (Optional Parameters of openLink)
@ohos.app.ability.ShareExtensionAbility (ExtensionAbility for Share Detail Page Integration)
@ohos.app.ability.StartOptions (Optional Parameters of startAbility)
@ohos.app.ability.systemConfiguration
@ohos.app.ability.UIAbility (Ability with UI)
@ohos.app.ability.UIExtensionAbility (ExtensionAbility with UI)
@ohos.app.ability.UIExtensionContentSession (UIExtensionAbility UI Operation Class)
@ohos.app.ability.sendableContextManager (Sendable Context Management)
@ohos.app.ability.scriptManager (Script Management)
@ohos.app.appstartup.StartupConfig (AppStartup Configuration)
@ohos.app.appstartup.StartupConfigEntry (AppStartup Configuration Entry)
@ohos.app.appstartup.StartupListener (AppStartup Task Listener)
@ohos.app.appstartup.startupManager (AppStartup Management)
@ohos.app.appstartup.StartupTask (AppStartup Task)
@ohos.app.ability.autoStartupManager (Auto-Startup Management)
@ohos.app.agent.agentConstant (Agent Constants)
@ohos.app.agent.AgentExtensionAbility
@ohos.continuation.continuationManager (Continuation/Collaboration Management)
ContinuationExtraParams
ContinuationResult
@ohos.ability.ability (Ability Module)
@ohos.ability.featureAbility (FeatureAbility Module)
@ohos.ability.particleAbility (ParticleAbility Module)
DataAbilityOperation
DataAbilityResult
StartAbilityParameter
AppVersionInfo
Context (Context Base Class of the FA Model)
ProcessInfo
@ohos.abilityAccessCtrl (Application Access Control)
@ohos.ability.screenLockFileManager (Sensitive Data Access Management Under Lock Screen)
@ohos.app.ability.abilityManager (Ability Information Management)
@ohos.app.ability.appManager (Application Management)
@ohos.app.ability.appRecovery (Application Recovery)
@ohos.app.ability.Configuration (Environment Variables)
@ohos.app.ability.ConfigurationConstant (Constants Related to Environment Variables)
@ohos.app.ability.continueManager (Cross-Device Migration)
@ohos.app.ability.dataUriUtils (DataUriUtils Module)
@ohos.app.ability.dialogRequest (dialogRequest Module)
@ohos.app.ability.errorManager (Error Management Module)
@ohos.app.ability.hyperSnapManager (Quick Launch Management)
@ohos.app.ability.kioskManager (Kiosk Mode Management)
@ohos.app.ability.Want (Want)
@ohos.app.ability.wantAgent (WantAgent Module)
@ohos.app.ability.wantConstant (Want Constants)
@ohos.bundle.bundleManager (Bundle Management Module)
@ohos.bundle.defaultAppManager (Default Application Management)
@ohos.bundle.launcherBundleManager (launcherBundleManager Module)
@ohos.bundle.overlay (overlay Module)
@ohos.bundle.pluginBundleManager (pluginBundleManager module)
@ohos.bundle.shortcutManager (shortcutManager Module)
@ohos.bundle.skillManager (skillManager Module)
AbilityResult
ConnectOptions
DataAbilityHelper
AbilityMonitor
AbilityRunningInfo
AbilityStageContext
AbilityStageMonitor
AbilityStartCallback
AbilityStateData
AgentCard
AgentExtensionContext
AgentHostProxy
ApplicationContext (Application Context)
ApplicationStateObserver
AppServiceExtensionContext (ExtensionAbility Context for Application Background Services)
AppStateData
AutoFillRect
AutoFillRequest
AutoFillType
AutoFillTriggerType
BaseContext
Context (Context Base Class of the Stage Model)
EmbeddableUIAbilityContext
ErrorObserver
EventHub
ExtensionContext
KioskStatus (Kiosk Status Information)
LoopObserver
PageNodeInfo
ProcessInformation
ProcessRunningInfo
UIAbilityContext
UIExtensionContext
UIServiceExtensionConnectCallback
UIServiceProxy
ProcessData
PhotoEditorExtensionContext
SendableContext
ViewData
AbilityInfo
applicationInfo
BundleInfo
ElementName
ExtensionAbilityInfo
HapModuleInfo
LauncherAbilityInfo
Metadata
OverlayModuleInfo
PluginBundleInfo
Skill
ShortcutInfo
SkillInfo
PermissionRequestResult
TriggerInfo
WantAgentInfo
@ohos.ability.dataUriUtils (DataUriUtils Module)
@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 Module)
@ohos.bundle (Bundle Module)
@system.package (Bundle Management)
Want
AbilityInfo
ApplicationInfo
BundleInfo
CustomizeData
ElementName
HapModuleInfo
ModuleInfo
ShortcutInfo
AbilityAccessControl
AbilityBase
AbilityRuntime
Native_Bundle
ChildProcess
ability_access_control.h
ability_base_common.h
ability_runtime_common.h
application_context.h
context_constant.h
connect_options.h
native_ability_wrapper.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_dispatcher.h
modular_object_extension_ability.h
modular_object_extension_context.h
modular_object_extension_manager.h
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_NativeAbilityWrapper
AbilityRuntime_ExtensionInstance
AbilityRuntime_ExtensionInstance*
OH_AbilityRuntime_ModObjDispatcher_InputParams
OH_AbilityRuntime_ModObjDispatcher_TypeInfo
OH_AbilityRuntime_ModObjDispatcher_Variant
OH_AbilityRuntime_ModularObjectDispatcher*
OH_AbilityRuntime_ModularObjectDispatcher_Array*
OH_AbilityRuntime_ModularObjectDispatcher_Map*
OH_AbilityRuntime_ModularObjectDispatcher_Set*
OH_AbilityRuntime_ModularObjectDispatcher_Struct*
OH_AbilityRuntime_ModularObjectDispatcher_TypeDescriptor*
OH_AbilityRuntime_ModularObjectDispatcher_Vector*
OH_AbilityRuntime_ModularObjectExtensionInfo*
OH_AbilityRuntime_AllModularObjectExtensionInfos*
OH_AbilityRuntime_ConnectOptions
OH_AbilityRuntime_ModularObjectExtensionContext*
OH_AbilityRuntime_ModularObjectExtensionInstance
OH_AbilityRuntime_ModObjExtensionInstance*
Ability Error Codes
Distributed Scheduler Error Codes
Bundle Error Codes
Access Control Error Codes
ohos.screenLockFileManager Error Codes
@ohos.accessibility (Accessibility)
@ohos.accessibility.GesturePath (Gesture Path)
@ohos.accessibility.GesturePoint (Gesture Point)
@ohos.application.AccessibilityExtensionAbility (AccessibilityExtensionAbility)
AccessibilityExtensionContext (Accessibility Extension Context)
Accessibility Error Codes
@ohos.data.commonType (Common Data Types)
@ohos.data.dataAbility (DataAbility Predicates)
@ohos.data.dataShare (DataShare)
@ohos.data.dataSharePredicates (DataShare Predicates)
@ohos.data.distributedDataObject (Distributed Data Object)
@ohos.data.distributedKVStore (Distributed KV Store)
@ohos.data.preferences (User Preferences)
@ohos.data.sendablePreferences (Shared User Preferences)
Module Description
Functions
Interface (RdbStore)
Interface (ResultSet)
Class (LiteResultSet)
Interface (Transaction)
Interfaces (Others)
Class (RdbPredicates)
Enums
Types
@ohos.data.sendableRelationalStore (Shared RDB Store)
@ohos.data.unifiedDataChannel (Unified Data Channel)
@ohos.data.uniformDataStruct (Uniform Data Structs)
@ohos.data.uniformTypeDescriptor (Uniform Data Definition and Description)
@ohos.data.ValuesBucket (Value Bucket)
@ohos.data.intelligence (ArkData Intelligence Platform)
@ohos.data.cloudData (Device-Cloud Service)
@ohos.data.distributedData (Distributed Data Management)
@ohos.data.rdb (RDB)
@ohos.data.storage (Lightweight Data Storage)
@system.storage (Data Storage)
resultSet
@ohos.data.UdmfComponents (Content Card)
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
RDB Error Codes
DataShare Error Codes
Distributed Data Object Error Codes
Distributed KV Store Error Codes
User Preferences Error Codes
UDMF Error Codes
AIP Error Codes
Module Description
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 Base Capability)
@arkts.math.Decimal (High-Precision Math Library Decimal)
Module Description
Functions
ArkTSUtils.locks
ArkTSUtils.ASON
SendableLruCache
@ohos.buffer (Buffer)
@ohos.convertxml (XML-to-JavaScript Conversion)
@ohos.fastbuffer (FastBuffer)
@ohos.process (Obtaining Process Information)
@ohos.taskpool (Starting the Task Pool)
@ohos.uri (URI String Parsing)
@ohos.url (URL String Parsing)
@ohos.util (util)
@ohos.util.ArrayList (Linear Container ArrayList)
@ohos.util.Deque (Linear Container Deque)
@ohos.util.HashMap (Nonlinear Container HashMap)
@ohos.util.HashSet (Nonlinear Container HashSet)
@ohos.util.json (JSON Parsing and Generation)
@ohos.util.LightWeightMap (Nonlinear Container LightWeightMap)
@ohos.util.LightWeightSet (Nonlinear Container LightWeightSet)
@ohos.util.LinkedList (Linear Container LinkedList)
@ohos.util.List (Linear Container List)
@ohos.util.PlainArray (Nonlinear Container PlainArray)
@ohos.util.Queue (Linear Container Queue)
@ohos.util.Stack (Linear Container Stack)
@ohos.util.stream (Stream Base Class)
@ohos.util.TreeMap (Nonlinear Container TreeMap)
@ohos.util.TreeSet (Nonlinear Container TreeSet)
@ohos.worker (Starting the Worker)
@ohos.xml (XML Parsing and Generation)
@ohos.util.Vector (Linear Container Vector)
Utils Error Codes
TypeScript Compiler Error Codes
Compilation Toolchain Error Codes
es2abc Compiler Error Codes
Source Code Obfuscation Error Codes
@ohos.animator (Animator)
@ohos.arkui.componentSnapshot (Component Snapshot)
@ohos.arkui.componentUtils (componentUtils)
@ohos.arkui.dragController (DragController)
@ohos.arkui.drawableDescriptor (DrawableDescriptor)
@ohos.arkui.inspector (Layout Callback)
@ohos.arkui.node (Custom Node)
@ohos.arkui.observer (Observer)
@ohos.arkui.Prefetcher (Prefetching)
@ohos.arkui.shape (Shape)
@ohos.arkui.theme (Theme)
Module Description
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 (SmartGestureController)
Class (BaseGestureHandlingProposal)
Class (TargetedGestureProposal)
Class (ClickActionProposal)
Class (SelectActionProposal)
Class (NoneActionProposal)
Class (BackPressActionProposal)
Class (PageSwitchActionProposal)
Class (ScrollActionProposal)
Class (GestureHandlingResolution)
Class (SwiperDynamicSyncScene)
Class (TextMenuController)
Class (UIContext)
Class (ResolvedUIContext)
Class (UIInspector)
Class (UIObserver)
Interface (AtomicServiceBar)
Interfaces (Others)
Enums
Types
@ohos.arkui.uiExtension (uiExtension)
@ohos.arkui.uiMaterial (System Material)
@ohos.arkui.StateManagement (State Management)
@ohos.curves (Interpolation Calculation)
@ohos.font (Custom Font Registration)
@ohos.matrix4 (Matrix Transformation)
@ohos.measure (Text Measurement)
@ohos.mediaquery (Media Query)
@ohos.pluginComponent (PluginComponentManager)
@ohos.promptAction (Prompt)
@ohos.router (Page Routing) (Not Recommended)
@ohos.uiAppearance (UI Appearance)
getContext
postCardAction
BuilderNode
ComponentContent
FrameNode
Graphics
LayoutAlgorithm
LazyLayoutAlgorithm
NodeController
RenderNode
AttributeUpdater
Content
NodeContent
Resource
@ohos.window.floatView (Float View)
@ohos.PiPWindow (PiP Window)
@ohos.window.floatingBall (Floating Ball Window)
Module Description
Functions
Interface (Window)
Interface (WindowStage)
Interfaces (Others)
Enums
Types
@ohos.display (Display)
@ohos.screenshot (Screenshot)
@ohos.prompt (Prompt)
@system.app (Application Context)
@system.configuration (Application Configuration)
@system.mediaquery (Media Query)
@system.prompt (Prompt)
@system.router (Page Routing)
XComponentNode
Touch Event
Mouse Event
Axis Event
Key Event
Crown Event
Focus Axis Event
Click Event
Drag Event
Focus Event
Hover Event
Component Keyboard Shortcut Event
Keyboard Determination Event
Custom Event Interception
Custom Event Dispatch
Global Basic Input Event Listening
Accessibility Control Actions
Accessibility Hover Event
Show/Hide Event
Component Area Change Event
Component Size Change Event
Visible Area Change Event
Component ID
Distributed Migration Identifier
Visibility Control
Background
Overlay Control
Z-order Control
Obscuring
Color Inversion
Sizing
Location
Layout Constraints
Flex Layout
Safe Area
Component-Level Pixel Rounding
Page-Level Pixel Rounding
Border Styling
Border Image
Opacity Control
Transformation
Image Effect
Shape Clipping
Color Gradient
Foreground Color
Foreground Effect
Outline Styling
Visual Effect
Foreground Blur
Motion Blur
Click Feedback Effect
Special Effect Drawing Combination
Render Fit
Enable/Disable Control
Focus Control
Drag and Drop Control
Drag-and-Drop Sorting
Hover Effect
Click Sound Effect
Smart Gesture Response
Touch Target
Hit Test Control
Event Monopolization
Cursor Control
Polymorphic Style
Popup Control
Tooltip Control
Menu Control
Accessibility
Modal Transition
Sheet Transition
Attribute Modifier
Gesture Modifier
Drawing Modifier
Content Modifier
Custom Property
Symbol Glyph Modifier
Attribute Modifier Utility
Reuse ID
Reuse Options
Toolbar Configuration
Node Inspector Label
Gesture Binding
Bound Gesture Configuration
Gesture Handler
TapGesture
LongPressGesture
PanGesture
PinchGesture
RotationGesture
SwipeGesture
Combined Gestures
Custom Gesture Judgment
Gesture Blocking Enhancement
Gesture Common APIs
Flex
Column
Row
Stack
RelativeContainer
DynamicLayout
ContainerReader
GridRow
GridCol
ColumnSplit
RowSplit
SideBarContainer
List
ListItem
ListItemGroup
ArcList
ArcListItem
Grid
GridItem
Scroll
Swiper
ArcSwiper
WaterFlow
FlowItem
LazyVGridLayout
LazyVWaterFlowLayout
LazyColumnLayout
LazyDynamicLayout
ScrollBar
Refresh
ArcScrollBar
Scrollable Component Common APIs
Indicator
Navigation
NavDestination
MultiNavigation
Tabs
TabContent
ToolBarItem
Button
Toggle
Checkbox
CheckboxGroup
UIPickerComponent
CalendarPicker
DatePicker
TextPicker
TimePicker
Radio
Rating
Select
Slider
ArcButton
ArcSlider
Picker Common APIs
Text
TextArea
TextInput
RichEditor
Search
Span
ImageSpan
ContainerSpan
SelectionContainer
SymbolSpan
SymbolGlyph
Hyperlink
RichText
Styled String
Text Box Component Common APIs
Text Component Common APIs
Image
ImageAnimator
Video
Image Analysis Types
SVG Tags
Enhanced SVG Tag Parsing
AlphabetIndexer
ArcAlphabetIndexer
Badge
Counter
DataPanel
Gauge
LoadingProgress
Marquee
PatternLock
Progress
QRCode
TextClock
TextTimer
Information Display APIs
Blank
Divider
Canvas
CanvasGradient
CanvasPattern
CanvasRenderingContext2D
DrawingRenderingContext
ImageBitmap
ImageData
Matrix2D
OffscreenCanvas
OffscreenCanvasRenderingContext2D
Path2D
Common Canvas Drawing Properties
Common Canvas Rendering Methods
Circle
Ellipse
Line
Polyline
Polygon
Path
Rect
Shape
Common Attributes for Graphics Drawing
XComponent
Component3D
EmbeddedComponent
Menu
MenuItem
MenuItemGroup
ContextMenu
Property Animation (animation)
Explicit Animation (animateTo)
Keyframe Animation (keyframeAnimateTo)
Page Transition (pageTransition)
Component Transition (transition)
Shared Element Transition (sharedTransition)
Implicit Shared Element Transition (geometryTransition)
Motion Path Animation (motionPath)
Particle Animation (Particle)
Immediate Delivery of Explicit Animation (animateToImmediately)
Alert Dialog Box (AlertDialog)
Action Sheet (ActionSheet)
Custom Dialog Box (CustomDialog)
Calendar Picker Dialog Box (CalendarPickerDialog)
Date Picker Dialog Box (DatePickerDialog)
Time Picker Dialog Box (TimePickerDialog)
Text Picker Dialog Box (TextPickerDialog)
Dialog Box (Dialog)
FormLink
Security Component Universal Attributes
PasteButton
SaveButton
WithTheme
AtomicServiceNavigation
AtomicServiceSearch
AtomicServiceTabs
AtomicServiceWeb
InterstitialDialogAction
HalfScreenLaunchComponent
NavPushPathHelper
NodeContainer
ContentSlot
Custom Component Lifecycle
Lifecycle of a Custom Component (Recommended)
Custom Component Layout
Custom Component Built-in APIs
Custom Component Parameters
@Component: Custom Component
@ComponentV2: Custom Component V2
@Entry: Page Entry Declaration
@AnimatableExtend: Animatable Property Definition
@Builder Decorator: Custom Builder Function
@BuilderParam Decorator: Referencing the @Builder Function
@Extend: Extended Component Styles
@LocalBuilder Decorator: Maintaining Component Relationships
@Require Decorator: Validating Constructor Input Parameters
@Reusable: Reusing Components
@ReusableV2: Component Reuse V2
@Styles: Component Reuse Styles
wrapBuilder
mutableBuilder
Component Preview
Chip
ChipV2
ChipGroup
ChipGroupV2
ComposeListItem
ComposeListItemV2
ComposeTitleBar
ComposeTitleBarV2
DownloadFileButton
DialogV2
EditableTitleBar
EditableTitleBarV2
ExceptionPrompt
ExceptionPromptV2
Filter
FolderStack
FoldSplitContainer
FormMenu
FullScreenLaunchComponent
GridObjectSortComponent
Popup
PopupV2
ProgressButton
ProgressButtonV2
SegmentButton
SegmentButtonV2
SelectTitleBar
SelectionMenu
SplitLayout
SubHeader
SubHeaderV2
SwipeRefresher
SwipeRefresherV2
TabTitleBar
ToolBar
ToolBarV2
TreeView
TreeViewV2
advanced.Counter
CounterV2
DatePickerComponent
State Management with Application-Level Variables
Built-in Environment Variables
ForEach
LazyForEach
Repeat
@Consume: Implementing Two-Way Synchronization with Descendant Components
@Link: Two-Way Synchronization Between Parent and Child Components
@LocalStorageLink: Bidirectional Data Synchronization with LocalStorage
@LocalStorageProp: Unidirectional Data Synchronization with LocalStorage
@ObjectLink: Observing Property Changes in Nested Class Objects
@Observed: Observing Property Changes in Nested Class Objects
@Prop: Implementing One-Way Synchronization from Parent to Child Components
@Provide: Implementing Two-Way Synchronization with Descendant Components
@State: State Owned by Component
@StorageLink: Bidirectional Data Synchronization with AppStorage
@StorageProp: Unidirectional Data Synchronization with AppStorage
@Track: Implementing Class Object Property-Level Updates
@Watch: Getting Notified of State Variable Changes
@Computed: Declaring Computed Properties
@Consumer: Synchronizing Across Component Levels in a Two-Way Manner
@Event: Standardizing Component Output
@Local: Representing the Internal State of Components
@Monitor: Listening for Value Changes of the State Variables
@ObservedV2: Observing Class Property Changes
@Once: Implementing Initialization Once
@Param: Inputting External Parameters to Components
@Provider: Synchronizing Across Component Levels in a Two-Way Manner
@SyncMonitor: Synchronous Listening for Value Changes of the State Variables
@Trace: Observing Class Property Changes
@Type: Marking Types of Class Properties
@Env: Environment Variable
WithEnv: Environment Variable Container
@CustomEnv: Custom Environment Variable
Basic Types
Pixel Units
Enums
Common Event Callbacks
GridContainer
Panel
NavRouter
Navigator
Click Control
Grid
Stepper
StepperItem
Universal Attributes
Universal Styles
Universal Events
Universal Methods
Animation Styles
Gradient Styles
Transition Styles
Media Query
Custom Font Styles
Atomic Layout
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
Basic Concepts
grid-container
grid-row
grid-col
Universal Attributes
svg
rect
circle
ellipse
path
line
polyline
polygon
text
tspan
textPath
animate
animateMotion
animateTransform
Basic Usage of Custom Components
Data Transfer and Processing
Style Inheritance
slot
Lifecycle Definition
Crown Rotation Event Monitoring
Dynamic Component Creation
Data Type Attributes
File Organization
"js" Tag
app.js
Lifecycle
Multi-Language Capability
HML
CSS
JavaScript
Universal Events
Universal Attributes
Universal Styles
Animation Styles
Media Query
div
list
list-item
stack
swiper
chart
image
image-animator
input
marquee
picker-view
progress
qrcode
slider
switch
text
canvas
CanvasRenderingContext2D
Monitoring Rotating Crown Events
File Organization
HML
CSS
Multi-Language Capability
Version Compatibility Adaptation
Theme Configuration
Universal Attributes
Universal Styles
Universal Events
Gradient Styles
Media Query
Custom Font Styles
Accessibility
Atomic Layout
badge
div
list
list-item
stack
swiper
button
calendar
chart
clock
divider
image
input
progress
span
text
Custom Component Basic Usage
Data Types
ArkUI_NativeModule
ArkUI_Accessibility
OH_NativeXComponent Native XComponent
ArkUI_EventModule
WindowManager
OH_DisplayManager
ArkUI_RenderNodeUtils
common_attributes.h
drag_and_drop.h
drawable_descriptor.h
image.h
image_animator.h
layout.h
embedded_component.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_material.h
ArkUI_NodeAttributeType (Basic Attribute)
ArkUI_NodeAttributeType (General Attribute)
ArkUI_NodeAttributeType (Layout Attribute)
ArkUI_NodeAttributeType (Layout Component Attribute)
ArkUI_NodeAttributeType (Animation and Visual Effect Attributes)
ArkUI_NodeAttributeType (Interaction Attribute)
ArkUI_NodeAttributeType (Form Component Attribute)
ArkUI_NodeAttributeType (Scrollable Container Component Attribute)
ArkUI_NodeAttributeType (Navigation Component Attribute)
ArkUI_NodeAttributeType (Information Display Component Attribute)
ArkUI_NodeAttributeType (Information Selection Component Attribute)
ArkUI_NodeAttributeType (Accessibility Attribute)
ArkUI_NodeAttributeType (Text Display Component Attribute)
ArkUI_NodeAttributeType (Text Input Component Attribute)
ArkUI_NodeAttributeType (Rich Text Component Attribute)
ArkUI_NodeAttributeType (Image Component Attribute)
ArkUI_NodeAttributeType (XComponent Attribute)
ArkUI_NodeAttributeType (EmbeddedComponent Attribute)
ArkUI_NodeAttributeType (Others)
custom_attributes.h
native_node_napi.h
native_render.h
grid.h
list.h
native_type.h
native_type_visual.h
native_xcomponent_key_event.h
navigation_router.h
picker.h
button.h
checkbox.h
slider.h
scroll.h
styled_string.h
custom_span.h
image_span.h
progress.h
rich_editor.h
text.h
text_common.h
text_input.h
text_area.h
swiper.h
water_flow.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
xcomponent.h
error_code.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
ArkUI_ParallelInnerGestureEvent
ArkUI_TouchRecognizer
ArkUI_TouchRecognizerHandle
ArkUI_TouchRecognizerHandleArray
ArkUI_GestureRecognizerHandle
ArkUI_GestureRecognizerHandleArray
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
OHNativeWindow
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
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
OH_WindowManager_DensityInfo
NativeDisplayManager_Rect
NativeDisplayManager_WaterfallDisplayAreaRects
NativeDisplayManager_CutoutInfo
NativeDisplayManager_DisplayHdrFormat
NativeDisplayManager_DisplayColorSpace
NativeDisplayManager_DisplayInfo
NativeDisplayManager_DisplaysInfo
ArkUI_CircleShape
ArkUI_ColorAnimatableProperty*
ArkUI_ColorProperty*
ArkUI_CommandPath
ArkUI_FloatAnimatableProperty*
ArkUI_FloatProperty*
ArkUI_ImmersiveMaterial
ArkUI_ImmersiveMaterial*
ArkUI_LightEffectOptions
ArkUI_LightEffectOptions*
ArkUI_NodeBorderColor
ArkUI_NodeBorderRadius
ArkUI_NodeBorderStyle
ArkUI_NodeBorderWidth
ArkUI_RectShape
ArkUI_RenderContentModifier*
ArkUI_RenderNodeClipOption
ArkUI_RenderNode*
ArkUI_RenderNodeMaskOption
ArkUI_RenderBlurStyleOption
ArkUI_RoundRectShape
ArkUI_Vector2AnimatableProperty*
ArkUI_Vector2Property*
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
ArkUI_NativeGestureAPI_3
ArkUI_ParallelGestureEvent
OH_ArkUI_LinearGradientOptions
OH_ArkUI_RadialGradientOptions
API Call Error Codes
Popup Window Error Codes
Router Error Codes
Drag Event Error Codes
AI Image Analyzer Error Codes
Focus Error Codes
System Resource Error Codes
Auxiliary Node Error Codes
Sheet Error Codes
Scrollable Component Error Codes
Snapshot Error Codes
Styled String Error Codes
UI Context Error Codes
Render State Listening Error Codes
Interaction Event Error Codes
Canvas Component Error Codes
Custom Node Error Codes
Error Codes for Dynamic Attribute Configuration
Error Codes of Logic Components
UIExtension Error Codes
UI Appearance Error Codes
NodeAdapter Error Codes
XComponent Error Codes
Video Component Error Codes
State Management Error Codes
Render Node Error Codes
DrawableDescriptor Error Codes
Environment Variable Error Codes
Color Inversion Error Codes
Display Error Codes
Window Error Codes
Compilation Error Codes
Module Description
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)
AIPageCommand
AIPageInteraction
AIPageResult
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)
Interface (BackForwardList)
Interface (NativeMediaPlayerBridge)
Interface (NativeMediaPlayerHandler)
Interface (WebMessagePort)
Interfaces (Others)
Enums
Types
@ohos.web.netErrorList(The List of ArkWeb Network Protocol Stack Errors)
@ohos.web.WebNativeMessagingExtensionAbility (Web Native Messaging Extension Ability)
@ohos.web.WebNativeMessagingExtensionContext (Web Native Messaging Extension Context)
@ohos.web.webNativeMessagingExtensionManager (Web Native Messaging Extension Manager)
Components
Attributes
Events
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 (VerifyPinHandler)
Class (WebContextMenuParam)
Class (WebContextMenuResult)
Class (WebCookie)
Class (WebKeyboardController)
Class (WebResourceError)
Class (WebResourceRequest)
Class (WebResourceResponse)
Interfaces (Others)
Enums
Types
Class (WebController)
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 Error Codes
@ohos.reminderAgentManager (Agent-powered Reminder)
@ohos.resourceschedule.backgroundTaskManager (Background Task Management)
@ohos.resourceschedule.workScheduler (Deferred Task Scheduling)
@ohos.WorkSchedulerExtensionAbility (Deferred Task Scheduling Callbacks)
@ohos.resourceschedule.backgroundProcessManager (Background Child Process Management)
WorkSchedulerExtensionContext
@ohos.backgroundTaskManager (Background Task Management)
@ohos.bundleState (Device Usage Statistics)
@ohos.reminderAgent (Agent-powered Reminder)
BackgroundProcessManager
TransientTask
background_process_manager.h
transient_task_api.h
transient_task_type.h
TransientTask_DelaySuspendInfo
TransientTask_TransientTaskInfo
backgroundTaskManager Error Codes
backgroundProcessManager Error Codes
reminderAgentManager Error Codes
workScheduler Error Codes
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
@ohos.application.BackupExtensionAbility (Backup and Restore Extension Capability)
@ohos.file.cloudSync (Device-Cloud Sync)
@ohos.file.cloudSyncManager (Device-Cloud Sync Management)
@ohos.file.environment (Directory Environment Capability)
@ohos.file.fileuri (File URI)
@ohos.file.fs (File Management)
@ohos.file.hash (File Hash Processing)
@ohos.file.picker (Picker)
@ohos.file.securityLabel (Data Label)
@ohos.file.statvfs (File System Space Statistics)
@ohos.file.storageStatistics (Application Storage Statistics)
@ohos.fileshare (File Sharing)
@ohos.file.BackupExtensionContext (Backup and Restore Extension Capability)
@ohos.document (File Operation)
@ohos.fileio (File Management)
@ohos.statfs (statfs)
@system.file (File Storage)
Environment
FileIO
fileShare
fileUri
CloudDisk
Archive
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
oh_archive.h
oh_archive_errcode.h
FileShare_PolicyErrorResult
FileShare_PolicyInfo
CloudDisk_ChangeData
CloudDisk_ChangesResult
CloudDisk_DisplayNameInfo
CloudDisk_FailedList
CloudDisk_FileSyncState
CloudDisk_PathInfo
CloudDisk_ResultList
CloudDisk_SyncFolder
OH_Archive_StreamInfo
OH_Archive_Stream_Config
ArchiveWriteCtx
ArchiveReadCtx
ArchiveStreamWriteCtx
ArchiveStreamReadCtx
File Management Error Codes
rag (Retrieval Augmentation Generation)
retrieval (Intelligence Data Platform)
knowledgeProcessor (Knowledge Processing)
localChatModel (On-Device Q&A Model)
ArkTS API Error Codes
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
@ohos.app.form.formBindingData (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)
FormExtensionContext
FormEditExtensionContext
LiveFormExtensionContext
@ohos.application.formBindingData (formBindingData)
@ohos.application.formError (formError)
@ohos.application.formInfo (formInfo)
@ohos.application.formProvider (formProvider)
Widget Error Codes
@ohos.InputMethodExtensionAbility (InputMethodExtensionAbility)
@ohos.InputMethodExtensionContext (InputMethodExtensionContext)
@ohos.inputMethod.Panel (Input Method Panel)
@ohos.InputMethodSubtype (Input Method Subtype)
@ohos.inputMethod (Input Method Framework)
@ohos.inputMethodEngine (Input Method Service)
@ohos.inputMethodList (Input Method List)
@ohos.inputMethod.ExtraConfig (Input Method Extension Information)
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
Input Method Framework Error Codes
@ohos.rpc (RPC)
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 Error Codes
@ohos.i18n (Internationalization)
@ohos.intl (Internationalization)
@ohos.resourceManager (Resource Management)
@ohos.sendableResourceManager (Resource Manager)
RawFileDescriptor
Resource
SendableResource
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 Error Codes
Resource Manager Error Codes
hdsDrawable
symbolRegister
hdsEffect
hdsMaterial
ArkTS API Error Codes
HdsNavigation (Navigation Root View Container)
HdsNavDestination (Navigation Child Page Container)
HdsSideBar
HdsSnackBar
HdsSideMenu
HdsActionBar
HdsTabs
HdsListItem
HdsListItemCard
HdsVisualComponent
MultiWindowEntryInAPP
HdsColorPicker (Color Picker Component)
@ohos.security.asset (Asset Store Service)
AssetApi
AssetType
asset_api.h
asset_type.h
Asset_Blob
Asset_Value
Asset_Attr
Asset_Result
Asset_ResultSet
Asset_SyncResult
Asset Store Service Error Code
@hms.security.confidentialSpace (Confidential Space Service)
ArkTS API Error Codes
@ohos.security.cryptoFramework (Crypto Framework)
@system.cipher (Cipher Algorithm)
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
Crypto Framework Error Codes
@ohos.dlpPermission (DLP)
@ohos.security.identifySensitiveContent (Identifying Sensitive Content)
DlpPermissionApi
dlp_permission_api.h
DLP Service Error Codes
DeviceVerify
SafetyDetect
RiskControlEngine
TrustedAppService
BusinessRiskIntelligentDetection
SecurityAudit
AntifraudPicker
TrustedAuthentication (Digital Shield)
DlpAntiPeep
SuperPrivacyMode
DeviceVerify
SafetyDetect
RiskControlEngine
TrustedAppService
BusinessRiskIntelligentDetection
SecurityAudit
AntifraudPicker
TrustedAuthentication (Digital Shield)
DlpAntiPeep
SuperPrivacyMode
DeviceSecurityMode
SecurityAudit
SecurityAntivirus
device_security_mode.h
security_audit.h
security_antivirus.h
SecurityAudit_Event
SecurityAudit_Filter
SecurityAntivirus_Antivirus
SecurityAudit_AuthClientConfiguration
Verifying a Device Token
Querying the Device Marking Status
Updating the Device Marking Status
Deleting the Device Marking Status
REST API Error Codes
fileGuard (Hierarchical File Management)
recoveryKey (Enterprise Recovery Key)
Enterprise Data Guard Kit Error Codes
virusRemediation (Virus Detection and Handling)
ArkTS API Error Codes
FIDO
IFAA
SOTER
Passkey
DID
FIDO
IFAA
SOTER
Passkeys
DID Service
FIDO2 (Passkey Service)
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
@ohos.security.cert (Certificate)
@ohos.security.certManager (Certificate Management)
@ohos.security.certManagerDialog (Certificate Management Dialog Box)
CertManager
CertManagerType
cm_native_api.h
cm_native_type.h
OH_CM_Blob
OH_CM_Credential
OH_CM_CredentialDetailList
OH_CM_UkeyInfo
Certificate Error Codes
Certificate Management Error Codes
Certificate Management Dialog Box Error Codes
@ohos.security.huks (Universal Keystore)
@ohos.security.huksExternalCrypto (External Key Management)
@ohos.security.CryptoExtensionAbility (Key Extension Ability)
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 Error Codes
@ohos.userIAM.userAuth (User Authentication)
@ohos.userIAM.userAuthIcon (Embedded User Authentication Icons)
User Authentication Error Codes
accessoryAccessManager (Accessory Integration Management)
@ohos.bluetooth.a2dp (Bluetooth A2DP Module)
@ohos.bluetooth.access (Bluetooth Access Module)
@ohos.bluetooth.baseProfile (Bluetooth baseProfile Module)
@ohos.bluetooth.ble (Bluetooth BLE Module)
@ohos.bluetooth.connection (Bluetooth Connection Module)
@ohos.bluetooth.constant (Bluetooth Constant Module)
@ohos.bluetooth.common (Bluetooth Common Module)
@ohos.bluetooth.hfp (Bluetooth HFP Module)
@ohos.bluetooth.hid (Bluetooth HID Module)
@ohos.bluetooth.pan (Bluetooth PAN Module)
@ohos.bluetooth.socket (Bluetooth Socket Module)
@ohos.bluetooth.pbap (Bluetooth PBAP Module)
@ohos.bluetooth.map (Bluetooth MAP Module)
@ohos.connectedTag (Active Tags)
@ohos.nfc.cardEmulation (Standard NFC Card Emulation)
@ohos.nfc.controller (Standard NFC)
@ohos.nfc.tag (Standard NFC Tags)
@ohos.secureElement (SE Management)
@ohos.wifiManager (WLAN)
@ohos.wifiManagerExt (WLAN Extension)
@ohos.FusionConnectivity.partnerAgent (Device Status Notification Module)
@ohos.FusionConnectivity.PartnerAgentExtensionContext (Context for Device Status Notifications)
@ohos.FusionConnectivity.PartnerAgentExtensionAbility (ExtensionAbility Component Supporting Device Status Notifications)
@ohos.FusionConnectivity.ranging (Fusion Connectivity Ranging Module)
@ohos.nearlink.manager (Basic NearLink Management Capability)
@ohos.nearlink.remoteDevice (NearLink Remote Device Connection Capability)
@ohos.nearlink.advertising (NearLink Advertising Capability)
@ohos.nearlink.scan (NearLink Scanning Capability)
@ohos.nearlink.ssap (NearLink SSAP Connection Capability)
@ohos.nearlink.dataTransfer (NearLink Data Transfer Capability)
@ohos.nearlink.cdsm (CDSM Capability)
@ohos.nearlink.constant (NearLink Common Constants)
nfctech (Standard NFC Technologies)
tagSession (Standard NFC Tag Session)
Bluetooth
Wifi
oh_bluetooth.h
oh_wifi.h
Bluetooth Error Codes
Wi-Fi Error Codes
NFC Error Codes
SecureElement Error Codes
Error Codes of the Converged Short-Range Service Subsystem
NearLink Error Codes
@ohos.bluetooth (Bluetooth)
@ohos.bluetoothManager (Bluetooth)
@ohos.wifi (WLAN)
@ohos.wifiext (WLAN Extension)
@system.bluetooth (Bluetooth)
@ohos.distributedDeviceManager (Device Management)
@ohos.distributedsched.abilityConnectionManager (Cross-Device Connection Management)
@ohos.application.DistributedExtensionAbility (Distributed Extension)
@ohos.application.DistributedExtensionContext (Distributed Extension Context)
@ohos.distributedsched.linkEnhance (Enhanced Connection)
@ohos.distributedsched.proxyChannelManager (Proxy Channel Management)
DeviceManager
oh_device_manager.h
oh_device_manager_err_code.h
Device Management Error Codes
Link Enhancement Error Codes
Proxy Channel Management Error Codes
manager (NearLink Enabling Capability)
remoteDevice (Capability to Connect to a Remote Device)
advertising (NearLink Advertising Capability)
scan (NearLink Scanning Capability)
ssap (NearLink SSAP Connection Capability)
dataTransfer (NearLink Data Transfer Capability)
cdsm (NearLink Collaborative Device Set Management Capability)
constant (NearLink Common Constants)
ArkTS API Error Codes
@ohos.net.connection (Network Connection Management)
@ohos.net.ethernet (Ethernet Connection Management)
@ohos.net.http (Data Request)
@ohos.net.mdns (mDNS Management)
@ohos.net.policy (Network Policy Management)
@ohos.net.socket (Socket Connection)
@ohos.net.statistics (Traffic Management)
@ohos.net.sharing (Network Sharing)
@ohos.net.vpnExtension (Enhanced VPN Management)
@ohos.net.vpn (VPN Management)
@ohos.net.webSocket (WebSocket Connection)
@ohos.net.netFirewall (Network Firewall)
@ohos.net.networkSecurity (Network Security)
@ohos.net.eap (Extensible Authentication)
@ohos.app.ability.VpnExtensionAbility (Enhanced VPN Management)
VpnExtensionContext
TrafficFilter
NetConnection
Netstack
NetEthernet
net_connection.h
net_connection_type.h
net_ssl_c.h
net_ssl_c_type.h
net_trafficfilter.h
net_trafficfilter_type.h
net_websocket.h
net_websocket_type.h
net_http.h
net_http_type.h
http_interceptor.h
http_interceptor_type.h
net_ethernet.h
net_ethernet_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_TrafficFilter_IPAddress
OH_TrafficFilter_IPCidr
OH_TrafficFilter_IPRange
OH_TrafficFilter_IPMulti
OH_TrafficFilter_IPMatch
OH_TrafficFilter_InterfaceMatch
OH_TrafficFilter_PortRange
OH_TrafficFilter_PortMulti
OH_TrafficFilter_PortMatch
OH_TrafficFilter_ConnectionInfo
OH_TrafficFilter_ProcessInfo
OH_TrafficFilter_RedirectRule
OH_TrafficFilter_Redirector
OH_Http_Interceptor_Headers
OH_Http_Interceptor_Request
OH_Http_Interceptor_Response
OH_Http_Interceptor
Ethernet_MacAddressInfo
Ethernet_MacAddrInfoList
Ethernet_NetAddr
Ethernet_NetAddrInfo
Ethernet_NetAddrList
@system.network (Network State)
@system.fetch (Data Request)
HTTP Error Codes
Socket Error Codes
WebSocket Error Codes
Network Connection Management Error Codes
Ethernet Connection Error Codes
Extensible Authentication Error Codes
Network Sharing Error Codes
Policy Management Error Codes
mDNS Error Codes
Traffic Management Error Codes
VPN Error Codes
Network Security Error Codes
Kernel Error Codes
Firewall Error Codes
netQuality (Network Quality)
netHandover (Network Handover)
netBoost (Network Acceleration)
ArkTS API Error Codes
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
rcp (Data Requests)
Unified Remote Procedure Call (URPC): High-Performance RPC Communication Library
RemoteCommunication
rcp.h
rcp_quic.h
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
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
Rcp_QuicSlist
Rcp_QuicIpAddress
Rcp_QuicIoVec
Rcp_QuicStreamData
API Error Codes
Key Fields in Fault Logs
@hms.collaboration.serviceInteraction (OneHop)
CollaborationCamera (Device Interconnectivity Component)
CollaborationService (Device Interconnectivity Component)
CollaborationDevicePicker (Hopping Control)
devicePicker (Device Selection Controller)
ServiceCollaboration
service_collaboration_api.h
ServiceCollaboration_CollaborationDeviceInfo
ServiceCollaboration_CollaborationDeviceInfoSets
ServiceCollaboration_SelectInfo
ServiceCollaborationCallback
ServiceCollaboration_SelectInfoV2
Error Codes
@ohos.telephony.call (Call)
@ohos.telephony.data (Cellular Data)
@ohos.telephony.esim (eSIM Management)
@ohos.telephony.observer (Telephony Status Observer)
@ohos.telephony.radio (Network Search)
@ohos.telephony.sim (SIM Management)
@ohos.telephony.sms (SMS)
@ohos.telephony.vcard (VCard)
Telephony
telephony_data.h
telephony_radio.h
telephony_radio_type.h
Telephony_NetworkState
Telephony Error Codes
@ohos.account.appAccount (Application Account Management)
@ohos.account.distributedAccount (Distributed Account Management)
@ohos.account.osAccount (OS Account Management)
@ohos.batteryInfo (Battery Information)
@ohos.busManager.serial (Serial Port Management)
@ohos.deviceInfo (Device Information)
@ohos.power (Power Management)
@ohos.runningLock (RunningLock)
@ohos.thermal (Thermal Management)
@ohos.usbManager (USB Manager)
@ohos.usbManager.serial (Serial Port Management)
@ohos.app.ability.PrintExtensionAbility (PrintExtensionAbility)
PrintExtensionContext
@ohos.pasteboard (Pasteboard)
@ohos.print (Print)
@ohos.scan (Scan)
@ohos.request (Upload and Download)
@ohos.request.cacheDownload (Download and Cache)
@ohos.zlib (Zip)
@ohos.selectionInput.SelectionExtensionAbility (SelectionExtensionAbility)
@ohos.selectionInput.SelectionExtensionContext (Word Selection Extension Context)
@ohos.selectionInput.selectionManager (Word Selection Management)
@ohos.selectionInput.SelectionPanel (Word Selection Panel)
System Common Events
@ohos.commonEventManager (Common Event)
@ohos.events.emitter (Emitter)
CommonEventData
CommonEventPublishData
CommonEventSubscriber
CommonEventSubscribeInfo
@ohos.base (Public Callback Information)
@ohos.annotation (Annotation)
@ohos.customization.customConfig (Custom Configurations)
@ohos.settings (Data Item Settings)
@ohos.settingsLite (Setting Information)
@ohos.wallpaper (Wallpaper)
@ohos.resourceschedule.systemload (System Load Level Management)
@ohos.systemDateTime (System Time and Time Zone)
@ohos.intelligentScene (Intelligent Scene)
System Common Events
@ohos.commonEvent (Common Event)
@ohos.usb (USB Manager) (No Longer Maintained)
@system.brightness (Screen Brightness)
@system.battery (Battery Information)
@system.device (Device Information)
@system.request (Upload and Download)
@ohos.screenLock (Screen Lock)
@ohos.systemTime (System Time and Time Zone)
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 Error Codes
Serial Port Management Error Codes
Running Lock Error Codes
zlib Error Codes
Pasteboard Error Codes
Thermal Manager Error Codes
Upload and Download Error Codes
Time and Time Zone Service Error Codes
Common Event Error Codes
Power Manager Error Codes
Account Management Error Codes
Print Service Error Codes
Settings Error Codes
Word Selection Error Codes
Intelligent Scene Error Codes
deviceInfo Error Codes
statusBarManager (Status Bar Management Service)
StatusBarViewExtensionAbility (Status Bar Extension Ability)
quickBarManager (Quick Bar Management Service)
ArkTS API Error Codes
@hms.fast.mathPrediction (Mathematical Prediction)
@hms.fast.schedulingOptimization (System Performance Optimization)
ArkTS API Error Codes
FAST
fast_ads_concurrent_hashmap.h
fast_ads_segment_map.h
fast_common_def.h
fast_dsp_common.h
fast_dsp_transform.h
fast_solver_polynomial.h
fast_solver_rect_partition.h
fast_collections_hashmap.h
fast_utils_algorithm.h
scheduling_optimization.h
FAST_BiquadCoefficients
FAST_BiquadCoefficientsD
FAST_Biquadm
FAST_BiquadmD
FAST_BiquadState
FAST_BiquadStateD
FAST_Poly
FAST_Rect
FAST_SplitComplex
FAST_SplitComplexD
HMS_FAST_SortData
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
@ohos.multimodalInput.inputDevice (Input Device)
@ohos.multimodalInput.inputEvent (Input Event)
@ohos.multimodalInput.intentionCode (Intention Code)
@ohos.multimodalInput.keyCode (Key Code)
@ohos.multimodalInput.keyEvent (Key Event)
@ohos.multimodalInput.mouseEvent (Mouse Event)
@ohos.multimodalInput.gestureEvent (Gesture Event)
@ohos.multimodalInput.pointer (Mouse Pointer)
@ohos.multimodalInput.touchEvent (Touch Event)
@ohos.multimodalInput.infraredEmitter (IR Management)
@ohos.multimodalInput.inputConsumer (Global Shortcut Keys)
@ohos.multimodalInput.inputEventClient (Input Event Injection)
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
Global Shortcut Key Error Codes
Input Device Error Codes
Mouse Pointer Error Codes
IR Management Error Codes
Input Event Injection Error Codes
@ohos.enterprise.accountManager (Account Management)
@ohos.enterprise.adminManager (Administrator Permission Management)
@ohos.enterprise.applicationManager (Application Management)
@ohos.enterprise.bluetoothManager (Bluetooth Management)
@ohos.enterprise.browser (Browser Management)
@ohos.enterprise.bundleManager (Bundle Management)
@ohos.enterprise.common (Common Module)
@ohos.enterprise.deviceControl (Device Control Management)
@ohos.enterprise.deviceInfo (Device Information Management)
@ohos.enterprise.deviceSettings (Device Settings Management)
@ohos.enterprise.locationManager (Location Service Management)
@ohos.enterprise.networkManager (Network Management)
@ohos.enterprise.restrictions (Restrictions)
@ohos.enterprise.securityManager (Security Management)
@ohos.enterprise.systemManager (System Management)
@ohos.enterprise.usbManager (USB Management)
@ohos.enterprise.wifiManager (Wi-Fi Management)
@ohos.enterprise.EnterpriseAdminExtensionAbility (Enterprise Device Management Extension Ability)
@ohos.enterprise.telephonyManager (Telephony Management)
EnterpriseAdminExtensionContext (Enterprise Device Management Extension Context)
Enterprise Device Management Error Codes
QoS
qos.h
OH_QoS_GewuCreateSessionResult
OH_QoS_GewuSubmitRequestResult
hotspot-accelerate
linx_hotspot.h
Hotspot Accelerate Error Codes
deviceDetection (Device Hardware Consistency Check)
ArkTS API Error Codes
navigationInfoMgr (Navigation Information Management)
smartMobilityCommon (Smart Mobility)
ArkTS API Error Codes
naviTurnMode
trafficLane
@ohos.app.ability.DriverExtensionAbility (Driver Extension Ability)
@ohos.driver.deviceManager (Peripheral Management)
DriverExtensionContext
Ddk
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
UsbSerial_Params
UsbSerial_Device
Driver Error Codes
@ohos.stationary (Device Status Awareness Framework)
@ohos.multimodalAwareness.motion (Motion Awareness)
@ohos.multimodalAwareness.metadataBinding (Metadata Binding)
@ohos.multimodalAwareness.deviceStatus (Device Status Awareness)
@ohos.multimodalAwareness.userStatus (User Status Awareness)
Motion Awareness Error Codes
Metadata Binding Error Codes
Device Status Awareness Error Codes
User Status Awareness Error Codes
HandwriteController (Handwriting Suite Function)
PointPredictor (Point Prediction Function)
InstantShapeGenerator (Instant Shape Function)
imageFeaturePicker (Global Color Picker Function)
stylusInteraction (Stylus Interaction Function)
StylusFrameBoost (Stylus Frame Boost)
HandwriteComponent (Handwriting Suite Components)
GlobalColorPicker
HandWrite
native_gcp_api.h
native_handwrite_api.h
HMS_GCP_Color
HMS_GCP_PickedColorInfo
HandWrite_HistoricalPoint
ArkTS API Error Codes
@ohos.sensor (Sensor)
@ohos.vibrator (Vibrator)
@system.sensor (Sensor)
@system.vibrator (Vibrator)
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
Sensor Error Codes
Vibrator Error Codes
@ohos.distributedHardware.mechanicManager (Mechanic Manager)
Mechanic Manager Error Codes
wearEngine (Wearable Capabilities)
wearEngineLite (Wearable Capabilities) (Lite)
ArkTS API Error Codes
aodNaviManager (AOD Navigation Service)
ArkTS API Error Codes
@ohos.hichecker (HiChecker)
@ohos.hidebug (HiDebug)
@ohos.hilog (HiLog)
@ohos.hiTraceChain (HiTraceChain)
@ohos.hiTraceMeter (HiTraceMeter)
@ohos.hiviewdfx.FaultLogExtensionAbility (Delayed Fault Notification)
@ohos.hiviewdfx.FaultLogExtensionContext (Delayed Fault Notification Context)
@ohos.hiviewdfx.hiAppEvent (Application Event Logging)
@ohos.hiviewdfx.hiRetrieval (Application Grayscale)
@ohos.hiviewdfx.jsLeakWatcher (ArkTS Leak Watcher)
@ohos.bytrace (ByTrace)
@ohos.hiAppEvent (HiAppEvent)
@ohos.faultLogger (FaultLogger)
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 Error Codes
HiAppEvent Error Codes
HiDebug Error Codes
HiDebug CpuUsage Error Codes
HiDebug Trace Error Codes
HiCollie Error Codes
JsLeakWatcher Error Codes
Application Grayscale Error Codes
@ohos.app.ability.abilityDelegatorRegistry (AbilityDelegatorRegistry)
@ohos.application.testRunner (TestRunner)
@ohos.UiTest
@ohos.test.PerfTest
AbilityDelegator
AbilityDelegatorArgs
ShellCmdResult
@ohos.application.abilityDelegatorRegistry (AbilityDelegatorRegistry)
UiTest Error Codes
PerfTest Error Codes
Module Description
Functions
Interface (AudioCapturer)
Interface (AudioDebuggingManager)
Interface (AudioDeviceEnhanceManager)
Interface (AudioManager)
Interface (AudioRecordingManager)
Interface (AudioRenderer)
Interface (AudioRoutingManager)
Interface (AudioSessionManager)
Interface (AudioSpatializationManager)
Interface (AudioStreamManager)
Interface (AudioVolumeGroupManager)
Interface (AudioVolumeManager)
Interface (AudioLoopback)
Interfaces (Others)
Enums
Constants
Types
@ohos.multimedia.audioHaptic (Audio-Haptic)
@ohos.multimedia.systemSoundManager (System Sound Management)
SystemSoundPlayer (Sound Effect Player)
@ohos.multimedia.avVolumePanel (Volume Panel)
OHAudio
OHAudioSuite
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_accessory_common.h
native_audio_accessory_manager.h
native_audio_accessory_input_stream_manager.h
native_audio_converter.h
native_audio_device_base.h
native_audio_debugging_manager.h
native_audio_device_enhance_manager.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_AudioDebuggingManager
OH_AudioDeviceEnhanceManager
OH_AudioResourceManager
OH_AudioWorkgroup
OH_AudioAccessoryManager
OH_AudioAccessory
OH_AudioAccessoryInputStream
OH_AudioAccessoryInfo
OH_AudioAccessoryNoiseReductionCapability
OH_AudioAccessoryCapabilities
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
OH_AudioConverterStruct
OH_MIDIEvent
OH_MIDIDeviceInformation
OH_MIDIPortInformation
OH_MIDIPortDescriptor
OH_MIDICallbacks
OH_MIDIClientStruct
OH_MIDIDeviceStruct
Audio Error Codes
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
native_avbuffer.h
native_avbuffer_info.h
native_averrors.h
native_avformat.h
native_avmemory.h
native_avcodec_videobase.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
OH_PolarPosition
OH_AudioObjectPosition
OH_AudioVividMetaBuilderStruct
AudioDecoder
AudioEncoder
avcodec_audio_channel_layout.h
native_avcodec_audiodecoder.h
native_avcodec_audioencoder.h
Module Description
Functions
Class (AVCastPickerHelper)
Interface (AVCastController)
Interface (AVSession)
Interface (AVSessionController)
Interfaces (Others)
Enums
Types
@ohos.multimedia.avCastPickerParam (AVCastPicker Parameters)
Module Description
Functions
Class (AVMusicTemplate)
Class (AVMusicTemplateController)
Interfaces (Others)
Enums
Types
@ohos.multimedia.avCastPicker (AVCastPicker)
@ohos.multimedia.avInputCastPicker (AVInputCastPicker)
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
AVSession Management Error Codes
Audio Template Error Codes
Module Description
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)
APIs (ManualExposureQuery)
APIs (ManualFocus)
Interface (ManualFocusQuery)
APIs (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 (Others)
Enums
Types
Deprecated Interface (CaptureSession, deprecated)
@ohos.multimedia.cameraPicker (Camera Picker)
OH_Camera
camera.h
camera_device.h
camera_input.h
camera_manager.h
capture_session.h
metadata_output.h
metadata_object_ext.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
OH_Camera_PhotoCaptureSettingExt
Camera_FrameShutterInfo
Camera_CaptureEndInfo
Camera_Rect
OH_Camera_Rect_Ext
Camera_MetadataObject
OH_Camera_MetadataObjectExt
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
Camera Error Codes
Module Description
Functions
Interface (MediaKeySession)
Interface (MediaKeySystem)
Interfaces (Others)
Enums
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 Error Codes
Module Description
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)
Class (JfifMetadata)
Class (TiffMetadata)
Class (PngMetadata)
Class (XMPMetadata)
Class (AvisMetadata)
Interface (Picture)
Interface (PixelMap)
Interfaces (Others)
Enums
Types
Constants
@ohos.multimedia.sendableImage (Image Processing Based on Sendable Objects)
@ohos.multimedia.videoProcessingEngine (Video Processing Engine)
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
OH_PictureNative_AuxiliaryPictureCopyItem
OH_PictureNative_MetadataCopyItem
Image Error Codes
Video Processing Engine Error Codes
Module Description
Functions
Interface (AVAdsController)
Interface (AVDownloaderManager)
Interface (AVImageGenerator)
Interface (AVMetadataExtractor)
Interface (AVPlayer)
Interface (AVRecorder)
Interface (AVScreenCaptureRecorder)
Interface (AVTranscoder)
Interface (MediaSource)
Interface (MediaSourceLoadingRequest)
Interfaces (Others)
Enums
Types
Deprecated Interface (AudioPlayer, deprecated)
Deprecated Interface (AudioRecorder, deprecated)
Deprecated Interface (VideoPlayer, deprecated)
@ohos.multimedia.videoProcessing (Video Processing)
SoundPool (Sound Pool)
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_LowPowerAVSink_Capability
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
Media Error Codes
Module Description
Functions
Class (MediaAlbumChangeRequest)
Class (MediaAssetChangeRequest)
Class (MediaAssetsChangeRequest)
Class (MediaAssetManager)
Class (PhotoViewPicker)
Classes (Others)
Interface (AbsAlbum)
Interface (Album)
Interface (FetchResult)
Interface (MediaAssetDataHandler)
Interface (MediaAssetProgressHandler)
Interface (MovingPhoto)
Interface (PhotoAccessHelper)
Interface (PhotoAsset)
Interface (QuickImageDataHandler)
Interfaces (Others)
Enums
Types
@ohos.file.sendablePhotoAccessHelper (Album Management Based on a Sendable Object)
@ohos.file.AlbumPickerComponent (AlbumPickerComponent)
@ohos.file.PhotoPickerComponent (PhotoPickerComponent)
@ohos.file.RecentPhotoComponent (RecentPhotoComponent)
@ohos.multimedia.movingphotoview (MovingPhotoView)
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
Media Library Error Codes
ringtone (Ringtone Service)
ArkTS API Error Codes
customScan (Barcode Scanning by Custom UI)
detectBarcode (Recognizing Barcodes in an Image)
generateBarcode (Barcode Image Generation)
scanBarcode (Barcode Scanning by Default UI)
scanCore (Common Barcode Scanning Information)
ArkTS API Error Codes
arEngine (AR Capabilities)
arViewController (AR Scene Management Capabilities)
ARView (AR Scene Visualization)
AR Engine
ar_engine_core.h
AREngine_ARAugmentedImageSource
AREngine_ClipPlaneDistance
AREngine_ARSemanticDensePointData
AREngine_ARSemanticDenseCubeData
AR Engine Error Codes
@ohos.effectKit (Image Effects)
@ohos.graphics.colorSpaceManager (Color Space Management)
@ohos.graphics.sendableColorSpaceManager (Sendable Color Space Management)
@ohos.graphics.common2D (Common Data Types of 2D Graphics)
@ohos.graphics.displaySync (Variable Frame Rate)
Module Description
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 (Others)
Enums
@ohos.graphics.hdrCapability (HDR Capability)
@ohos.graphics.text (Text)
@ohos.graphics.uiEffect (Cascading Effect)
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
colorSpaceManager Error Codes
Drawing and Display Error Codes
@ohos.graphics.scene (ArkGraphics 3D)
Scene
SceneNode
SceneType
SceneResources
ScenePostProcessSettings
assetDownloadManager (Resource Package Download Management)
AssetAccelerationExtensionAbility (ExtensionAbility for Resource Acceleration)
AssetAccelerationExtensionContext (ExtensionContext for Resource Acceleration)
launchAcceleration (Game Launch Acceleration)
gameBuddyService (Game Buddy Service)
ArkTS API Error Codes
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
spatialRender
spatialEdit
spatial_recon_interface.h
SpatialRecon
HMS_SpatialRecon_ModelWriteInfo
HMS_SpatialRecon_DataFrame
HMS_SpatialRecon_Session
AREngine_ARSession
AREngine_ARFrame
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
xeg_control_display_separation.h
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
XEG_NeuralUpscaleDescription
@hms.core.authentication (Unified Authentication Service)
@hms.core.account.extendService (Enhanced Service)
@hms.core.account.shippingAddress (Shipping Address Management Service)
@hms.core.account.minorsProtection (Youth Mode)
@hms.core.account.invoiceAssistant (Invoice Assistant Service)
@hms.core.account.realName (Identity Verification Service)
@hms.core.account.intimate (My Circle)
LoginPanel (HUAWEI ID Sign-in Panel Component)
LoginWithHuaweiIDButton (HUAWEI ID Sign-in Button Component)
loginComponentManager (HUAWEI ID Sign-in Component Management)
ArkTS Error Codes
General Information
Overview
Obtaining a User-Level Credential
Refreshing a User-Level Credential
Parsing a Credential
Revoking Authorization for a User-Level Credential
Obtaining an App-Level Credential
Obtaining QR Code Information
Obtaining a User-Level Credential
Overview
Obtaining the UnionID/OpenID and Mobile Number Bound to a HUAWEI ID with One-Tap Sign-In
Obtaining HUAWEI ID User Information: Avatar and Nickname
Obtaining HUAWEI ID User Information: Mobile Number
Obtaining the Risk Level
Overview
Obtaining Real-Name Information
Obtaining the Age Group of a User
Verifying Real-Name Information
Obtaining the UnionID Through the OpenID
Obtaining the JWT Public Key for ID Token Verification
Verifying an ID Token
Obtaining OpenID Connect Public Configurations
Obtaining the UnionID/OpenID and Mobile Number Bound to a HUAWEI ID with One-Tap Sign-In (Not Recommended)
REST API Error Codes
@ohos.advertising (Ads Service Framework)
@ohos.identifier.oaid (OAID Service)
@ohos.advertising.AdsServiceExtensionAbility (Advertising Service Extension Ability)
Advertisement (Content of the Requested Ad)
@ohos.advertising.AdComponent (Ad Display Component)
@ohos.advertising.AutoAdComponent (Carousel Ad Display Component)
Ads Service Framework Error Codes
OAID Error Codes
moduleInstallManager (On-Demand Feature Distribution)
productViewManager (Recommendation on AppGallery)
sceneManager (Ecosystem Query Service)
updateManager (Update)
attributionManager (App Attribution Service)
attributionTestManager (Debugging During Access to the App Attribution Service)
privacyManager (Privacy Agreement Management Service)
appInfoManager (App Metadata Management Service)
commentManager (App Review Service)
ArkTS API Error Codes
ModuleInstall
module_install.h
Posting Back the Attribution Result
deferredLink (Deferred Link Capability)
@ohos.calendarManager (Calendar Manager)
Calendar Error Codes
voipCall (In-App Call Management)
CallerInfoQueryExtensionAbility (Extended Ability for Querying Incoming and Outgoing Call Information)
CallerInfoQueryExtensionContext (Extended Context for Querying Incoming and Outgoing Call Information)
numberIdentify (Number Identification Capability Query)
ArkTS API Error Codes
cloudCommon (Common Module)
cloudFunction (Cloud Functions Module)
cloudStorage (Cloud Storage Module)
cloudDatabase (Cloud DB Module)
ArkTS API Error Codes
@ohos.contact (Contacts)
Contact Error Codes
@hms.enterpriseSpaceService.fileTransfer (Inter-workspace Data Transfer)
@hms.enterpriseSpaceService.spaceManager (Workspace Management)
ArkTS API Error Codes
fileManagerService
ArkTS API Error Codes
Icon Format Description
GameController
game_controller_type.h
game_device.h
game_device_event.h
game_pad.h
game_pad_event.h
GameDevice_AllDeviceInfos
GameDevice_DeviceInfo
GameDevice_DeviceEvent
GamePad_ButtonEvent
GamePad_AxisEvent
GamePad_PressedButton
gamePlayer (Basic Game Service)
gamePerformance (Game Scene Perception)
gameNearbyTransfer (Nearby Transfer)
ArkTS API Error Codes
GamePerformance
game_performance.h
C API Error Codes
Obtaining the Player ID
Obtaining playerId/openId/unionId Through gamePlayerId
Converting teamPlayerId in Batches
Disassociating an Account
Account Disassociation Notification
healthStore (Health and Fitness Data Services)
healthService (Health and Fitness Linking Services)
healthStore (Health and Fitness Data Services) (Lite)
healthService (Health and Fitness Linking Services) (Lite)
healthDataTypes (Health and Fitness Data Type Constants)
healthFields (Health and Fitness Data Fields)
healthModels (Health and Fitness Data Models)
samplePointHelper (Sampling Data Type Constants)
healthSequenceHelper (Health Record Type Constants)
exerciseSequenceHelper (Workout Record Type Constants)
healthDataTypes (Health and Fitness Data Type Constants) (Lite)
healthFields (Health and Fitness Data Fields) (Lite)
exerciseSequenceHelper (Workout Record Type Constants) (Lite)
exerciseRealtimeHelper (Real-Time Fitness Data Type Constants) (Lite)
ArkTS API Error Codes
IAP
Data Types
ArkTS API Error Codes
CashierComponent (Embedded IAP Cashier Component)
cashierComponentManager (Embedded IAP Cashier Component Management)
Overview
Generating a Token for a Server-Side API Call
Verifying the Signature in the Returned Result
Querying the Order Status for a Consumable, Non-consumable, or Non-renewable Subscription
Acknowledging the Delivery for a Consumable, Non-consumable, or Non-renewable Subscription
Querying Orders Related to Specific Purchase Records
Querying the Subscription Status
Acknowledging the Delivery for a Subscription
Postponing a Subscription Renewal Date
Querying the Order Status by Order Number
Querying the Purchase History of a User
Querying Server-Side Notification Records
Testing Server-Side Notifications
Generating a Signed Purchase Parameter for a Promotion
Key Event Notifications
Receiving a Refund Request Notification
Returning the Refund Review Result
Data Types
REST API Error Codes
liveViewManager
LiveViewLockScreenExtensionAbility
LiveViewLockScreenExtensionContext
LiveViewCardExtensionAbility
LiveViewCardExtensionContext
ArkTS API Error Codes
API Parameter Mapping Between Live View Kit and Push Kit
@ohos.geoLocationManager (Geolocation Manager)
@ohos.app.ability.FenceExtensionAbility (FenceExtensionAbility)
@ohos.app.ability.FenceExtensionContext (FenceExtensionContext)
@ohos.geolocation (Geolocation)
@system.geolocation (Geolocation)
Location
oh_location.h
oh_location_type.h
Location_BasicInfo
Location_RequestConfig
Location_Info
Location Kit Error Codes
Module Description
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)
Interface (MapSignalLine)
Types
Enums
Functions
mapCommon (Map Attribute Model)
navi (Route Planning)
petalMaps (Starting the Map App)
sceneMap (Scenario-specific Control)
site (Place Search)
staticMap (Static Map)
offlineMapData (Offline Map)
ArkTS API Error Codes
POI Types
City Codes and Administrative Division Codes
Supported Countries/Regions for Route Planning
MapComponent (Map Component)
@ohos.notificationManager (NotificationManager)
@ohos.notificationExtensionSubscription (notificationExtensionSubscription)
@ohos.application.NotificationSubscriberExtensionAbility (ExtensionAbility for Notification Subscription)
@ohos.application.NotificationSubscriberExtensionContext (ExtensionAbility Context for Notification Subscription)
NotificationActionButton
NotificationCommonDef
NotificationContent
NotificationExtensionContent
NotificationFlags
NotificationInfo
NotificationRequest
NotificationSlot
NotificationTemplate
NotificationUserInput
NotificationExtensionSubscriptionInfo
@ohos.notification (Notification)
@system.notification (Notification)
NOTIFICATION
notification.h
Notification Error Codes
paymentService (HarmonyOS Payment Service)
realNameService (Real-Name Service)
ecnyPaymentService (e-CNY Payment Service)
thirdPaymentService (Third-Party Payment Service)
promotionService (Promotion Service)
ArkTS API Error Codes
Overview
Pre-ordering
Closing an Order
Payment Result Callback Notification
Querying Order Information by sysTransOrderNo
Querying Order Information by mercOrderNo
Applying for Refunds
Refund Result Callback Notification
Querying Refund Order Information by sysRefundOrderNo
Querying Refund Order Information by mercRefundOrderNo
Pre-order
Payment Result Callback Notification
Querying Order Information by sysTransOrderNo
Querying Order Information by mercOrderNo
Applying for Refunds
Refund Result Callback Notification
Querying Refund Order Information by sysRefundOrderNo
Querying Refund Order Information by mercRefundOrderNo
Contract Signing Result Callback Notification
Querying Contract Signing Order Information by mercContractCode
Querying Contract Signing Order Information by contractId
Applying for Contract Termination
Contract Termination Result Callback Notification
Pre-signing
Contract Signing Result Callback Notification
Applying for PIN-Free Withholding
Withholding Result Callback Notification
Querying Contract Signing Order Information by mercContractCode
Querying Contract Signing Order Information by contractId
Querying Order Information by sysTransOrderNo
Querying Order Information by mercOrderNo
Applying for Contract Termination
Contract Termination Result Callback Notification
Applying for Refunds
Refund Result Callback Notification
Querying Refund Order Information by sysRefundOrderNo
Querying Refund Order Information by mercRefundOrderNo
Querying Reconciliation Statements
Querying Settlement Bills
Pre-order
Closing an Order
Payment Result Callback Notification
Querying Order Information by sysTransOrderNo
Querying Order Information by mercOrderNo
Requesting Refunds
Refund Result Callback Notification
Querying Refund Order Information by sysRefundOrderNo
Querying Refund Order Information by mercRefundOrderNo
Pre-order
Payment Result Callback Notification
Querying Order Information by sysTransOrderNo
Querying Order Information by mercOrderNo
Applying for Refunds
Refund Result Callback Notification
Querying Refund Order Information by sysRefundOrderNo
Querying Refund Order Information by mercRefundOrderNo
Contract Signing Result Callback Notification
Querying Contract Signing Information by mercContractCode
Querying Signing Information by contractId
Applying for Contract Termination
Contract Termination Result Callback Notification
Pre-signing
Contract Signing Result Callback Notification
Applying for PIN-Free Withholding
Withholding Result Callback Notification
Querying Contract Signing Information by mercContractCode
Querying Contract Signing Information by contractId
Querying Order Information by sysTransOrderNo
Querying Order Information by mercOrderNo
Applying for Contract Termination
Contract Termination Result Callback Notification
Applying for Refunds
Refund Result Callback Notification
Querying Refund Order Information by sysRefundOrderNo
Querying Refund Order Information by mercRefundOrderNo
Pre-order
Closing a Combined Payment Order
Combined Payment Result Callback Notification
Querying Order Information by combinedSysTransOrderNo
Querying Order Information by combinedMercOrderNo
Requesting a Refund
Refund Result Callback Notification
Querying Refund Order Information by sysRefundOrderNo
Querying Refund Order Information by mercRefundOrderNo
Querying Reconciliation Bills
Querying Settlement Bills
Obtaining an App-Level Credential
Real-Name Pre-verification
Real-Name Verification Result Query
Real-Name Authorization Result Query
Facial Pre-verification
Facial Verification Result Query
Creating a Coupon Batch
Modifying Coupon Batch Information
Querying Coupon Batch Details
Uploading Saved Coupon Codes
Modifying the Budget for Coupons in a Batch
Setting the Callback Notification URL
Querying the Callback Notification URL
Coupon Distribution
Coupon Distribution Event Callback Notification
Coupon Write-Off
Applying for Coupon Return
Deactivating a Coupon
Querying Coupons of a User
Querying Details About a Coupon of a User
Querying Platform Coupons Available to a User
REST API Result Codes
Data Model Description
Appendix
pdfService (PDF Services)
pdfViewManager (PDF Preview)
PdfView (PDF Preview Component)
ArkTS API Error Codes
filePreview (File Preview)
openFileBoost (File Open Boost) (Deprecated)
ArkTS API Error Codes
Preview
open_file_boost.h
file_cache_boost.h
preview_kit.h
Anonymous Application Identifier (AAID)
pushCommon
pushService
RemoteNotificationExtensionAbility
RemoteNotificationExtensionContext
serviceNotification
VoIPExtensionAbility (Deprecated)
VoIPExtensionContext (Deprecated)
PushExtensionAbility
PushExtensionContext
RemoteLocationExtensionAbility
RemoteLocationExtensionContext
ArkTS API Error Codes
Secure Access Requirements
Image Risk Control
Function Description
Request Body Structure
Request Body Parameters
Response Parameters
Request Example
Message Frequency Control
Message Revocation
Message Receipt
Service Notification
Service Updates Sending API
Service Updates Parameters
bookParser (Book Parsing Capability)
readerCore (Reader Kit Core Capabilities)
ReadPageComponent (Reading Page Component)
ArkTS API Error Codes
atomicService (Convergent Scenario-specific APIs)
fileUriService (File Path Conversion APIs)
ArkTS API Error Codes
FunctionalButton (Button Component)
functionalButtonComponentManager (Scenario-specific Convergent Button Component Management)
FunctionalInput (Input Component)
functionalInputComponentManager (Scenario-specific Convergent Input Component Management)
ArkTS Component Error Codes
@hms.utilityApplication.screenTimeGuard.guardService (Screen Time Guard Kit)
@hms.utilityApplication.screenTimeGuard.appPicker (App Selection)
@hms.utilityApplication.screenTimeGuard.TimeGuardExtensionAbility (Screen Time Guard Extension Ability)
@hms.utilityApplication.screenTimeGuard.TimeGuardExtensionContext (Screen Time Guard Extension Context)
ArkTS API Error Codes
systemShare (System Share)
harmonyShare (Huawei Share)
ArkTS API Error Codes
walletPass (Pass Capability)
walletTransitCard (Transportation Card Capability)
ArkTS API Error Codes
General Information
Public APIs
Digital Car Key APIs
REST API Result Codes
weatherService (Weather Data Service)
ArkTS API Error Codes
A2A (A2A Protocol)
FunctionComponent
ArkTS API Error Codes
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
textToSpeech (Text to Speech)
speechRecognizer (Speech Recognition)
ArkTS API Error Codes
textRecognition (OCR)
faceDetector (Face Detection)
faceComparator (Face Verification)
subjectSegmentation (Subject Segmentation)
visionBase (Core Vision Kit Base Class)
objectDetection (Multi-object Detection)
skeletonDetection (Skeleton Detection)
imageSuperResolution (Image Super-Resolution)
textSearchImage (Searching for Images by Text)
ArkTS API Error Codes
insightIntent
InsightIntentUIExtensionAbility
ArkTS API Error Codes
Sharing an Intent
Revoking an Event
textProcessing
EntityType
jsonObject (Description of Parameters in Entity Return Value)
ArkTS API Error Codes
@ohos.ai.mindSporeLite (On-device AI Framework)
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
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
TextReader (Reading Control)
ReadStateCode (Reading Status)
WindowManager (Window Management)
TextReaderIcon (Speaker Icon)
TextReaderIconV2 (Speaker Icon)
AICaptionComponent (AICaption Component)
ArkTS API Error Codes
interactiveLiveness (Face Liveness Detection)
visionImageAnalyzer (AI Image Recognition)
CardRecognition (Card Recognition Control)
DocumentScanner (Document Scanning Control)
ArkTS API Error Codes
Class (Console)
loadNativeModule (Synchronously and Dynamically Loading a System Library)
SysCap
Timer
SyscapNdk
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
musl libc
C++ Standard Library
Node-API
libuv
OpenSL ES
OpenGL ES
OpenGL
EGL
ICU4C
zlib
Vulkan Development Overview
Vulkan Surface Development
Vulkan External Memory Development
Vulkan Capabilities
Vulkan
vulkan_ohos.h
VkSurfaceCreateInfoOHOS
VkNativeBufferOHOS
VkSwapchainImageCreateInfoOHOS
VkPhysicalDevicePresentationPropertiesOHOS
VkNativeBufferUsageOHOS
VkNativeBufferPropertiesOHOS
VkNativeBufferFormatPropertiesOHOS
VkImportNativeBufferInfoOHOS
VkMemoryGetNativeBufferInfoOHOS
VkExternalFormatOHOS
NativeWindow
OHBufferHandle
OH_NativeBuffer
Native API Symbols Not Exported
NDK-Related musl libc Interface Usage Restrictions
EGL Symbols Exported from Native APIs
ICU4C Symbols Exported from Native APIs
OpenGL ES 3.2 Symbols Exported from Native APIs
OpenGL Symbols
Seccomp-Provided System Call List
Application Development Overview
Preparations for Development
Building Your First HarmonyOS Application (ArkTS)
Application Package Overview
Application Package Structure
HAP
HAR
HSP
Application Installation, Uninstall, and Update
Consistency Verification for Application Installation and Update
Application Configuration Files
app.json5 Configuration File
module.json5 Configuration File
Creating a Static Shortcut of the Application
Creating an Application Clone
Creating an Application Multi-Instance
Configuring an Application Icon and Label
Configuring the Context Menu for Applications (PC/2-in-1 Device)
Converting HAR to HSP
Converting HSP to HAR
Converting HAP to HAR
Integrated HSP
Integrating bin Files into Application Packages (PC/2-in-1 Device)
Calling APIs Across HAR/HSP Modules on the Native Side
Developing and Using App Plugins (PC/2-in-1 Device)
FAQs About Application Packages
Application Package Glossary
Resource Categories and Access
Getting Started with ArkTS
Introduction to ArkTS
ArkTS Coding Style Guide
ArkTS Migration Background
TypeScript to ArkTS Cookbook
Adaptation Cases
ArkTS Performant Programming Practices
Migrating from Java to ArkTS
Migrating from Swift to ArkTS
HarmonyOS Glossary
Architecture Overview
Layered Architecture Design
Modular Design
What's New
Ability
HUAWEI Ability Gallery
Devices for Ability Distribution
Instant Access
Smart Service
AI Lens
AI Voice
Matrix of Devices, Touch Points, and Integration Modes
Content
Function and Performance
Security and Privacy
Ability Release
Instant Access Process
App Ability Introduction
Interaction Model Design
App Ability Specifications
Development Guide
Configuration Guide
Test Guide
Release Guide
Smart Service Access Process
Content Ability Introduction
Interaction Model Design
General Card Design and API Development
Account Binding for Content Ability
Event Push
Content Data Synchronization
Fulfillment Development
Ability Development Under a General Category
Configuration Guide
Test Guide
Release Guide
Fulfillment API
Ability Category Schema Definition
Card Ability Overview
Interaction Model Design
UX Design
Card Mirroring Specifications
Account Binding for Card Ability
Event Push
Card Development Procedure
Card Introduction
Card Jump Development Guide
Ability Guide Card Development Guide
Card Mirrored Layout Development Guide
Grid-based Card Development Guide
Configuration Guide
Test Guide
Release Guide
AI Lens Access Process
Content Ability Introduction
Interaction Model Design
General Card Design and API Development
Account Binding for Content Ability
Event Push
Content Data Synchronization
Fulfillment Development
Ability Development Under a General Category
Configuration Guide
Test Guide
Release Guide
Fulfillment API
Ability Category Schema Definition
AI Voice Access Process
Content Ability Introduction
Interaction Model Design
General Card Design and API Development
Account Binding for Content Ability
Event Push
Content Data Synchronization
Fulfillment Development
Ability Development Under a General Category
Configuration Guide
Test Guide
Release Guide
Fulfillment API
Ability Category Schema Definition
App Ability Introduction
Interaction Model Design
App Ability Specifications
Development Guide
Configuration Guide
Test Guide
Release Guide
AbilityKit SDK Overview
AbilityKit SDK Privacy Statement
AbilityKit SDK Compliance Guide
Huawei Ability Gallery Service Agreement--Europe Site
HUAWEI Ability Gallery Service Agreement--AALA Site
Release Requirements
Contact Us
HUAWEI Ability Gallery FAQ
Glossary
Account Binding APIs
Event APIs
Delivery Information Notification API
Ability Category Schema Definition-Constellation
Ability Category Schema Definition- Maps and Navigation
Ability Category Schema Definition-Encyclopedia
Ability Category Schema Definition-Local life
Ability Category Schema Definition-Recipes
Ability Category Schema Definition-Weather
Ability Category Schema Definition-Smart chat
Ability Category Schema Definition-Games
Ability Category Schema Definition-Calendar
Ability Category Schema Definition-Translation
Ability Category Schema Definition-Express Delivery
Ability Category Schema Definition-Taxis
Ability Category Schema Definition-Online Stores
Ability Category Schema Definition-News
Ability Category Schema Definition-Audiobooks
Ability Category Schema Definition-Sports
Ability Category Schema Definition-Question Bank
Ability Category Schema Definition-Short Videos
Ability Category Schema Definition-Train Tickets
Stocks
Exchange Rate
Ability Category Schema Definition-Dream Interpretation
Atomic Service Introduction
Characteristics and Use Scenarios of Atomic Services
Basic Knowledge of an Atomic Service Bundle
Developing an Atomic Service
Developing Your First Atomic Service
Creating an Atomic Service Project
Generating Atomic Service Icons
Building an Atomic Service Page
Creating an Atomic Service Widget
Running an Atomic Service on a Real Device
Preparing for Atomic Service Development
Sub-packaging
Preloading
Intra-Module Page Routing
Inter-Module Page Routing
Using an Atomic Service Link for Atomic Service Redirection
Using a Basic URL QR Code for Atomic Service Redirection
Starting Other Atomic Services
Atomic Service Update
UI Development
Service Widget Development
Network Management Overview
HTTP Data Request
Network Connection Management
mDNS Management
WebSocket Connection
Configuring Server Domain Names
Network Management Acceleration Service
Persisting Preferences Data
Accessing Application Files
Preview Kit
Media
AVSession
Camera
Selecting Media Assets Using Picker
Image Development Overview
Image Decoding
Image Encoding
Developing Application Windows
Sensor Service
Sensor Overview
Sensor Development
Vibrator Overview
Vibrator Development
Bluetooth Setting Development
Advertising Development
GATT Development
NFC Tag Read/Write Development
HCE Development
Contacts Service
Web Component Overview
Developing the AtomicServiceEnhancedWeb Component
AtomicServiceEnhancedWeb Reference
Upgrading ArkWeb to AtomicServiceEnhancedWeb
Configuring Business Domain Names
Scenario-based Vision
Intents Kit
Agent Framework Kit
About This Kit
Integration Process
Qualifications Requirements for Developers
Open Data Overview
Applying for Health Service Kit
Configuring the Client ID
Managing User Authorization
Aggregation Query of Health and Fitness Sample Data
Reading Real-Time Activity Rings Data
Permission Description
Daily Activities
Applying for Formal Scopes
Personal Data Processing Information
Specifications for Using Logos
Cloud Foundation Kit
Key Management
Online Authentication
Using the Crypto Framework
Using the Certificate Framework
User Authentication Kit
About This Kit
Service Quota
Enabling Device Security Kit
Generating a JWT Based on a Service Account
DeviceVerify
Enhanced System Integrity Check
System Integrity Check
URL Check
Unified Risk Control Credential
RiskControlEngine
Location Security Verification
Verifying the Anonymous Certificate Chain
Verifying the Signature
Digital Shield Service
Supported Countries/Regions
Weather
Localization
Continuous Task
Development of Application Event Logging
HiLog Development
ArkTS Common Library
Automated Test
About This Kit
Management Rules for Using the Sign-in Capability of Account Kit
Requesting Scopes
Configuring Signing Information and Adding a Fingerprint
Configuring the Client ID
Sign-In
Overview
Overview About Obtaining the Avatar and Nickname
Obtaining the Avatar and Nickname Through the Relevant API
Obtaining the Avatar Through Scenario Fusion Kit
Obtaining the Mobile Number
Obtaining the Shipping Address
Obtaining the Invoice Title
Obtaining the Risk Level
Overview
Following the Device's Youth Mode Status
Enabling the Youth Mode Within the Atomic Service
(Recommended) Disabling the Atomic Service's Youth Mode
Disabling the Device's Youth Mode
Adjusting Youth Mode Settings
Account Kit Notification Events
FAQs
Personal Data Processing Information
About This Kit
Preparations
Enabling Service Notifications and Selecting a Subscription Template
Performing Self-Service Testing and Analysis
Initiating an Account-based Subscription Request
Pushing Account-based Subscription Notifications
Pushing Account-based Service Updates Messages
Sharing
About This Kit
Preparations
Barcode Scan by Default UI
Recognizing Barcodes in Local Images
Recognizing Barcodes in Image Data
Generating a Barcode Image from Text
Generating a Barcode Image from a Byte Array
FAQs
Location
Maps
Payment
IAP Kit
About This Kit
Preparations
Overview
Banner Ads
Native Ads
Rewarded Ads
Interstitial Ads
Roll Ads
Real-Time Bidding
FAQs About Petal Ads Publisher Service
About This Kit
Service Updates Authorization Code Button
Atomic Service Sharing Button
Feedback and Complaint Button
About This Kit
Update on AppGallery
Solution Design
Development Guidelines
Solution Design
Development Guidelines
Atomic Service Ecosystem Operation Guidelines
Atomic Service Naming Guidelines
Overview of ASCF
Obtaining the ASCF Plugin
Creating an ASCF Project
Importing Mini Program Resources
Compiling an Atomic Service
Building a Project into the ASCF Paradigm Using a Third-Party Framework
Building an Atomic Service
Using the ASCF Command Line Tool
Coding
Running and Debugging an Atomic Service
Releasing an Atomic Service
Network Access
Package Splitting
Preloading
Asynchronous Package Splitting
Local Runtime Configuration of DevEco Studio
Canvas Component
Data Storage
Media File Access
Obtaining Page Node Information
Authorization
Developing an Immersive Page
Customizing a Tab Bar
On-Demand Injection and Render-Time Injection
Obtaining User Information of a HUAWEI ID
Obtaining Location Information
Pushing Information to Users
Integrating Payment Services
Developing the web-view Component
Navigating to an Atomic Service/Application
Obtaining the Atomic Service Link
Shared Data Storage Between Atomic Services and Widgets
File Structure
Project Configuration Using app.json
Page Configuration
Project Configuration Using ascf.config.json
HXML
CSS
JavaScript (JS)
App
Page
Route and Lifecycle
Event Usage
Event Response via the hjs Function
Event Classification
Event Binding and Bubbling
Event Capture
Event Object
Two-Way Binding
Component Template
Tag in the Component HXML File
Component Style and Isolation Strategy
Component
Component Lifecycle
Creating a Custom Component
Using a Custom Component
Inter-Component Communication
Observers for Data Listening
Behaviors for Code Reusing
Placeholder Component
Response Event
movable-area
movable-view
scroll-view
swiper
swiper-item
view
icon
progress
rich-text
text
button
checkbox
checkbox-group
form
input
label
picker
picker-view
picker-view-column
radio
radio-group
slider
switch
textarea
navigator
image
video
camera
Map
canvas
web-view
API Availability Check
System Information
Lifecycle
Application-Level Events
Debugging
Timer
Atomic Service Information
Format Conversion
Routing
Navigation
Interaction
Navigation Bar
Tab Bar
Font
Pull-to-Refresh
Scroll
Animation
Menu
Custom Component
Window
Request
Download
Upload
WebSocket
Data Cache
Map
Image
Video
Camera
Background Audio
Recording
File
Location
Canvas
Account
Authorization
Settings
Payment
Privacy
Message Subscription
Shipping Address
Invoice
IAP
Network
Telephony
Device Orientation
Code Scan
Vibration
Battery Info
Calendar
Bluetooth - General
Bluetooth - BLE
Contacts
Wi-Fi
Screen Brightness
Accelerometer
Compass
Gyroscope
Keyboard
Pasteboard
encryption
Third-Party Platform
HXML
Push Kit
What should I do if the ASCF template cannot be found in DevEco Studio?
What should I do if an error message is displayed during debugging of the ASCF atomic service in DevEco Studio?
What should I do if the ASCF engine is not automatically updated to the latest version?
What should I do if syntax check and prompt for ASCF code are not supported?
What should I do if hot reload fails to enable in DevEco Studio?
What should I do if the error message "Output path is error" is displayed during conversion of the mini program source code?
What should I do if the path is unavailable?
What should I do if the error message "ERROR: build-profile.json5 file not found" is displayed?
What should I do if the error message "ERROR: XXX contains error, please check it." is displayed?
What should I do if the error message "TypeError: Cannot read properties of undefined (reading 'hxml')" is displayed?
What should I do if the error message "Failed to execute 'createElement' on 'Document'" is displayed?
What should I do if an error occurs in HSP dependency check?
What should I do if components of the current package or main package cannot be displayed?
What should I do if an error message "ERROR: unknown option '--serve'" is displayed?
What should I do if an error message is displayed at has.login runtime?
What should I do if an error message is displayed at has.uploadFile runtime?
What should I do if the input parameter is empty due to undefined properties when customizing a component?
What should I do if an atomic service fails to start during hot reload?
What should I do if error code 9 is returned when the ASCF application package fails to be uploaded to AppGallery Connect?
What should I do if a white screen or an exception occurs after mini program code is converted to ASCF code?
What should I do if JS or JSON file modification does not take effect during hot reload?
What are the differences between ASCF and mini programs?
ASCF Runtime
ASCF Plugin
ASCF Toolkit
HarmonyOS Game Services
Overview of Incentive and Supportive Policies
HarmonyOS App Developer Incentive Program 2026 (Cash Incentives)
Petal Ads Incentive Policy (Ad Incentives)
All-Scenario Access and Innovation Capabilities (Resource Incentives)
Independent Games (Supportive Policies)
Incentive and Supportive Policy Consultation
Overview of Using Cocos Creator
Preparing for Adaptation
Game Code Adaptation
System Capability Adaptation
Building a Project
Running and Debugging
(Optional) Improving Performance
Overview of Using Cocos2d-x
Preparing for Adaptation
Engine Adaptation
Game Code Adaptation
System Capability Adaptation
Third-Party SDK Code Isolation
Third-Party Library Adaptation
(Optional) Converting .mk to CMake
Generating a Project of HarmonyOS 5.0 or Later
Running and Debugging
(Optional) Improving Performance
Overview of Using the Laya Engine
Preparing for Adaptation
Game Code Adaptation
System Capability Adaptation
Third-Party Library Adaptation
Building a Project
Running and Debugging
(Optional) Improving Performance
System Adaptation of Games Developed Using Unity
Overview of Using Your Own Engine
Preparing for Adaptation
Lifecycle Adaptation
Thread Model and Inter-Thread Communication
Audio and Video Adaptation
Node-API Cross-Language Calling
Rendering and Window Development
Multi-Device Adaptation
Touch and Gesture Event Binding
File System Adaptation
System Capability Adaptation
Log System Adaptation
Third-Party Library Adaptation
Running and Debugging
(Optional) Improving Performance
Technical Support for System Adaptation
PC Adaptation
Vision Device Adaptation
Technical Support for Multi-Device Adaptation
(Mandatory) Basic Game Service
Overview
Prerequisites
Consumables, Non-consumables, or Non-renewable Subscriptions
Auto-renewable Subscriptions
Importing Products in Batches
Prerequisites
Non-subscriptions
Auto-renewable Subscriptions
Modifying Products in Batches
Common Errors
Non-subscriptions
Auto-renewable Subscriptions
Prerequisites
Deleting a Digital Product
Restoring a Digital Product
Conversion Rules
Optimization Rules
Ads Kit
Push Kit
Game Controller Kit
Nearby Transfer
Resource Package Background Download
Tap to Transfer
Huawei Technical Support
Pre-release Check
Making Preparations
Submission for Release
Sending a Review Reminder, Requesting Urgent Review, or Canceling Review
Game Release Technical Support
Version Change History
Introduction
Workflows
AppGallery Connect API
About Accounts and Permissions
Managing Your Developer Account
Managing the Team Account
Roles and Permissions
Topping Up
Setting a Spending Notification
Viewing Account Spending Details
Creating a Project
Managing Data Processing Locations
Creating a HarmonyOS App
Creating an Atomic Service
Viewing App Information
Managing Huawei Open Capabilities
Overview
Using the Free Quota of a Paid Service
Checking the Free Quota Usage
Upgrading a Service Bundle to the Pay-As-You-Go Plan
Downgrading a Service Bundle to the Free Plan
Checking the Plan List
Overview
Registering a Device
Deleting a Device
FAQs
Overview
Requesting a Debug Certificate
Requesting a Release Certificate
Requesting an In-House Release Certificate
Requesting an Enterprise App Re-signing Certificate
Requesting a Binary Certificate
Configuring a Public Key Fingerprint
FAQs
Overview
Requesting ACL Permissions
Overview
Requesting a Debug Profile
Requesting a Release Profile
Requesting an In-House Release Profile
Overview
Registering an Emulator Debug Credential
Overview
Configuring a Privacy Statement (for a HarmonyOS App)
Configuring a Privacy Statement (for an Atomic Service)
Configuring a User Agreement
FAQs
Overview
Service Introduction
Obtaining Authorization from the Server
Upload Management API
Obtaining the File Upload URL
Uploading a File
Initializing Chunk Information
Obtaining Chunk Upload URLs
Uploading a Chunk
Merging Chunks
CommonUrlInfo
ConnectRet
FilePartComposeInfo
FilePartInfo
FilePartUploadInfo
Result Codes
Provisioning API Guide
Requesting a Certificate
Querying a Certificate
Deleting Certificates
Adding Devices in Batches
Querying the Device List
Deleting Devices
Requesting a Profile
Querying the Profile List
Modifying Devices Bound to a Profile
Deleting a Profile
AddDeviceInfo
AddDeviceResult
CertInfo
ConnectRet
DeviceInfo
ProvisionInfo
Result Codes
Languages
Country/Region Codes
App/Game Categories
App Rating
Obtaining the Public Key for Signature Verification
Price Conversion Rules
App File Restrictions
Release Guidelines
Making Preparations
Uploading Your Package
Configuring Supported Devices
Configuring Localized Information (App Name and Icon)
Configuring an App Category and Tags
Configuring Service Information
Selecting a Package to Be Released
Configuring Release Countries/Regions
Configuring Localized Information (Introduction, Features, and Assets)
Configuring In-App Purchase Items and In-App Products
Configuring Content Rating
Configuring a Privacy Description
Configuring a Privacy Statement
Configuring Privacy Tag Information
Configuring Copyright Information
Configuring Information for the Reviewer
Setting the Release Time
Submitting the App for Review
Release Guidelines
Making Preparations
Uploading Your Package
Configuring Supported Devices
Configuring Localized Information (Name and Icon)
Configuring an App Category and Tags
Configuring Service Information
Selecting a Package Version
Configuring Release Countries/Regions
Configuring Localized Information (Introduction, Features, and Assets)
Configuring In-App Purchase Items
Configuring Content Rating
Configuring a Privacy Description
Configuring a Privacy Statement
Configuring Privacy Tag Information
Configuring AI Function Declaration
Configuring Copyright Information
Configuring Publication Approval Information
Configuring an In-App Product
Configuring the Information for Reviewers
Scheduling the Release
Submitting the App for Review
Release Guidelines
Making Preparations
Uploading Your Package
Configuring Supported Devices
Configuring Localized Information (Atomic Service Name and Icon)
Configuring an Atomic Service Category, Tags, and Qualifications
Configuring Service Information
Selecting a Package to Be Released
Configuring Localized Information (Introduction and Features)
Configuring In-App Purchase Items and In-App Products
Configuring Content Rating
Configuring a Privacy Description
Configuring a Privacy Statement
Configuring AI Function Declaration
Configuring Information for the Reviewer
Setting the Release Time
Submitting the Atomic Service for Review
Releasing an In-House App
Sending a Review Reminder or Canceling Review
FAQs
Updating App Information
Updating a Version
Rolling Back an App
Releasing an App by Phase
Removing an App or Atomic Service
Deleting an App or Atomic Service
Viewing the Version History
Interaction Center
Technical Support
Asset Specifications
Package Parsing Error Codes
Version Update Error Codes
Overview
Getting Started
Overall Process
Workspace
About Accounts and Permissions
Managing Your Developer Account
Managing the Team Account
Roles and Permissions
About Projects and Apps
Creating a Project
Creating a HarmonyOS App or Atomic Service
Creating an Android App
Creating a Quick App
Creating an iOS App
Creating a Web App
Data Processing Location
Data Processing Location Policies
Viewing App Basic Information
FAQs
Overview
(Optional) Configuring the App Signing Certificate Fingerprint
Integrating Services
Debugging an API
Overview
Requesting a Debug Certificate
Registering a Debugging Device
Requesting a Debug Profile
Overview
Sandbox Testing
Cloud Testing
Cloud Debugging
Integration Check
Open Testing
Early Access for Games
Overview
Requesting a Release Certificate
Requesting a Release Profile
Releasing a HarmonyOS App
Releasing an Atomic Service
Releasing an App (APK)
Releasing an App (RPK)
Releasing an App (App Bundle)
Pre-orders
Releasing a Multi-APK App That Supports One Device Type
Configuring GMS/HMS Restrictions in the Multi-APK Version Release Scenario
Package Parsing Error Codes (HarmonyOS)
Package Parsing Error Codes (Non-HarmonyOS)
FAQs
Updating the Details of a Released App
Releasing an App Update
Releasing an App by Phase
Version Update Errors (HarmonyOS)
Sending a Review Reminder or Canceling Review
Removing an App from Sale
Rolling Back an App
Deleting an App
Transferring Non-HarmonyOS Apps
Viewing App Credit Records
Viewing Version History of an App
Home Page of App Analytics
Distribution Reports
Operations Reports
Quality Reports
Analytics FAQs
Comments
Developer's Message
Managing Gifts
Creating an In-App Product
Modifying an In-App Product
Setting Automatic Price Updates
Activating or Deactivating an In-App Product
Deleting or Restoring an In-App Product
Managing Subscription Groups
Managing Product Marketing
Currency Conversion Rules
FAQs
Interaction Center
Technical Support
Supported Countries/Regions, Languages, and Currencies for Product Management
AppGallery Connect Service White Paper
Specifications for App Visual Assets
Google File Conversion Tool
How do I flush HiLog information?
How do I print HiLog information of the current application only?
What should I do if garbled characters are displayed in HiLog information?
What should I do if the hilog.debug log cannot be printed?
How do I query the current CPU usage of an application?
How do I query the allocated heap memory size and free heap memory size of an application?
How do I obtain system logs when an application fault occurs?
How do I use the hdc command to send a local file to a remote device?
How do I check whether an application is a system application?
How do I capture the crash stack and implement the crash callback?
How do I analyze the CPU usage of an application online?
How do I obtain the CPU usage of a device?
How do I obtain the SDK version, product version, device type (tablet or mobile phone), and build version of a device?
How do I choose between console.log and HiLog?
How do I view stack traces for error logs generated in ArkCompiler?
What are the common hdc commands for exporting and importing files?
What should I do if there are three devices that cannot be identified in a single device manager?
What should I do if the hdc server and client versions are inconsistent?
What should I do if "Kill server failed" is displayed?
Is there a directory that can be written into an executable program using the hdc file send command?
What should I do if the MacOS cannot identify hdc commands?
What should I do if "hdc server port 8710 has been used" is displayed when connecting a phone to the computer?
How do I start a UIAbility using the hdc command?
How do I stop an application using the hdc command?
How do I take a snapshot or obtain an album using the hdc command?
How do I query the MAC address on a HarmonyOS PC/2-in-1 device?
How do I clear the application cache on the mobile phone using the hdc command?
How do I wake up a device and view the screen status using the hdc command?
Can an .app file be installed using the hdc command?
How do I select a crash collection mode? What are the differences between ErrorManager, FaultLog, and HiAppEvent in terms of crash listening?
Is there a limit on the length of logs printed by HiLog?
How do I obtain the UDID of a device using the hdc command?
How do I use ErrorManager to capture exceptions?
Are the logs returned by the OH_LOG_SetCallback API of the HiLog module the same as HiLog logs flushed to disk by the system?
How do I address application performance exceptions caused by HiLog?
What should I do if the message "command not found" is displayed after a command is executed in hdc?
How do I obtain the hdc executable binary file?
What should I do if no USB device node exists in the Docker or WSL system and no information is returned after a command is executed in hdc?
What should I do if it returns "unauthorized" when I run the hdc list targets command to query device information during wireless debugging of the watch?
What should I do if the hdc cannot access the device after installing the VPN software astrill?
What should I do if "FreeChannelContinue handle->data is nullptr" is displayed after a command is executed in hdc?
What should I do if the hdc cannot connect to the MacBook (ARM chip)?
What should I do if the error message "command not found: hdc" is displayed after running the hdc list targets command in the toolchains directory of the SDK?
What should I do if it fails to install bundle using hdc?
What should I do if the hdc command cannot be executed when Linux 18.04 is installed for the first time?
What should I do if the device connection status can be viewed by running the hdc shell command, but the DevEco Studio connection status flickers and shows no device?
What should I do if an error message "hdc server port XXXX has been used" is displayed during hdc debugging and switching ports has no effect?
What should I do if the hdc list targets command output is displayed slowly?
Why are HAR packages generated after HSP packaging? Do they increase the application package size?
What measures are taken to ensure code security from the perspective of package management?
What is the relationship between App Pack, HAP, HAR , and HSP?
How do I reference an externally compiled .so library file in a HAR or HSP?
Can I declare abilities or extensionAbilities in the SharedLibrary (HSP) configuration file?
How do I add pages into a window functioning as a toast in a HAR?
How do I enable a service module HAR to obtain data from the host HAP?
How do I install an App Pack using commands?
How do I determine whether an application can be uninstalled?
Do the HAR and HSP support ability or page declarations?
Does the HAR support cyclic dependency?
Is dependency transfer supported? For example, can a HAP call the APIs provided by HAR B if it depends on HAR A, which in turn depends on HAR B?
How do I fix the "Resource id invalid" error reported when calling resourceManager.getStringResource?
What is the relationship between HAP, HAR, and HSP? Can I declare abilities and pages in them? What are the recommended use scenarios for each of them?
How do I reference a HAR or HSP?
How do I distinguish HARs from HSPs in a decomposed HAP package?
What is the level of the context obtained by calling the createModuleContext API in the HAP?
How do I obtain the bundle name of the current HAP?
How do I implement modular code management and cross-module routing without using a UIAbility?
When classes are exported from an HSP, are TypeScript files exported as .d.ts or .d.ets?
How do I avoid unexpected data, configuration, or information security risks that may arise from files under the module being packaged into a HAR file?
How do I upload a HAR under multiple accounts?
What is the purpose of the .har file generated after an HSP is compiled?
How do I unify HSP version numbers?
How do I package multiple HAPs from different projects into a single App Pack?
Is there a limit on the number of HSPs that can be referenced in a HAP?
How do I convert a HAR to an HSP?
Does the HAR support transitive dependencies?
How do I implement cross-module page navigation?
How do I uninstall a debug package?
How do I resolve dependency version conflicts?
Why does the installation fail if the vendor parameters of HSP files in the same App Pack are different?
How can two HSPs use each other's components without depending on each other?
How do I install a HAP on a device?
What are the main use scenarios of HARs and HSPs?
How do I convert an HSP into a HAR?
Is the bm quickfix command recommended for creating a quick fix file?
What should I do when the error message "INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED" is displayed while the hdc command is used to install a release HAP package on the device?
How do I query the bundle name, vendor, version, installation time, update time, and others of an application package?
How do I Install an APP file? Is there any command available for the installation?
What are the restrictions for installation-free applications, how do I interpret related fields, and how do I carry out a self-test?
What should I do when the message "failed to install bundle. install debug type not same" is displayed during HAP installation?
Is there any other way to download and install HAP packages besides AppGallery?
How do I determine whether the current application is a debug package or a release package?
How does an application check whether another application is installed?
How do I access files in the rawfile Directory across HSPs?
How do I obtain the signature fingerprint information (.p12 file) of an application package?
What should I do if cpp crash is logged with error "resolveBufferCallback get buffer failed" when multiple HSPs are loaded?
What data format does "--BEGIN CERTIFICATE--" stand for in the HAP file?
Are there any differences between signed and unsigned packages?
How do I share an HSP in an application?
How do I obtain the packaging time of the HAP file through code?
How do I obtain a notification when the device screen orientation changes?
How do I use the lifecycle functions of AbilityStage?
How do I configure not to retain mission snapshots in Recents after terminateSelf() is called for a UIAbility?
How do I exit an application?
What should I do when the error message "Failure[INSTALL_FAILED_SIZE_TOO_LARGE] error while deploying hap" is displayed during the HAP deployment?
How do I obtain the cache directory of the current application?
How do I obtain the temp and files paths at the application level?
In which ArkTS file is the lifecycle callback function of the EntryFormAbility invoked?
What should I do when an error is reported during the call of startAbility() for a multi-module application?
Does a time-consuming background operation of a UIAbility affect the onForeground lifecycle of another UIAbility?
How are the processes of an application started?
Are third-party applications allowed to fork processes on mobile phones?
What methods can be used to transmit data between two UIAbility components?
Does a crash of an ExtensionAbility process cause a crash of the main process?
Do multiple UIAbility components run in one or more processes? Can a third-party application run in multiple processes? Will the running of child processes be affected when the main process ends?
How does an ExtensionAbility communicate with the main process?
How do I subscribe to the lifecycle changes of a UIAbility instance on a page?
When are the onUnhandledException and onException callbacks triggered?
Can EventHub be used in TaskPool?
Does the hdc shell command support schema URI simulation redirection?
Can a UIAbility be started using ApplicationContext?
What are the differences between the stage model and the FA model in intra-process object sharing?
How do I call an installed application to open specific files?
How do I start a browser application?
Can a custom transition animation be used during a UIAbility migration?
What are the differences between the UIAbility and UIExtensionAbility? What are their use scenarios?
What is the relationship between the UIAbility, page, and component? How do I use them?
What are the use scenarios of Emitter and EventHub?
How do I disable the full-screen display of a window?
How do I obtain the application version number, version name, and screen resolution?
How do I obtain the ability information of specified bundle flags?
How do I obtain the UIAbilityContext of a UIAbility, page, or component?
How do I obtain the context in a utility class?
What are the differences between ApplicationContext, UIAbilityContext, and Context?
What should I do when error message 401"The context must be a valid Context" is reported during the use of UIAbilityContext?
What are the relationships between applications, atomic services, and service widgets?
What are the differences between system applications, third-party applications, and pre-installed applications?
How do I set the default language and application name to Chinese?
How do I query the PID of an application process?
How do I deploy .so files in the debugging and release phases with code signature enabled?
What are the differences between the app.json5 file and the project-level build-profile.json5 file?
What are the account requirements for hopping?
How do I enable the permission request dialog box to automatically display during application launch?
How do I determine whether an application is running in the background if it has multiple UIAbility components?
What are the impacts on an application when developing non-UI features using TypeScript instead of ETS in terms of memory, CPU, and hap size?
How do I determine the initiator of an application?
How do I obtain the UIAbility name of the current application?
How do I check whether an application is running in the foreground or background?
How do I set an application to automatically restart?
How do I obtain the list of applications installed on a device?
Will the UIAbility be reclaimed when the memory is insufficient? If reclaimed, can it be restored through the page stack?
How do I obtain files in the rawfile directory through ResourceManager?
Does HarmonyOS restrict an application process from forking subprocesses? Does it allow executable files in applications to run (fork+exec) and read their own processes in ptrace mode? Will this method be restricted in the future?
What are the differences between the two page loading modes provided by HarmonyOS?
How do I access the system application Files?
Is the HarmonyOS NEXT system in big-endian or little-endian mode?
What are the relationships between UIContext, Ability, and UIAbilityContext?
How do I create a background task in the stage model?
How does an application continue to provide services after switching to the background?
How do I apply for multiple continuous tasks?
What are the process resource usage specifications during application running?
How do I check whether the WorkSchedulerExtensionAbility callbacks onWorkStart and onWorkStop are correctly implemented?
How do I query system logs related to transient tasks, continuous tasks, deferred tasks, and agent-powered reminders in background tasks?
Can data be returned asynchronously in Inter-Process Communication (IPC)?
How do I redirect to a specific page by tapping a service widget?
What are the differences between atomic services and service widgets?
What is the relationship between ArkTS, ArkUI framework, and HarmonyOS SDK/API?
What should I do when a crash occurs after I convert a JSON string obtained from rawfile into an object and call the instance method?
How do I use regular expressions?
How do I generate a random UUID?
Does ArkTS provide a method similar to System.arraycopy in Java?
Should I change the file name extension of all ArkTS files to .ets?
Where is the .abc file generated after the build?
What are the differences between ArkTS and TS files?
How do I implement string encoding and decoding?
How do I generate a UUID string?
What are the common attributes to be used and how do I implement the APIs when using Node-APIs to extend TS APIs?
How is a raw file read by the thread created by pthread?
What is the memory sharing principle of a sendable class object of ArkTS?
How do I implement synchronous method calls in ArkTS as easily as using synchronized in Java methods?
Do ArkTS APIs support overloading?
How do I convert the implementation in the Java-like thread model (memory sharing) to the implementation in the ArkTS thread model (memory isolation)?
Where can I find the libc++ library? Is it packed into an HAP?
What is the product of the AOT compilation mode and what are .ap, .an, and .ai files?
What are the differences between .ets and .ts files and how do I call methods defined in the files?
What should I do since globalThis cannot be used in ArkTS?
What are typical scenarios and usage of this in ArkTS?
How do I access static variables and methods of a class?
How do I merge two objects?
How do I Implement a capability similar to Java reflection?
Is the underlying running environment of ArkTS code self-developed or open-sourced (such as v8 or jscore)? Is the same running environment reused for React Native code?
What data type conversion methods are used in ArkTS?
Is it possible for developers to manage the number of threads?
Is dynamic module loading supported? How do I implement it?
How do I implement Aspect-Oriented Programming (AOP)?
How do I use the AOP API to implement repeated instrumentation or replacement?
How can I determine whether instrumentation or replacement can be performed on an API?
How do I parse a JSON string as an instance object?
How do I use runtime annotation in ArkTS?
How do I use a custom decorator in ArkTS?
Does ArkTS support destructing?
Can ArkTS files be loaded in TS files? Is the use of TS be restricted?
Is ArkTS capable of using reflection to call static and instance member functions of a class?
How do I obtain elements in an ArrayList using indexes?
How do I convert a map into a JSON string?
How do I obtain the class name of an object?
How do I convert a JSON object into a HashMap?
How do I convert an ArrayBuffer to a string?
How do I convert the Uint8Array type to the string or hexadecimal type?
How do I perform Base64 encoding?
What are the differences between object assignment and deep/shallow copy?
Does ArkTS support multiple inheritance?
Does ArkTS support intersection types?
Does ArkTS support anonymous classes?
How do I use Record?
How do I use AOP to count the method execution time?
How do I generate the setter and getter methods of a class?
How do I convert the sendable type to JSON data?
How do I handle big integers?
How do I implement different code logic based on the passed-in parameter type of a function?
How do I use the tool library to parse and generate JSON format?
Will memory leakage occur when A holds B while B references A?
How do I obtain object values by key?
What is the loading process of ModuleManager?
How do I view the detailed build process?
How do I traverse JSON objects?
How do I determine the type of an object?
How do I use Reflect to correctly bind the this pointer in ArkTS?
Where is the mapping file of code obfuscation?
How do I obtain all methods of an object?
How do I use the built-in JavaScript engine? What is the JIT support policy?
How do I use closures in ArkTS?
Can static and instance member functions of a class be invoked through dynamic import in runtime reflection?
How do I obtain environment variable information?
How do I obtain the CPU usage time of an application process?
How do I specify some attributes of an object for serialization?
What do I do if the precision of the number type is lost during object deserialization?
What is the maximum length of an array?
Does ArkTS use an asynchronous I/O model similar to Node.js?
Do I/O intensive tasks like network requests need to be processed by multiple threads?
Does the @ohos.net.http module need to use TaskPool for handling tasks?
How do I troubleshoot initialization errors at runtime caused by inter-module circular dependencies?
What should I do when there is no error log about compilation exceptions?
How is a callback function defined in ArkTS?
How does this of a function in an object point to the outer layer?
How do I implement anonymous inner classes?
How do I define an object with any key?
How do I implement interface methods at the call site?
What are the ArkTS type conversion methods other than as?
How do I export the default export object in Index.ets?
Does ArkTS allow the calling of methods in JavaScript files?
Can I obtain the AST syntax tree of the .ets file in the compilation phase?
What should I do if the application fails to initialize the class instance through object literals, and how do I solve the problem?
How do I process special characters during URL encoding?
What are the use cases of ArkTS custom annotations?
How can I create a thread?
How do I design a concurrency scheme to support a large number of threads?
How do I set task priorities?
Will performance be compromised by inter-thread communication of JS objects that depends on serialization?
What are the similarities and differences between TaskPool and Worker?
Do Worker and TaskPool limit the number of threads?
How is the processing result of a C++ thread created by a JS thread using NAPI returned to the JS thread?
What is the multithreading model of the system?
Can context be transferred across threads?
How do I implement secure access to the same shared memory in multithreaded concurrency scenarios?
Which has a higher priority, the main thread or child thread? What are their task execution policies?
How do worker threads and TaskPool threads communicate with the host thread in ArkTS?
Does ArkTS support multithreading development using a Java-like shared memory model?
What is the thread mechanism of ArkTS? Is each thread a separate JS engine? If a thread has relatively low overhead, why is the number of threads limited?
How does the TaskPool communicate with the main thread during task execution? How do I implement simultaneous access to the same memory variable?
Are multithreading operations on the preferences and databases thread-safe?
If most background tasks (computing, tracking, and storage) in ArkTS use asynchronous concurrency mode, will the main thread respond more slowly and finally cause frame freezing and frame loss?
Will the main thread be blocked if await is used in the main thread of ArkTS?
Can I dynamically load modules (HAR, HSP, and SO) in TaskPool?
How do I implement memory sharing in a TaskPool thread?
Can an application manage the background I/O task pool? Is any open API provided for management?
How do I fully utilize the device performance with a limited number of threads?
How do I implement memory sharing in a worker thread?
How do I determine whether the calling thread is the main thread?
How do I perform instrumentation and replacement on asynchronous methods?
How do I implement multiple Worker instances in ArkTS?
How do I use TaskPool to call object member functions in a subthread?
How do I enable multi-level subthreads in Worker?
How do I obtain the context of TaskPool and Worker?
Does it support #include
and std::pmr::vector?
What should I do if a performance dip occurs while obtaining the length of the string passed from ArkTS on the native side?
What should I do if the string passed from ArkTS is truncated on the native side?
How do I export APIs from multiple C++ source files?
How do I dynamically load a .so library in ArkTS and C/C++ at runtime?
How do I integrate a third-party .so library in C/C++?
How do I exchange map data between ArkTS and native?
How do I export custom C++ classes and call their APIs in ArkTS?
How do I change the C++ version supported by a project?
How do I obtain the screen brightness on the native side?
How do I write a temporary file to the user directory in native code?
How do I add the debug declaration in native code?
How do I distinguish the ArrayBuffer and Uint8Array objects created by ArkTS in native code?
How do I encapsulate native functions into a class and export the class to ArkTS for use?
How do I obtain information printed by printf in native code?
How do I obtain the ArkTS application bundle name on the native side?
How do I invoke ArkTS system capabilities on the native side?
How do I use the ArkTS asynchronous APIs defined by the system from the native side?
How do I use ArkTS APIs of other modules from the native side?
How do I import a third-party library in ArkTS?
How do I access raw file resources of an application from the native side?
How do I access resources across modules from the native side?
How do I obtain the application version information on the native side?
How do I bind the data of an ArkTS object and the data of a native object?
How is env obtained when a callback is executed by Node-API?
How do I call ArkTS APIs from the native side (using C/C++)?
How do I integrate the third-party library curl and use it to send HTTP data requests?
How do I use the third-party library AKI to implement cross-language calls between ArkTS and C/C++?
How do I use other third-party libraries in a native project?
How do I use HiLog to print log information on the native side?
How do I use SO libraries of the so.x.y type, for example, libxxx.so.3.1 and libxxx.so.3.1.0?
What is the napi_module struct?
How do I obtain an operable file directory on the native side?
How do I use the .so library functions in an existing project for a new project?
How do I modify a native KV pair in ArkTS and pass the new value to the native side?
How Do I obtain an object and its member variables from ArkTS on the native side?
How do I correctly set the header file path in the CMakeLists.txt file?
How do I import the header file deviceinfo.h on the native side?
How do I create an ArkTS object on the native side?
Where is the name of the .so library generated in the native C++ template defined, and which parameters must match the module name?
How do I print the char pointer in native code?
How do I persist an object created in C++ (for example, by using napi_create_object) or a JS value to be passed as a parameter? How do I implement automatic increment and decrement of the reference count?
How do I display logs of different levels during CMake compilation?
How do I release a C++ object wrapped in an ArkTS object?
How do I obtain an ArkTS Uint8array instance on the native side?
How do I obtain an ArkTS class instance on the native side?
How do I call C++ APIs across HAP modules?
How do I specify the target OS architecture during HarmonyOS build?
How do I reference the object created by napi_create_buffer in ArkTS?
How do I use the char pointer to construct an ArrayBuffer on the native side?
How do I obtain the module version information from the CMakeLists file?
How do I declare the custom type object passed to the native side in the index.d.ts file?
How do I modify the object data and properties passed from ArkTS on the native side?
How do I export native APIs from multiple xxx.d.ts files?
How do I listen for native log information from ArkTS?
What should I observe when using napi_run_script_path() to execute the abc files in a package?
How do I use network functions via C APIs?
How do I implement HashMap conversion between ArkTS and C/C++?
In addition to pending exceptions, are there any other exceptions when napi_call_function is called?
Can native APIs be exported from an HSP or HAR? If not, is there any other alternative solution?
What should I do if multiple SO libraries depend on each other?
How do I use the .so file built from another module in a module?
Why cannot napi_env be cached?
How do I manage C++ objects in ArkTS?
How do I ensure the application compatibility if the libc++ version of the HAR is different from that of the project?
How do I open a file on in C/C++?
How do I manage the object lifecycle on the native side?
Does C/C++ provide the OpenSSL library?
How do I release an ArkTS object on the native side?
How do I directly call ArkTS APIs in a C++ child thread on the native side without triggering callbacks on the ArkTS side?
Thread-related questions when the ArkTS layer invokes native layer interfaces
How do I trigger ArkTS callbacks in a C++ subthread since there is a restriction for the native thread to obtain env?
How do I invoke a function transferred from ArkTS in a C++ subthread?
How do I call ArkTS asynchronous APIs on the native side and return asynchronous computation results to the native side?
What is the thread relationship between native code and ArkTS code, and are there any restrictions on the thread usage?
Are napi_env and napi_value instances shared across Worker threads?
How do I create a subthread on the native side? What are the restrictions? How does the native subthread communicate with the main thread?
How do I use a Worker thread to call NAPIs to rewrite variables in a loop?
Does napi_env on the native side support delayed or asynchronous calls?
How do I manage the JSVM_CallbackStruct lifecycle?
What should I do if "error: unknown type name '_Bool'" is reported during the compilation of an HAP project?
What should I do if OOM (v8::FatalProcessOutOfMemory) occurs?
How do I use OH_JSVM_GetValueStringUtf8 to obtain a string?
What do I do if the application crashes when JS code is executed in Finalizer()?
What should I do if an application exits due to memory exceptions of the member variable (array_buffer_allocator_) in the VM when OH_JSVM_CreateVM is called by multiple threads during application running?
How do I mitigate the aliasing issue when scaling an image loaded by the Image component?
How do I throttle gesture events, for example, disallowing repeated trigger of click events within 500 ms? How do I perform unified throttling on multiple gestures?
How do I implement screenshot prevention?
How do I obtain the coordinates of touch points in a long press gesture callback?
How do I customize the Tabs navigation bar and its alignment mode?
How do I implement exposure tracking in a scrollable container component?
How do I set different attributes for UI components under different scenarios?
How do I return parameters when navigating pages with Navigation?
How does the TextInput component obtain focus?
How do I set the start position of the cursor at the upper left corner in the RichEditor component?
How do I keep the layout unchanged after the soft keyboard pops up?
How do I enable the indicator to slide along with the tab navigation bar when switching tabs?
How do I resolve the nested scrolling conflicts between the Web and List components?
How do I resolve the scrolling conflict with two layers of Tabs components?
How do I remove focus from a component?
How do I load and use custom fonts?
How do I implement a mixed text and image layout?
How do I implement the pin-to-top or pin-to-bottom effect for list item groups?
How do I resolve the issue of the List component not scrolling to the bottom without setting a height?
How do I implement a multi-column layout using the List component?
How do I set the corner radius and spacing for a list item group?
How do I obtain the visibility of UI components?
How do I implement slot-like functionality?
What should I do if the margin does not take effect after a child component is displayed in full screen?
How do I use PanGesture or SwipeGesture to implement the inertial scrolling effect of a custom component?
How do I listen for orientation status changes of the device screen? How do I enable the window to rotate with the device?
How do I customize event transfer between parent and child components to, for example, resolve scrolling conflicts?
What should I do if the UI does not refresh with ForEach and LazyForEach when the data source is changed?
How do I control UI re-rendering for the Canvas component?
How do I adjust the position of specific UI components when the keyboard pops up without affecting the overall layout?
What parameter types and unit types do components support? When are they used?
How does the Text component load Unicode characters?
How do I register custom fonts? How do I obtain font resources from the storage path?
Does AppStorage allow for object sharing between threads? If not, what is the recommended alternative?
How do I track component data or state in the build process of custom components? For example, how do I add log tracking for state variables in the build?
How do I make content move up when the keyboard pops up, instead of the entire page moving up?
How do I move the bottom layout up to the top of the keyboard when the text box brings up the keyboard?
How do I apply a linear gradient blur effect to images?
How do I remove the fade-out effect on both ends of the Tabs components?
How do I obtain the text width in the Text component?
Do I need to set a default height for custom components?
Why do custom dialog boxes fail to enter the onPageShow method?
What should I do if large icons set for the toolbar in the Navigation component are clipped?
How do I use bindContextMenu for the Image component?
What is the controlButton attribute of the SideBarContainer component used for? How do I set it?
How do I listen for screen rotation?
How do I set window rotation?
How does a component synchronize state with its grandchild components?
How do I clear the content of the TextInput and TextArea components with one click?
How do I set the position of a custom dialog box?
What is the function of the gridCount parameter in the custom dialog box (CustomDialog)?
How do I customize the eye icon for the password input mode of the TextInput component?
How do I use the onSubmit event of the TextInput component?
How do I set the caret position to the start point for when the TextInput component obtains focus?
How do I obtain the attribute information of a component?
How do I obtain the current scrolling offset of a scrollable component?
How do I align text vertically?
How do I customize the font color and size for text in the TimePicker component?
What should I do if the constraintSize settings fail to take effect?
How do I set the background color to transparent?
How do I customize the control bar style of the Video component?
How do I set state-specific styles for a component?
How do I implement a text box that automatically brings up the soft keyboard when it obtains focus?
How do I display different types of data by group in a List component?
Does $r support nested resource access?
How do I set a gradient background color for the Button component?
What should I do if the soft keyboard obscures the content on scrollable pages, preventing upward scrolling?
How do I set the TextInput component to accept only certain characters?
How do I resize a floating window based on the component's content size?
How do I set multiple columns for the List component?
How do I set the style of the divider that distinguishes the tab bar from the tab content in a Tabs component?
Why can the content in the RichText component be scrolled?
How do I set the List component to have no bounce effect when scrolling to the edges?
How do I reduce the aliasing effect on images?
How do I implement multi-line input?
Does the Text component support setting font styles by segment?
How do I change the font color for the status bar?
How do I set the text box to select all text when the dialog box is displayed?
Why is the height of blank lines inconsistent with the font height?
How do I set the text box to select all text when it has characters entered?
Why does the color: 'rgba(0, 0, 255, .5)' settings fail to take effect?
How do I change the background color of the TextInput component in pressed state?
How do I set the maximum and minimum widths and heights for a component?
How do I set the background color for the XComponent component?
How do I apply a blur effect to a component?
What is the baseline in vp for UI layouts to achieve cross-device adaptation?
How do I get and set the screen brightness?
Can the hover effect be customized for TextInput?
How do I remove the fade effect displayed when swiping to the edges of a tab bar?
How do I implement a nested scrolling effect with two levels of Tabs components?
Can the scrollbar of the Grid component be customized?
How do I set the gradient effect for both ends of the List component?
How do I scroll long text?
How do I set XComponent to transparent?
How do I control the fixed height of a sheet transition?
How do I implement a placeholder animation for item dragging in a Grid component?
How do I concatenate string variables in ArkUI?
How is the real-time background blur be implemented for swiping down to reveal the Control Panel?
How do I obtain the width and height of an image?
How do I resolve the issue of the page header being truncated when the keyboard pops up in a web page within a dialog box?
How do I hide the navigation bar in the Navigation component?
How do I set the width of a child component so that it does not exceed the size of its parent component?
What should I do if the Image or ImageSpan component would not load an image when a string-type path is passed?
How does the Image component read an image from the sandbox?
How do I implement event passing through?
How do I determine whether text is truncated after setting maxLines for a Text component?
How do I achieve an effect similar to CSS keyframes?
Can an external Stack container adapt to the styles such as rounded corners of the internal container components?
How do I resolve the issue of Alignment.Bottom not taking effect in the Stack layout?
Does the layout support capabilities similar to calc(100vh - 100px) in CSS?
How do I obtain the parameters passed by router.back?
What should I do if the onBlur and onFocus callbacks cannot be triggered?
How do I disable the scroll event of a Grid component nested in the Scroll component?
How do I enable a component to rotate continuously?
How do I scroll a list with the keyboard displayed?
Why doesn't pressing Enter trigger a click event when the focus is on a keyboard-navigated object?
How do I block event bubbling when a button is nested in multi-layer components?
How do I fix incorrect recognition of the pan gesture where container nesting is involved? (API version 9)
How do I implement a button that only responds to the bound onClick event, but not the onTouch event bound to the button's parent component?
How do I prevent the TextInput component from bringing up the default keyboard?
How do I prevent a component's mouse events from bubbling up to the parent component?
How do I implement the slide up and slide down effect for page transition?
How do I configure custom components to slide in and out from the bottom?
Can child component events be passed to parent components?
Can other events besides keyboard and mouse events have their bubbling interrupted?
Why is onVisibleAreaChange triggered twice when a component is hidden?
Does @Watch have stickiness?
Why does using @Watch to call async functions slow down UI responsiveness?
How do I remove the Video component from a page?
What should I do if calling stopPropagation does not prevent the touch event from being dispatched?
How do I obtain the window width and height?
Can I set variables for the universal attribute width?
How do I determine whether a JS object contains a specific value?
How do I hide the status bar on the top of an application?
How do I lock the window in portrait mode so that it does not rotate with the device?
Why do the isStatusBarLightIcon and isNavigationBarLightIcon attributes set by calling setWindowSystemBarProperties not take effect?
How do I keep the screen always on?
How do I listen for window size changes?
How do I obtain the screen width, height, resolution, and orientation information?
How do I set an immersive window?
How do I obtain the width and height of a window?
How do I resolve the issue where the modal window created by Window does not have the default focus, leading to unresponsiveness to the back gesture event?
How do I obtain the height of the status bar and navigation bar?
How do I align the TabBar of the Tabs component to the left?
How do I switch the window between landscape and portrait modes?
Is there an alternative solution for handling "9-patch" images (also known as "draw9patch," ".9 images," and "dot9 images")?
Are there any callback events after a component refresh in ArkUI?
How do I implement another dialog box in a custom dialog box?
How do I implement dragging functionality for the Grid component?
How do I set an immersive status bar?
How do I dynamically control the keyboard binding to different TextInput components?
How do I use iconfont?
What is the caching mechanism for the Image component?
What are the rules for generating keys in ForEach?
What are the differences between the Flex component and W3C's flexbox?
Do ArkUI components support inheritance?
Do @Style and @Extend support export?
How do I dynamically update the Canvas content?
Does the custom component support generics?
Can a custom component be saved through a container?
How do I resolve the error "undefined is not callable" when using BuilderParam to call a method in the parent component?
How can a component detect when the application is switched to the foreground or background?
How do I implement chain calls in a custom component as in system components?
What is the difference between setting attributes externally and setting them inside the build method for a custom component?
How do I implement a loading effect when the page is loaded?
How do I implement pull-to-refresh and pull-up-to-load-more effects?
How do I obtain the height of the notch area? Which value in topRect should be used: height, top, or the sum of height and top?
How does the system handle users' screenshot and recording operations after an application prohibits screen capturing?
Is there any obstruction in the touch target of the component at the bottom of the screen?
How do I obtain the device screen orientation?
Is the subwindow created by default in full screen? How do I hide the status bar when the window is in full screen?
How do I make the Grid component automatically adapt its height when the height is undetermined?
How do I obtain the screen information of a phone?
How do I resolve the issue where clicking the child component area triggers the parent component's click event?
How do I address the issue where both a child component and its parent component trigger touch events when the user is interacting with only the child component?
Why is the gradient opacity set using 0x eight-digit colors different from the # eight-digit resource color values?
How do I enable the background to change with the text size?
How do I use ListItemGroup together with LazyForEach?
How do I set the font of the Text component so that it is not affected by the scaling of the display size in system settings?
How do I obtain the height of the navigation indicator at the bottom?
How do I implement a list that can scroll both horizontally and vertically?
How do I implement pull-to-refresh using the Swiper component?
What should I do if vp2px and px2vp return incorrect results?
Is there a maximum number of pages limit for navigation? If the router stack exceeds 32, will it be unresponsive or will it throw an error?
How do I use the navPathStack parameter of Navigation?
How do I set the height of a child component in a Navigation container to 100% to fill the parent container?
What is the difference between pushPathByName and pushDestinationByName in Navigation?
How do I enable the soft keyboard to disappear on touching a button?
How do I obtain the heights of the status bar, navigation bar, and navigation indicator?
How do I implement text expand and collapse functionality?
How do I enable a list to scroll back to the current display position after a pull-to-refresh operation?
Can TextInput gain focus after it has the visibility attribute set to Hidden or None?
How do I obtain route parameters on a NavDestination page when using the Navigation component for navigation?
How do I implement cross-file style reuse?
How do I implement cross-file component reuse?
How do I adapt my application to the screen cutout?
How do I Implement a unified grayscale feature for a window, page, or component?
How do I implement drag and drop to exchange child component positions in a List component?
How do I restore a swipe action item to its initial state?
How do I implement pull-to-refresh and pull-to-load-more on nested scrolling of the List, Swiper, or Grid components?
How do I trigger the application to run in the background in the code?
How do I disable the rebound effect used when the scroll boundary is reached for the Tabs component?
How do I switch between the custom keyboard and the system keyboard?
What is the difference between struct and class?
How do I implement page-level transparency for navigation between pages?
How do I implement lazy loading of a two-dimensional array?
How do I implement a QR code with an image?
Can the event response order be set when a List component is nested within a Scroll component, so that the List does not respond to scroll events and the outer Scroll scrolls the entire layout?
How do I clear the focus in a text box?
How do I take a screenshot and obtain the screenshot content?
How do I obtain a WindowStage instance from a page?
How do I obtain the component rendering completion time?
How do I disable the click gesture of the Toggle component while dragging?
How do I open a half-screen display through routing?
How do I recognize double-tap gestures while ignoring single-tap gestures?
How do I obtain the touch target of a component?
How do I copy content directly to the pasteboard?
How do I customize the long press trigger time of onItemDragStart in the long-press drag and drop scenario?
How do I use bindSheet with ForEach?
How do I draw a rounded rectangle using the canvas?
How do I set the left and right margins for mirrored languages?
How do I Implement the single-sided rebound effects in Scroll and List components?
How do I merge two lists and support lazy loading?
Why doesn't the auto setting for height take effect for the RelativeContainer component when child components use the container as an anchor?
How do I disable the split-screen mode?
How do I resolve the conflict between scroll events and gestures in scrollable containers?
How do I combine ListItemGroup with LazyForEach and implement component reuse?
How do I cancel the text selected state when closing the custom menu in the Text component?
What are the differences in usage between the WaterFlow, Grid, and List containers?
How do I control the display level of CustomDialog?
How do I resolve the performance issue caused by the long duration of key generation in the third parameter of ForEach?
How do I prevent the display of intermediate transition tab pages when switching pages in the Tab component?
Why does performance degrade when LocalStorage frequently reads and writes complex objects?
How do I bind different custom keyboards to different text boxes?
Does batch updating of multiple @State decorated state variables within a custom component affect performance?
How do I determine whether the data loaded in the List component exceeds one screen?
What are the common component attributes for which auto can be set?
How do I make LazyForEach work in a double-nested list?
How do I avoid blank spaces when the Marquee component scrolls text for the first time?
How do I prevent accidental tab page turning during web page scrolling and accidental web page scrolling during tab switching?
How do I determine whether the current device is a foldable phone?
How do I keep the keyboard focused in a subwindow?
How do I implement a gradient mask effect at the top in a live broadcast comment scenario?
How do I add other components to the tab bar in Tabs?
How do I implement a partial hollow-out effect using Canvas?
How do I resolve the issue of abnormal clipping with ellipsis in the Text component when the content is a mix of Chinese, numbers, and English characters?
How do I implement a folding animation for the List component?
How do I modify the corner radius and arrow color of the popup bound by bindPopup?
How do I control the popup offset to adapt the popup to the Web component's long-press menu?
How do I prevent the image from flickering when Badge switches the quantity display?
How do I delay the status change of the Toggle component after it responds to a click?
How do I obtain dark color values using getColorSync(resource) in dark mode?
How do I remove the phonetic mark when converting Chinese characters to Pinyin?
How do I change the size, color, and position of the password icon in the TextInput component's password input mode?
How do I resolve overlapping between the status bar and page content?
How do I implement an immersive status bar background color?
How do I adapt the color of the status bar to the color mode?
How do I hide the status bar in full screen mode and show it when not in full screen mode?
How do I set the minimum and maximum font sizes for the Button component?
How do I ensure that a foldable phone adapts to rotation in the unfolded state but does not in the folded state?
How do I implement dynamic component mounting and unmounting?
What should I do if the system gestures for long pressing and panning on the Image component conflict with custom gestures?
How do I implement the feature of closing a floating window through a swipe gesture?
How do I obtain the original object before it is proxied by the ArkTS state management framework?
Why a window instance cannot be used to obtain the updated window size in the display.on('change') callback?
How do I obtain the screen orientation and avoidAreaChange information at the same time?
How do I implement an immersive page with an immersive status bar and immersive navigation bar?
How does AspectRatio affect the layout?
How do I set click events for different positions in a custom span?
What is the difference between window orientation enumerated values?
How do I implement automatic screen rotation for applications?
What are the differences and restrictions between a custom builder function and custom component?
How do I concatenate string variables of ArkUI components?
How do I enable Screen Hopping?
Can I instrument ArkUI components such as pages?
How to simulate a touch event?
What are the possible causes of long dlopen:libace_compatible.z.so duration during cold start of an application?
What is the relationship between the onAreaChange and windowStatusChange callback events? Which one is triggered earlier?
Why the upper extended hot zone configured with the responseRegion attribute responds to clicks but the lower one does not?
What should I do if the XComponent component in surface mode displays abnormally after renderFit is set?
What should I do if flickers occur during the component disappearance animation?
How do I implement the text gradient effect?
How do I disable the pull-down refresh feature of the Refresh component?
What should I do if some text colors are displayed abnormally when I use a Text component to nest a Span component or use an attribute string to render text?
Why does the application crash when I use a router? How to troubleshoot the problem?
Why do navigations through the router fail?
What are possible causes of white screen during page redirection?
How do I set the dialog animation and mask animation separately?
How do I load SVGA files?
How do I customize the position of an indicator in Swiper?
Why do both onClick and .parallelGesture gestures respond to the long-press operation when a component is bound to both of them?
How do I draw a mosaic on an image?
How do I implement the effect that swiper changes its height based on the sliding distance?
Why does the custom title bar using Navigation not take effect?
How do I listen for the Navigation page lifecycle?
How do I check whether the lower-layer page of the Navigation page is covered by Dialog?
What are the page lifecycles managed by Navigation, and through which callback can I listen for the page lifecycles?
Can the NavDestination page in the Navigation component be cached so that it can be reused when pushed onto the stack next time?
How do I quickly convert RouterMap registration to wrapBuilder registration in Navigation router?
Are there any optimization suggestions for the time-consuming issue when opening a page using the Navigation component?
By which lifecycle method can the lower-level page in the Navigation Router perceive the pop-up and destruction of the upper-level NavDestinationMode.DIALOG?
How do I correctly call the queryNavDestinationInfo API in the Navigation component when it returns undefined?
How do I set a default page in the Navigation component?
How do I listen to the end time of the system animation after page switching in the Navigation component?
Can internal pages of the Navigation component be preloaded?
How do I disable the animation for switching between single and double column modes?
What methods can be used to switch between content pages in the Tabs component?
How do I listen to Navigation page stack changes?
Why does Navigation display a white screen after page redirection via pushPathByName?
How do I implement a swipe-to-exit feature using ArcSwiper during Watch development?
How do I implement transition animations for the dialog or background mask in NavDestinationMode.DIALOG mode?
Why does it not trigger the onPop of B and C during Navigation page redirection from A->B->C->D, with D directly calling popToName to navigate to A?
In which lifecycle is it recommended to receive parameters on the Navigation page?
How do I manage Navigation page parameters, for example, transferring parameters, returning parameters, and obtaining parameters?
How can I use Navigation to transfer NavPathStack instances between custom components?
What should I do if an error is reported during Navigation inter-module redirection?
How do I align the TabBar of the Tabs component to the left?
How do I distinguish between the two scenarios of onPageHide: when the application is switched to the background and when a new page is opened?
When NavPathStack clears the page stack or the back button is clicked, why is the navigation bar displayed, and what should I do to exit the page where Navigation is located?
Does the Tabs component support lazy loading?
How do I decouple the animation logic from the Navigation component when using customNavContentTransition to customize transition animations?
Why does the watch receive the onHidden callback message 2 minutes after the screen is turned off?
How do I implement a partially visible effect of an item using Swiper?
Is there a demo project that uses Navigation to implement cross-module redirection, including the practice of the system route table and custom route table?
How do I disable the default bottom sliding animation triggered by the removeByName method of the Navigation component?
How do I adapt ArcSwiper to the watch crown?
How do I add throttling to the Swiper component to control the Swiper switching frequency?
How do I set the margin of the Tabs component so that the blank margin can follow the swiping?
Can the Scroll content area scroll when its height is less than the component height?
How do I set nestedScroll so that the Scroll component scrolls first, and the outer scrolling container scrolls after the Scroll component scrolls to the edge?
What should I do to make the dialog box not be displayed above the next page?
What should I do if the popup menu cannot be displayed when showInSubWindow is set to true when using bindPopup on a PC?
What should I do if component A responds to the click event outside the menu area when component A is configured with a long-press menu through bindContextMenu?
How do I make API version compatibility check for UI component properties?
How do I disable popup content when using components such as TextInput and TextArea?
What should I do if the customized tabBar switching animation of the Tabs component is delayed and the tabBar switching is triggered only after the Tabs page switching is completed?
What should I do if the TabContent page of the Tabs component takes a long time to load and preloading is not working?
Can soft keyboard avoidance be implemented in modal transition and sheet transition?
How do I listen to the display of TabContent in the Tabs component?
How do I set a one-way swipe-to-switch between the content pages within the Tabs component?
Why does the transparent part of a page turn black when a component is used to take a screenshot and save it as a JPG image?
Why is the performance of FrameNode not as good as that of declarative syntax?
Can the isAttached API of FrameNode be used to determine whether a FrameNode is displayed on the screen?
How do I prevent memory leak when data is stored in the AppStorage?
What should I do if the values inside cannot be obtained after storing an object in AppStorage?
What should I do if the dialog box remains visible above the displayed page during page redirection through customDialog?
What should I do if a page opened through a sheet is covered by it?
What should I do if a blank screen is displayed when swiping left using the Swiper component?
How do I implement forcibly refreshing the page data when switching tabs?
What should I do when the tab key is used for focus traversal, but focus moves between the last page and the last tab?
How do I remove the built-in accessibility reading of the customized tabBar of the Tabs component?
What should I do if the onClick event of the outer container cannot be blocked when stopPropagation is called in onTouch of a child container?
How do I disable click-based switching for Tabs and disable TabContent switching by swiping the content page?
How do I preload a specific TabContent page for the Tabs component?
How do I evenly set the width of the Tabs navigation bar based on the number of tab bars?
How do I make the Tabs component automatically adapt its height to the content?
What should I do if it crashes when using the input parameters to refresh the UI in aboutToReuse?
What should I do if transition animation within the component takes effect for newly added content but does not take effect for deleted content?
What should I do if child components of the Tabs component contain if nodes, and the tab bar association is abnormal after the if condition is changed?
What is the blank space at the bottom of the Navigation page, and how do I remove it?
How do I implement the eye comfort mode?
How do I check the specific limitation when ComponentSnapshot returns error code 100001, indicating that the screenshot size is too large and exceeds the hardware limitation?
What should I do if the text color is overlaid with a layer of transparency after setting the opacity for the Text component?
How do I implement canceling the current long press gesture when it is moved out of the component?
How do I determine the component occlusion status and proactively hide the occluded components?
What should I do if an error occurs when I define a method in a custom component?
What should I do if the application keyboard is blocked and half of the text box is blocked?
How do I ensure that the layout of the floating window is normal when I drag the floating window to the extended monitor on a HarmonyOS computer?
How do I set the custom keyboard to be edge-aligned with the text box?
How do I listen to and avoid three-key navigation?
How do I set a keyboard that supports only text input, that is, disable the AI feature of the keyboard?
How do I obtain the changes in the cursor?
How do I store PixelMap data to a database?
How do I share preferences data in an application that has multiple HAPs?
Where is the database file stored?
How do I persist data in card development?
How do I obtain files of a specific type from the database?
How do I use full-text search of SQLite?
How do I obtain the SQLite version supported by the system?
What does it mean if rowCount in resultSet returned by RdbStore.query() is -1?
How do I read data from a local or preset database?
How do I ensure that only one write operation is performed at a time in an SQLite-based database? How do I create an index?
What should I do if error code 14800007 is reported during data query?
What should I observe in RDB store thread-safe development?
How do I obtain data using predicates?
What is the difference between batchInsert() and insert()?
What should I do to store multiple tables? Should I store multiple tables in a database or store each table in a database? What are the principles of using these two solutions?
Is the same RDB store object obtained if relationalStore.getRdbStore is executed multiple times with the same parameters?
Can I create a singleton that always holds a database object? Is there any impact on performance?
What is the absolute path of the database file (.db) of an application?
What are the search capabilities supported by the RDB store?
Must bundleName in createKVManager() be the application's bundle name?
Must the default value of each attribute of distributed objects be initialized to undefined to prevent data backfeeding?
What is the difference if I call on() before setSessionId() and after setSessionId()?
Why the preferences data is lost after the application is restarted?
How is the preferences context obtained by an .ets file without UI styles?
How do I implement synchronous calling of RDB store APIs?
What should I do if "code: 401 err: Error: Parameter error. The type of 'value' must be ValueType." is returned?
How do I view or export persistent data?
How do I obtain the sandbox path of application data?
What should I do if the size of the WAL file in the RDB is abnormal after data is inserted?
Are preferences APIs thread-safe?
Why is the RDB store not deleted after deleteRdbStore() is called successful?
Why can't I store the data of all applications in the same directory or database, given that the sandbox mechanism used in HarmonyOS isolates application data and allows access only from its own application?
How do I select a data storage solution?
How do I ensure that preferences data can be properly read across modules and processes?
How is data security ensured in data management?
Is relationalStore thread-safe?
Will the persistent preferences data be retained if the application is updated?
Why does the ArkData StoreConfig.customDir not take effect?
How do I prebuild database data into an application?
What is the first parameter appId in deleteKVStore() of @ohos.data.distributedKVStore?
Regarding relationalStore.RdbStore, how do I query a database? Do I need to create a child thread to query the database?
Can I dynamically add fields for ValuesBucket?
How do I use the zip module to decompress files in the project's rawfile directory to the sandbox directory of an application?
How do I create a file if the file to open does not exist?
What should I do if the file contains garbled Chinese characters?
How do I modify the specified content in the JSON file in the sandbox directory?
How do I save pixels as an image file?
What is the destination download directory for an application?
Can I use Want to start an application during file sharing instead of displaying the selection window?
What is the maximum length of a file name supported by the system file manager?
Does fs.write() support encoding formats other than UTF-8?
How do I obtain the used cache size of an application and clear the cache?
Is a synchronous Hash.hash API available?
What is the difference between the files in el1 and el2?
How do I determine the operation permission on a file based on the mode of an FD?
Where can I find the screen recording files on my phone?
How do I export a file from my phone, for example, to an external storage device?
How do I save logs with the faultLogger?
How do I prevent the files from being deleted when the application is uninstalled?
Should I call fileIo.closeSync in ArkTS after close() in C is called to close the FD obtained by fileIo.openSync?
How do I verify file consistency?
What is the difference between fd and internal?
After request.uploadFile() is used to upload a file, there is no callback for the message returned by the server. How do I know whether the file is successfully uploaded?
Does the image URI returned by FilePicker have only temporary access permission?
How do I read a byte array from a binary file and convert the ArrayBuffer returned by fileIo.createStreamSync to number[]?
What should I do if fileIo.open fails to read the application sandbox path?
How do I obtain the rawfile in the resources directory?
What should I do if the error message "the parameters check fails this is fail path" is displayed?
How do I set the font file path when registering a custom font in the font manager?
How do I obtain the sandbox path in native code?
Where are photos and videos stored?
How do I continue writing data from the end of the last write operation?
Where are the HAPs after an application is installed?
Can I enable auto backup of the application data when developing a mobile application?
Why is the length returned by fileIo.write is inconsistent with the content length?
How do I obtain the file name extension?
Why is the API for obtaining the user's Download directory unavailable?
Why does the fileDir obtained vary with the context type?
How do I read the specified content and convert it to an object?
How do I check whether a path indicates a directory?
What should I do if Picker does not have the permission during the cold startup of an application?
How do I create a temporary file?
How do I listen for file or folder changes?
Where can I find screenshots?
How do I convert a Base64 string to an image and save it?
What should I do if the image path passed from ArkTS to C++ cannot be read by the C++ code?
How do I select a path for saving a user file?
Why is the content input by Celia keyboard read again? (For example, when a user enters '1', the system reads '1 1'.)
How do I read the XML file in the rawfile subdirectory and convert its data to the string type?
How do I obtain resources in the resources directory?
How do I convert resources to the string format?
How do I set numbers to be displayed with currency separators?
How do I convert app.media.app_icon to PixelMap?
How do I read the JSON file in the resources directory of a project?
How do I convert the content in a file into strings?
How do I obtain the rawfile resources from a HAR/HSP in a multi-module project?
How does the return value of onLoadIntercept affect onInterceptRequest in the Web component?
What should I do if the onKeyEvent event of the Web component is not triggered as expected?
What should I do if page loading fails when onInterceptRequest is called?
What should I do if the network status fails to be detected on the loaded HTML page?
How do I enable the Web component to return to the previous web page following a swipe gesture?
What are the differences between JSBridge communication and port communication in WebView?
What should I do if the registered custom font is invalid in the WebView?
What should I do if a white screen is displayed or the page cannot be displayed when the Web component loads a page?
What are the differences between javaScriptProxy and registerJavaScriptProxy? How many objects can be registered?
What are the differences between runJavaScript and runJavaScriptExt of WebView? When are they called in the page lifecycle (such as onPageShow and onPageEnd)?
How do I synchronize cookies requested from the network to the web page?
How do I set multiple cookies in batches?
When should the cookie of the login information be injected? How do I ensure that the login information cookie can be injected into the web page that is just opened?
How do I trigger onPageBegin and onPageEnd only when the Web component loads the URL for the first time?
How do I adapt the Web and Webview to common front-end frameworks (such as Vue and React)?
How do I add a header to a web request?
How does a Web component access a local resource file and add query parameters?
How do I determine whether a web page scrolls to the top or bottom and transfer the scrolling event to the page?
How do I use the
tag to open HTML5 pages of the Web component?
How do I prevent the resources registered on the original page from being cleared after the HTML5 page loaded on the web page is redirected?
How do I add parameters to a URL when the Web component uses rawFile to load offline HTML files?
How do I use the alert function of H5 in the WebView?
Does HarmonyOS support independent upgrade of the web kernel?
Whether the third-party WebView kernel is supported?
Does WebView support CodeCache?
When should I use dynamically created Web components? What is the performance?
How do I check the path of cookies?
How do I hide the PDF operation button bar during PDF preview?
What should I do if a white screen is displayed during WebView offline loading?
What should I do if a white screen is displayed when the loaddata method of WebView is used?
Whether the cookie in the WebView can be synchronized with that in the application?
How do I run JS scripts before and after the DOM tree is loaded in the Web component?
How do I store the WebController globally?
What should I do if the process ID needs to be found during each debugging of the WebView?
How do I set a custom user agent using a callback event of the Web component?
Does the system support WebRTC? What are the specifications?
How do I load files that are intercepted on the web page?
How do I set the mixed content policy in WebView to load HTTP and HTTPS mixed content?
How do I obtain the error code when an error occurs during Web component loading?
How do I adapt the player on a web page to the full screen?
Does the Web component support redirection to other apps through the URL Scheme protocol?
How do I set the saveas parameter in request.agent.Config?
How do I use the Web component to download PDF files and display them to users?
How do I set the opacity effect of HarmonyOS Webview?
How do I hide the scroll bar of Web components?
What files can be previewed in WebView?
What are the differences between the four risk levels illegal, fraud, risk, and warning when using the Web component to access a page? Does the risk levels can be customized?
Is there an API to determine whether the Web component is bound to the controller?
How do I use the onInterceptRequest API to asynchronously process response data?
Can I use request.getRequestHeader() in onInterceptRequest to obtain all request headers?
Whether the Web component has the listening or callback method when the PDF file fails to be loaded?
How do I load a link with a hash (#) in the WebView?
What should I do if accessBackward of Webview does not meet expectations?
When should I call the getPageHeight method of WebviewController?
Does the ArkWeb component support deep copy?
How do I adapt ArkWeb to multiple devices?
What is the memory usage and memory reclamation mechanism of the Web component?
What should I do if the soft keyboard is displayed unexpectedly during web page switching?
How do I convert an HTML page loaded by the Web component into a PDF file?
How do I change the displayed white screen page to a custom error page when web loading fails?
How do I properly render the returned HTML containing mathematical formulas to the page?
What should I do if the image component fails to load online images due to network problems?
What should I do if a web page is zoomed out when the vh unit is used for page adaptation?
Will the permission request dialog box appear again after the user previously rejects such a request?
Is the permission request dialog box displayed after an application update?
What are the precautions for applying for the precise location permission?
How do I display the permission request dialog box again when the user has denied a permission?
Can a description be provided for a dynamic permission request?
Can user_grant permissions be pre-granted?
Which system security capabilities are naturally available and which require adaptation by developers?
Can an application listen for the permission change made in Settings?
Why isn't a pop-up displayed when an application applies for the location permission?
What can I do to prevent the application from crashing when it is started again after the user denies the permission requested?
Is dynamic authorization supported?
What is the difference between extensionAbilities and requestPermissions in the module.json5 file?
Can the asset store of an application be obtained by other applications? Can I disable cross-device sync of asset data?
Do HarmonyOS applications require packing?
How do I obtain the hash value of an application signing certificate?
How do I use the RSA public key (string) issued by the server to encrypt plaintext?
Does ECC support Secp256r1?
How do I encrypt a large file using SM4?
How do I use the RSA public key (pk) to encrypt a piece of text?
How do I convert a public key to hexadecimal or Base64 format?
What do I do if garbled characters are displayed after Base64 decoding?
How do I encrypt and decrypt public and private keys?
What should I do if error 401 is reported when RSA is used to encrypt data?
What should I do if "Error message:convertSymKey key failed!" is reported in HMAC encryption?
How do I use an existing certificate to encrypt an RSA public key?
How do I use SM3 to calculate the message authentication code?
How to store a public key?
How do I convert a string into a key object during AES encryption?
How do I use SM3 to generate a hash value?
What should I do if "error 401 invalid param" is displayed when convertKey is called to convert the public key in RSA encryption?
In which conditions will the key generated by HUKS be deleted or destroyed?
Must the initial vector (IV) in HUKS be a random number? What is the impact of the IV on the key generated?
What should I do if AES encryption fails in concurrency scenarios?
Can the AAD be empty when the AES GCM algorithm is used in HUKS?
What should I do if the plaintext after HUKS decryption is different from the original plaintext if Chinese characters are present?
How do I obtain the public key of a HarmonyOS signing certificate?
How do I use a custom PIN (6–16 digits) to unlock a key?
What should I do if an error is reported when HUKS native APIs are used to generate a key?
How do I store important data such as private keys?
What is the difference between huks.isKeyItemExist and huks.hasKeyItem?
Does HarmonyOS support pre-installation of a CFCA certificate?
How do I obtain the parameters of the certificate chain validator?
What data formats are supported by extraData in an HTTP network request?
What does error code 6 mean in the response to an HTTP request?
How do I upload photos taken by a camera to the server?
What does netId mean in the netHandle object returned by connection.getDefaultNet?
What knowledge do I need to know for using HTTP network connections?
How do I set cookies for HTTP APIs?
How do I write extraData in the HTTP request sample code?
How do I obtain data through network requests and display the data through the List component?
Does WebSocket support MQTT connections?
How do I obtain data from the MySQL database through an NIC?
What should I do if error 88 is reported for a socket connection?
How do I configure the stage model to support HTTP plaintext data transmission?
What is the difference between using a PixelMap and directly accessing a URL for the Image component to load a network image?
Can I leave the Content-Type parameter unspecified in HTTP requests?
What should I do if the HTTP request response is empty and the error message "The request has been canceled or the number of requests exceeds 100" is reported?
Does the Socket API library support domain name binding?
Can a specific thread be assigned for HTTP request execution?
What is the maximum number of concurrent HTTP requests?
Should I destroy an HTTP request after it is finished?
Is an HTTP connection reusable?
Can a specific network be specified for sending HTTP requests?
Will the underlying system disable the socket connection if the network is unstable?
Which third-party libraries are related to network requests?
How does the third-party library @ohos/axios transfer parameters in queryParams when initiating a POST request?
How do I send HTTP requests in JSON format in ArkTS?
What should I do if calling connection.hasDefaultNet() fails when the network is normal?
What should I do if error 404 is reported during installation of the Axios library?
Is the key in the header of an HTTP request case sensitive in ArkTS?
What should I do if httpRequest.request fails SSL certificate verification for using HTTPS?
Can I obtain encrypted data from the result of httpResponse?
What should I do if the callback in client.on("message," (value: SocketInfo)) cannot be received when SocketServer is used?
How do I find out if a cellular network is used?
How are HTTP requests transmitted in a form?
How do I implement HTTP persistent connections?
How do I implement HTTP concurrent download?
What is the difference between request and requestInStream?
How do I use Charles to capture packets?
The address parameter of NetAddress can only be an IP address for socket-related APIs. What should I do if only the host is available?
How do I convert the received object data to ArrayBuffer after a TCPSocket connection is established?
How do I convert the network data obtained by Axios from the GBK format to the UTF-8 format?
What should I do if "NetType":1 is returned in the common event of network connection status changes?
How do I check whether the current network is accessible?
What is the difference between netLost and netUnavailable events?
What should I do if error 2300023 is reported when a file larger than 5 MB is sent via an HTTP request?
What should I do if netBearType is inconsistent with the actual situation?
If the network is unavailable, an error is reported when getConnectionPropertiesSync is used to obtain the network status. What should I do?
How do I check whether a network is a VPN?
How do I obtain the NIC link address and DNS address of a network connection?
How do I determine the IP address version of the current network?
How do I implement priority access to the Wi-Fi network when multiple networks are connected?
What should I do if TCP connections are interrupted when the application is switched to the background?
What is the certificate verification logic of the HTTP module?
Can the HTTP module ignore certificate verification?
Why are HTTP requests still cached in the local DNS after custom DNS is configured?
How do I make a custom DNS take effect immediately when an existing HTTP link is reused?
How do I set a timeout interval for the HTTP request initiated by the RCP module?
Does the RCP request have a data size limit?
How does a third-party application obtain the Bluetooth MAC address?
How do I obtain the Wi-Fi list?
What is the difference between USE_BLUETOOTH and ACCESS_BLUETOOTH?
How do I obtain the IP address of the current device after it is connected to a Wi-Fi network?
How do I obtain the network type?
How do I determine the cellular signal strength?
How do I send SMS messages?
How do I obtain the system timestamp?
Is it supported to obtain the list of all applications on a user's mobile phone?
Can Emitter register multiple callbacks using on() for multiple times when the eventId is the same?
Why only the permissions requested by the application are displayed in the system settings?
How do I obtain the system version?
How do I obtain the system time and remain the timestamp in Beijing time when the time zone is switched?
Can I replace file path in the internal directory with other path while setting the uploadConfig?
What does the error message "err number=8" mean when request.downloadFile() is called?
What are OAID, AAID, and ODID and how do I obtain the unique identifier of a device?
What should I do if the subscriber cannot receive subscribed events when the number of events published by the Common Event Service (CES) reaches the specified value?
How do I obtain a wakelock to prevent system sleep?
How do I obtain the API version numbers supported by a device?
How do I ensure API compatibility on devices with different system versions?
What should I do if error 201 is reported when calling a vibrator API?
How do I read data of a motion sensor such as an acceleration sensor?
How do I obtain the frame data of a camera when using the XComponent to display the preview output stream of the camera?
How do I obtain the preview image of the front camera?
How do I set the camera focal length?
How do I obtain the camera status?
How do I read the preview image of the camera?
How do I prevent the camera preview from distorting when displayed in full screen?
What should I do when an incorrect image is displayed after the camera in preview mode is switched to the background and then switched back?
How do I disable the camera?
What can I do if a black screen is displayed without any error information during preview?
How do I prevent preview stream distortion?
How do I turn on/off the flash?
How do I invoke the system camera to take photos and obtain them?
What video stream formats are supported?
How do I set the video preview resolution?
How do I implement the onPreviewFrame callback function for photo preview?
What is the YUV data format?
How do I implement video mirroring recording using the front camera?
Is the memory of the object created by calling PixelMap_CreatePixelMap shared between the ArkTS and native sides?
How do I select an image from Gallery and upload it to the server?
How do I set the Gaussian blur effect for an image?
What is the relationship between the quality parameter in the image compression APIs and the original size and compressed size of an image?
What formats are supported for image encoding and decoding?
How do I generate a PixelMap based on a photo selected from an album?
How do I edit and crop photos in an album?
How do I set the image resolution?
How do I read photos in an album?
How do I save the video frame data received by ImageReceiver locally?
Why is the size of the obtained YUV data greater than (width x height x 1.5)?
How do I implement conversion between PixelMap and Base64?
How do I compress an image to a size lower than a specified limit?
Error code 62980096 is reported when setting pixelFormat to NV21 or NV12. What should I do?
How do I convert a PixelMap received on the C++ side into the cv::Mat format?
How do I save a PixelMap to an album?
How do I save network images to an album?
How do I generate a QR code with a logo?
How do I compress GIF images?
How do I play music in the background?
What should I do when multiple video components cannot be used for playback?
What should I do when the OpenSL ES audio recording sample crashes?
Does SoundPool support audio in WMV format?
How do I listen for recordings?
In which audio processing scenarios are 3A algorithms (AEC, ANC, and AGC) embedded?
Does AudioRenderer provide an API for seeking to a frame?
How do I implement a short prompt sound (for example, a sound or sound effect in scenarios such as liking, favoriting, or receiving new messages)?
How do I prevent audio focus from being occupied when playing audio silently?
How does a third-party application choose an appropriate audio stream type?
How do I switch audio application development from OpenSL ES to OHAudio?
How do I change the default output device during audio playback?
How do I adapt audio focus?
How do I adapt WebView focus?
What should I do if there is no pause after device switchover?
Why does the boot animation still have sound during a restart when the phone is set to silent mode?
How do I implement the automatic pause feature on an application based on the audio output device change information?
How do I intercept the volume adjustment events?
How do I correctly set the AVRecorderProfile parameter when using the AVRecorder to record audio files in WAV format?
How do I play audio files in PCM format?
How do I seek to a specified playback position when using the AudioRenderer to play audio?
What should I do when the AVPlayer occasionally reports error codes 5400104 and 5400103?
What streaming protocols and functions are supported by the system AVPlayer?
How do I interrupt the current audio playback and play another audio using the AVPlayer?
How do I enable the AVPlayer to continue playing the previous video when the application is switched from the background to the foreground?
How do I refresh and reload a video when using the Video component, such as when there is a network exception causing playback failures?
Why does playing a local video source immediately after adding it to the Video component fail?
How do I obtain the first frame of a video?
Are there any restrictions on the screen recording frame rate? How do I set the maximum frame rate?
How does an application respond to loop mode switching commands from the media controller?
How does an application update the progress bar?
Why are some buttons in the media controller grayed out and unclickable?
Can I customize control elements displayed in the media controller?
How do I implement continuous casting?
Does the system support casting to DLNA-compatible devices?
How do I customize the AVCastPicker component?
How do I implement output device selection?
What should the display on the local device look like upon a successful casting?
What control capabilities are supported after casting?
What are the possible causes of device connection failure, slow startup, and slow callback progress during playback?
Which format is supported by VideoDecoder, AVCC or AnnexB?
What are the multiplexing formats and encoding formats for audio and video files?
How do I obtain the codec capability supported by the system?
How do I compress videos?
How do I synthesize images into a video?
How do I draw a custom animation using EGL?
What should I do if a crash occurs when multiple threads call OH_Drawing_CreateFontCollection?
Are EGL operations supported in multithreaded scenarios? How do I operate a buffer to draw a graphic in multithreaded scenarios?
How do I send decoded frames for display?
What should I do when OpenGL cannot normally render YUV data with some resolutions?
What should I do when the error code "EGL_BAD_SURFACE (300d)" is reported during the call of the eglSwapBuffers API? The log information "QEGLPlatformContext: eglSwapBuffers failed: 300d" is displayed.
What should I do when the error code "EGL_BAD_ALLOC" is reported during the call of the eglSwapBuffers API?
What should I do when the same OpenGL context is used in multiple threads?
How do I choose between the texture types GL_TEXTURE_2D and GL_TEXTURE_EXTERNAL_OES?
Does an EGLSurface support simultaneous display and output to the encoder?
How do I proactively disable CPU access to window buffers to reduce power consumption?
How Do I transfer events only in one UIAbility instance?
How do I listen to system common events, such as screen-off, screen-on, and power-on?
What is the mechanism of applying for the notification permission with the requestEnableNotification API?
What are the differences between system pop-ups and application message push?
How do I rectify a failure to call notificationManager.publish to publish notifications?
After emitter.off is called to unsubscribe from an event, will all pages that have subscribed to the event no longer receive it?
How do I apply for the precise location permission?
What coordinate system is used by the Location kit and how do I convert the coordinate system based on the actual application scenario?
Why does the setting of Interval to 1 not take effect in the indoor continuous positioning scenario?
What should I do if the connection to Gitee timed out during sample importing?
How do I resolve the SSL certificate verification error during sample importing?
How do I resolve the network connection error during HarmonyOS SDK downloads?
What should I do if DevEco Studio won't open?
How do I configure the DevEco Studio proxy?
What should I do if npm package installation fails?
How do I use ohpm in the CLI?
What should I do if sdkmgr fails to download the Linux SDK in the pipeline scenario?
Does ohpm-repo support HSP management?
What should I do if ohpm registry access fails in the environment check?
How do I resolve the automatic signing error "The signature does not take effect or has expired. It may be the current system time is inaccurate, please calibrate the system time and sign again"?
How do I set automatic wrapping for log messages in DevEco Studio?
What should I do if the "Import DevEco Studio Settings" dialog box is displayed during runtime?
What should I do if the packaging fails and error message "00303153 Configuration Error" is reported when configuring JDK25 in the environment?
How do I resolve the "Incorrect settings found in the build-profile.json5 file" error during a project check?
What should I do if the environment diagnosis and project/module creation pages are blank?
How do I resolve the "Install failed FetchPackageInfo: hypium failed" error that occurs when opening a historical project?
How do I use the ArkTS code template in DevEco Studio?
How do I convert an HSP into a HAR?
How do I convert a HAR into an HSP?
How do I configure DevEco Studio to print log content exceeding 1000 lines in the console?
How does DevEco Studio automatically install dependencies?
How do I disable the automatic formatting feature in DevEco Studio?
How do I resolve the "Unable to rename the file. Cause: Unable to delete D:\xxx\default" error when uninstalling the SDK on Windows using DevEco Studio?
What should I do if uint8_t in the .h file cannot be used?
How do I use Git in DevEco Studio to manage multiple remote repositories?
How do I install an npm package in offline mode?
What should I do if multiple instances of the warning "-Wunused-command-line-argument" in the project, which affect the viewing of valid logs?
How do I configure the currently opened file to be automatically highlighted in the project directory?
What should I do if the directory tree disappears from the left side of the project view?
What should I do if the system APIs of the SDK are displayed in the ExternalCpp view?
What should I do if intelligent code completion and navigation features do not work?
Does DevEco Studio provide a feature to check for unreferenced resources in one click?
How do I automatically format modified code when committing in DevEco Studio?
How do I preview the structure tree in DevEco Studio?
What should I do if the breakpoint area on the left side of the DevEco Studio editor disappears?
How do I set up DevEco Studio to automatically add header comments and copyright notices when creating new .ets files?
How do I resolve the "Property 'BUILD_VERSION' does not exist on type 'typeof BuildProfile'" error reported regarding BuildProfile during custom field building?
How do I exclude large files from editor scanning?
What should I do if the editing feature fails and the message "ArkTS language service terminated due to memory constraints." is displayed?
What should I do if using the Node-API generation feature results in the "Unsupported parameter type." or "Unsupported return type." error?
How do I resolve the "Failed to generate NAPI, check the napi_init.cpp file and try again." error when using the Node-API generation feature?
How do I resolve the "Could not find usage of napi_module_register in napi_init.cpp." error when using the Node-API generation feature?
How do I resolve the "Scan files to index fail" error when starting DevEco Studio?
What should I do if the server fails to be started and the process exits unexpectedly?
What should I do if the editor displays "The default system capabilities of devices wearable do not include SystemCapability.ArkUI.ArkUI.Circle" when using the ArcList component on DevEco Studio?
Why does the @since X in the comment of an ArkTS API seem to be later than the actual introduction time of the API?
How do I set the pixel values for the Previewer in DevEco Studio?
What should I do if the Compress Logs and Show in Explorer feature in the Help menu does not work during preview?
How do I resolve the "@Consume/@Link decorated property
not initialized" error during preview?
How do I resolve the "There are properties not initialized" error during preview?
What should I do if the error message "Node service error detected.Reinstall DevEco Studio to fix the error." is displayed during the Previewer startup?
How do I resolve the white stripes appearing at the top and bottom of the preview window?
What should I do if "JS heap out of memory" is reported during compilation?
What should I do if "JavaScript heap out of memory" is reported during compilation in a Linux environment?
What should I do if "The re-export name 'xx' need to be marked as type" is reported during compilation?
What should I do if "Cannot find module XXX or its corresponding type declarations" is reported during compilation?
What should I do if "ERROR: Failed:entry:default@CompileResource" is reported during compilation?
What should I do if "Module 'xxx' has no exported member 'yyy'" is reported during compilation?
What should I do if "Could not load ${file1} (imported by ${file2}): Maximum call stack size exceeded" is reported during compilation?
What should I do if "Property xxx does not exist on type 'typeof BuildProfile'." is reported during compilation?
What should I do if the PC does not respond during the C++ project compilation?
What should I do if the build fails due to mismatch of the JDK version?
What should I do if "LABEL_VALUE_ERROR" is reported?
What should I do if "Schema validate failed" is reported?
What should I do if "Schema validate failed" is reported during compilation?
What should I do if "No available entry module found" is reported during compilation?
What should I do if "keystore password was incorrect" is reported during compilation?
What should I do if "please check deviceType or distroFilter/distributionFilter of the module" is reported during compilation?
What should I do if "Failed to generate test project build system" is reported during build?
Why does a third-party dependency library of a C/C++ project fail to be packaged into the HAP?
Why does the files in the src/main/cpp directory of the Static Library module fail to be packaged into the HAR?
What should I do if "The ArkUI-X project's structure has been changed" is reported?
Why does an .ap file fail to be built using Target AOT?
What should I do if "ArkTS:WARN: For details about ArkTS syntax errors" is reported during compilation and build?
What should I do if "ninja: error: mkdir(xxx): No such file or directory" is reported during compilation?
What should I do if "(is the command line too long?)" is reported during compilation?
What should I do if "CMake Error: The following variables are used in this project, but they are set to NOTFOUND" is reported during compilation?
What should I do if a Build Init error is reported when Hvigor and hvigor-ohos-plugin versions are changed during synchronization?
Why does Build Init fail to find the dependency after which is configured when updating Hvigor?
What should I do if "ERROR: Task xxx was not found in the project xxx" is reported during build?
What should I do if "The reason and usedScene attributes are mandatory for user_grant permissions" is reported during compilation?
What should I do if "Only one default card can be configured in the form_config.json file" is reported during compilation?
What should I do if "In the form_config.json file, if the value of the updateEnabled field is true, the updateDuration and scheduleUpdateTime fields cannot be both empty" is reported during compilation?
What should I do if "App Launch: To run and debug the Harmony device, configure the HarmonyOS runtime." is reported during compilation?
What should I do if "Property 'XX' does not exist on type 'typeof BuildProfile'." is reported during compilation?
What should I do if "Signing material error" is reported during compilation?
How do I build a debug or release version without modifying build-profile.json5 file?
How do I configure dynamic dependencies in oh-package.json5?
What should I do if the .abc file cannot be executed due to SDK and image version mismatch?
What should I do if the struct of a custom component does not support the get or set method for defining member variables?
What should I do if the HAP is not signed when an application is packed into an .app file?
How do I sign a new module online?
How do I configure the DevEco Studio to debug the dynamic library?
How do I configure a native C/C++ library in a project?
How does a HAR file reference a .so file which locates in another HAR file?
How do I set the files to be excluded in the compilation configuration?
How do I add a custom task during compilation?
What should I do if an include
error is reported during compilation?
How do I control the CPU usage during compilation?
How do I export the dependency tree of a project from DevEco?
How do I use an npm package in a custom Hvigor task?
How do I write the compilation script of the HAR file?
How do I customize multi-target and multi-product builds?
Can I use self-developed plugins in DevEco Studio?
What should I do if "Property xxx does not exist on type 'typeof BuildProfile' is reported during compilation?
How do I perform preliminary performance analysis for DevEco Studio compilation and build?
How do I resolve the issue that the DevEco Studio compiles HSP and closed-source HAR files slowly because the emit process takes a long time to generate a declaration file?
How do I obtain the value in BuildProfile?
Is it supported to read the BuildProfile on the native side?
What should I do if exception occurs when I run the hdc file send command?
What should I do if "Couldn't find hvigor/hvigor-wrapper.js" is reported during pipeline build?
What should I do if an error is reported when sdkmgr downloads the development package in commandline-tools-linux during pipeline setup?
What should I do if "Operation not permitted" is reported during compilation in DevEco Studio?
How do I pass parameters using the command lines and obtain them using the extension plugin of Hvigor during compiling?
What should I do if an error is reported when the signature is generating?
How do I pass in signature information through build parameters?
How do I exclude a specific kind of logs from DevEco Studio?
How do I set the CPU architecture for compilation and packing?
What should I do if "platform/OHOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake" is reported?
What should I do if "Failed to request the remote SDK" is reported during pipeline build?
How do I improve the code obfuscation rate?
Is the LLVM on the HarmonyOS NDK changed? Does it support the reuse of some intermediate products?
Does armeabi-v7a support Neon instruction extensions?
What is the applicable scope of the ARM64, ARMv7, and x86_64 architectures respectively?
What should I do if a static reference exception occurs after obfuscation?
What should I do if "too many open files" is reported during compilation?
How do I configure and optimize the oversized package size?
How do I build an HAR in the release mode?
What should I do if "Error while Deploy Hap" is reported when compilation is successful but installation fails?
How do I execute shell scripts in a build task?
What should I do if "no such file or directory, realpath 'xxx'" is reported during compilation?
What should I do if the memory usage is too high during compilation?
What should I do if "Duplicated files found in module entry. This may cause unexpected errors at runtime." is reported during compilation and build?
How do I remove the error "Cannot read properties of undefined(reading 'XXX')"?
How do I resolve the "Duplicated files found in module xxx. This may cause unexpected errors at runtime." error?
How do I resolve the "input module releaseType is different" build error?
How do I resolve the "debug is different" build error?
How do I resolve the "proxy data is duplicated" build error?
How do I resolve the "Init keystore failed: parseAlgParameters failed: ObjectIdentifier()" error?
How do I resolve the "generate SignerBlock failed" error?
How do I resolve the "java.io.IOException: DerValue.getOID, not an OID 49" error?
How do I resolve the "A 'undefined symbol' error has occurred" error during C++ compilation?
How do I resolve the "A 'unknown type name' error has occurred" error during C++ compilation?
How do I resolve the "The path XX is not writable. Please choose a new location" error?
How do I resolve the "The useNormalizedOHMUrl settings of packages xxx and the project useNormalizedOHMUrl: xxx do not match" error?
How do I resolve the "Could not resolve 'xxx' from" error when the 'xxx' directory exists?
What should I do if the user directory does not contain an .npmrc file?
How do I resolve the "Error: 'icon' value `$media:icons` invalid value." error?
How do I resolve the "Error: cJSON_Parse failed, please check the JSON file." error?
How do I resolve the "Error: the name 'XXX' can only contain [a-zA-Z0-9_]" error?
How do I resolve errors with require statements in third-party packages?
How do I resolve the "Indexed access is not supported for fields(arkts-no-props-by-index)" error?
How do I resolve the "Declaration merging is not supported (arkts-no-decl-merging)" or "Cannot redeclare block-scoped variable 'xxx'" error?
How do I resolve the "The inferred type of 'xxx' cannot be named without a reference to 'xxx'. This is likely not portable. A type annotation is necessary." error?
How do I resolve the "arkts-no-any-unknown" and "Cannot find module 'xx' or its corresponding type declarations" errors?
How do I resolve the "ERROR: ArkTS Compiler Error ERROR: /bin/sh: "xxxx/es2abc": Operation not permitted" error?
How do I resolve the "Cannot add xxxx items to index" error?
How do I resolve the "resource busy or locked, open 'xxx\outputs\build-logs\build.log'" error?
What should I do if the signing is intercepted when the dynamic library is loaded on macOS?
Why can a file without a default export be imported as a default import without causing any compilation error?
How do I resolve the "The service widget file contains one or more references to HSPs" error?
How do I resolve the "The required attribute: module-name is missing" error?
How do I resolve the "The required attribute module-srcPath is missing" error?
How do I resolve the "The srcPath is not a relative path: xxx" error?
How do I resolve the "Method setProperty validate failed in hvigorfile.ts" error?
How do I resolve the "Cannot resolved import statement" error?
How do I resolve the "The type of target device does not match the device type configured by module: xxx" error?
How do I resolve the "useNormalizedOHMUrl can be true only when Compatible SDK Version is 5.0.0 (12) or later" error?
How do I resolve the "The local dependency below in module %s is invalid." error?
How do I resolve the "There are some dependency names that are inconsistent with the actual package names." error?
How do I resolve the "Local dependency in parameterFile does not exist." error?
How do I resolve the "Invalid form name 'xxx'." error?
How do I resolve the "File 'string.json' is missing the required property 'string'." error?
How do I resolve the "Invalid tag 'xxx' at 'xxx/xxx.json5'." error?
How do I resolve the "The 'tag' keyword is not allowed for 'version' at 'xxx/oh-package.json5'." error?
How do I resolve the "module.json5 file not found." error?
How do I resolve the "The name of the 'xxx' module must be a string, but received a value of type 'xxx'." error?
How do I resolve the "The version number of the module must be a string, but received a xxx." error?
How do I resolve the "This project is in the FA model and does not allow for external dependencies." error?
How do I resolve the "This project is in the stage model and does not allow for dependencies of modules in the FA model." error?
How do I resolve the "Cannot depend on HAP modules outside of this project" error?
How do I resolve the "Unrecognized archive format in parameterFile" error?
How do I resolve the "The reason and usedScene attributes are mandatory for user_grant permissions." error?
How do I resolve the "The reason attribute are mandatory for user_grant permissions." error?
How do I resolve the "CMake task execution failed" error?
How do I resolve the "Duplicate 'routerMap' object names detected." error?
How do I resolve the "Failed to obtain the module type." error?
How do I resolve the "The permission under requestPermissions must be a value that is predefined within the SDK or a custom one that you have included under definePermissions." error?
How do I resolve the "The metadata field in FormExtensionAbility cannot be left blank or as an empty array." error?
How do I resolve the "In FormExtensionAbility, metadata must contain an object with its name set to 'ohos.extension.form' and resource set to a second-level resource reference." error?
How do I resolve the "byteCodeHar not supported when useNormalizedOHMUrl is not true." error?
How do I resolve the "Duplicate 'Module-Abilities' object names detected." error?
How do I disable all bytecode HAR configurations in a project?
What should I do if the error message "Currently module for 'xxx.so' is not verified." is displayed when I use import { export } from 'xxx.so'; to import a .so file in a .ts file?
What should I do if the error message "Ohos BundleTool [Error]: hsp has home ability;Ohos BundleTool [Error]: CompressEntrance::main exit, verify failed." is displayed during an HSP build?
What should I do if the compilation error message "Error: open 'xxx\libimage_transcoder_shared.dll' failed" is displayed?
What should I do if "Error message:cannot find record '&XXX/src/main/ets/YYY&x.y.z', please check the request path.'ZZZ.abc'." is reported when I deploy a package for debugging?
What should I do if the command execution is suspended on the daemon startup log or the compilation error "ReferenceError, TransformStream is not defined in hvigorfile: XXX" is reported?
What should I do if the "Cannot read properties of undefined (reading 'split')" message is displayed during compilation?
What should I do if an error occurs during the compilation after react-native-openharmony is upgraded?
What should I do if the error message "ENOENT: no such file or directory, uv_cwd" is displayed?
What should I do if an error is reported when building an application for the ARKUI-X project in DevEco Studio 6.0.0 Beta1 and later versions?
What should I do if an error message "EPERM: operation not permitted, symlink 'xxxxxxxx' -> 'xxxxxxx'......" is displayed on the console during the build process?
What should I do if an error message "hvigor ERROR: Error: EINVAL: invalid argument, mkdir 'D:xxx\yyy\zzz\D:'/ 'C:xxx\yyy\zzz\C:at Object.mkdirSync (node:fs:1391:3)" is displayed?
What should I do if resources in the ets directory cannot be loaded when creating a new project or module?
How do I modify some source code for third-party SDK customization?
What should I do if DevEco Studio crashes when multiple large HAP/HSP modules are compiled concurrently?
How do I handle the compilation error "failed with:Exit code 0xc0000043"?
What should I do if the login to DevEco Studio times out?
What should I do if the Allow button is not displayed and browser does not redirect after entering a HUAWEI ID?
What should I do if login failed after clicking the Allow button on the browser?
What should I do if the website cannot be reached after I click Allow?
What should I do if the browser window cannot be displayed during DevEco Studio login authorization?
Can the same set of signing files be used by multiple people for debugging on different devices?
What is the material folder generated after signing?
What should I do if " hap-sign-tool:error:invalid CEN header (bad signature)" is reported during packing?
What should I do if the keystore file is incompatible with the JDK version?
What should I do if the password of the keystore file is incorrect?
What should I do if the signing certificate file fails to be parsed?
What should I do if the software package format is abnormal?
What should I do if the signature verification fails?
How do I sign the HAP or App Pack using DevEco Studio?
What should I do if the debug signature configuration is abnormal?
What should I do if the real-name authentication is required after login?
What should I do if uninstalling an application on the local Emulator shows success, but it was not actually uninstalled?
What should I do if "Failed to get the device apiVersion" is reported when a project is run on the local Emulator?
What should I do if freezing occasionally occurs when local audio files are played on the Emulator?
What should I do if the Emulator time is inconsistent with the system time?
What should I do if the device cannot be identified after the Emulator is started?
What should I do if "Hyper-V not enabled" is reported when the Emulator is started on a Windows PC?
What should I do if the divider is not clear or displayed in the Settings of the Emulator or the List component?
How do I access the local macOS HTTP service on the Emulator?
What should I do if an error message is reported, indicating that libQt5Network.5.dylib cannot be opened because Apple cannot check whether the VM contains malware when the VM is started?
What should I do if the application cannot be found after clicking Device Manager?
What should I do if the Run button is always disabled on macOS after a file is modified on DevEco Studio?
What should I do if the application crashes and exits when the Emulator is running?
Why are image colors on the Emulator different from those on the real device?
Why does macOS activity monitor show high memory usage of the Emulator?
How do I increase the Emulator RAM?
What are restrictions on using third-party C/C++ libraries on the Windows x86 Emulator?
What should I do if the Emulator cannot connect to the Internet?
How do I install a digital certificate for initiating HTTPS requests?
How do I distinguish real devices from emulators in applications?
What should I do if clicking the "New Emulator" button does not work?
What should I do if the Windows x86 Emulator does not display the home screen?
What should I do if the screen cannot be turned on in the Windows x86 Emulator?
What should I do if "The system-image file is missing." is reported when the Emulator is started?
How do I access files generated by an application running in the Emulator?
What should I do if the audio would not play after the headset is removed and inserted during playback?
What should I do if some videos cannot be played properly on the Emulator?
What should I do if "insufficient memory" is reported when starting the Emulator on a Windows computer?
What should I do if the network is abnormal when obtaining the template data in device manager and download the Emulator image?
What should I do if the Emulator cannot connect to the Internet when multiple DNS servers exist?
What should I do if breakpoints cannot be added during debugging?
What should I do if a real device cannot be identified in DevEco Studio after it is connected?
What should I do if running the "hdc list targets" command results in "[Empty]" after a real device is connected?
What should I do if DevEco Studio fails to connect to the device after the ROM of the device is upgraded to 5.0.0.31 or later?
What should I do if "Provision number exceeds limit" is displayed during automatic signing of a HarmonyOS application?
What should I do if "Unsupported restricted ACL permission exist in the configuration" is displayed during automatic signing of a HarmonyOS application?
What should I do if "TypeError: Cannot read property xxx of undefined" is displayed during runtime?
What should I do if "compatibleSdkVersion and releaseType of the app do not match the apiVersion and releaseType on the device." is displayed during HAP installation?
What should I do if "error: failed to start ability" is displayed during HAP installation?
What should I do if "error: unlock screen failed in developer mode" is displayed during HAP installation?
What should I do if "Waiting for application to come online notification" is displayed when debugging is started?
What should I do if error messages related to stack trace analysis for release applications are displayed?
What should I do if no ASan log is generated when an entry module references a local library?
What should I do if "Hdc server port XXXX has been used" is displayed during running the HAP?
What should I do if Hot Reload is not supported after code modification?
What should I do if hot reload fails to be executed?
What should I do if "Failed to connect to unix-abstract-connect" is displayed when C++ debugging is started?
How do I use DevEco Studio to debug C/C++ code breakpoints?
How do I export screenshots from a device to a local PC?
What should I do if the application fails to be automatically signed, and the message "calibrate the system time and sign again" is displayed?
How do I forcibly restart a device?
What should I do if the network unit test case crashed?
What should I do if lldb-server cannot be connected during native debugging?
What should I do if "FileTransfer Failed: Error while Deploy Hap" is displayed during HAP installation on DevEco Studio?
What should I do if "FileTransfer Failed: [Fail]Error opening file: no such file or directory" is displayed during HAP installation on DevEco Studio?
What should I do if "FileTransfer Failed: [Fail]Error opening file: operation not permitted" is displayed during HAP installation on DevEco Studio?
What should I do if "FileTransfer Failed: [Fail]Transfer Stop at:XXX, Reason: no space left on device" is displayed during HAP installation on DevEco Studio?
What should I do if the error message "hap path error" is displayed during application running?
What should I do if the parallel stack pane is blank when I am using the native debugging stack visualization feature?
How do I configure DevEco Studio to ignore the assert signal caught by raise?
How do I ensure user information stored in Preferences is not cleared after each run?
How do I resolve the occasional connection timeout issue between ArkUI Inspector and an application?
What should I do if attach and incremental debuggings fail on 2-in-1 devices?
What should I do if the recording of a Profiler analysis task fails?
What should I do if historical data fails to be imported?
What should I do if DevEco Studio cannot run properly due to high memory usage?
What should I do if application performance deteriorates after stability stress testing?
How do I obtain native code information for Allocation recordings in Profiler?
What should I do if the Profiler window fails to load?
What should I do if an exception occurs when I enable lane recording for a wearable device using DevEco Profiler?
What should I do if no data is displayed on the Load ETS Files and TOP Redundant tabs of the Details page of the Launch lane in DevEco Profiler?
What are the possible causes of application check failure on MacOS X86_64?
What should I do if the navigation of the diagnosis result code line of the health check tool is inaccurate?
How do I avoid versioning prompts when using git after using AppAnalyzer?
What should I do if "No Data" is displayed in trace-related lanes when Profiler is used to record data on macOS?
What should I do if there is no data in the OpenGL ES sub-lane within the Graphic Memory lane when recording the Allocation template on a PC device?
How can I view the memory information of the TaskPool thread during Snapshot template recording?
What should I do if the memory of the Memory lane is different from that of the Native Allocation lane when recording the Allocation template?
What should I do if the indicator detection value cannot be clicked to start the profiler?
What should I do if test tasks fail to be executed after DevEco Studio is upgraded?
What should I do if the task result tree is always in the loading state when a test case is run?
What should I do if "container is not running" is displayed?
What should I do if an error is reported and a blank screen is displayed after a UI test case times out?
What should I do if test cases fail to be executed when the original project is opened using the new DevEco Studio version?
What should I do if the stack path is incorrectly printed when the instrument test is executed using a command?
What should I do if a cppcrash is reported during the test run because the ohosTest file references the method of the entry module?
How do I resolve the "Load Page Failed: pages/Index" error that occurs when the ohosTest file references the exported method of the startup page?
What should I do if an error is reported when the Python dependency is installed in DevEco Studio AppAnalyzer?
How do I install Python on macOS without modifying environment variables?
What should I do if recording fails and no recording file is generated?
What should I do if recording succeeded but the playback effect did not meet expectations?
What should I do if "No app with the specified package name is found under the team." is displayed during software package upload?
What should I do if the message "tar.exe: Tool-small extra data: Need at least 4 bytes, but only found 1 bytes" is displayed when the application UI generates a plug-in and decompresses the .apk file?
What should I do if a private key error occurs during publishing through Git Bash?
How do I manage the uploaded packages after a private repository setup using ohpm-repo?
What should I do if "ohpm ERROR: EINSTALL install failed, Error: Dependency node build failed Install failed" is displayed in DevEco Studio during compilation?
What should I do if "decrypt data failed. error: Unsupported state or unable to authenticate data" is displayed when ohpm-repo uses the mysqlDB plugin to connect to MySQL?
What should I do if "ohpm ERROR: JSON5: invalid end of input at 1:1" is displayed?
What should I do if the system indicates that the package cannot be pushed again within 24 hours after I removed a component by mistake?
What should I do if the modification of upload_max_times does not take effect in the ohpm private repository?
What should I do if "The version field: 12.5.0.0-20-dev in the oh-package.json5 file does not satisfy the SemVer specification" is displayed when ohpm is used to release a HAR?
How do I check for the HAR version conflicts in a project?
What should I do if "the content of private key in the key_path error" is displayed when the ohpm publish command is executed in Git Bash?
What should I do if "The publishId is invalid!" is displayed when the ohpm uploads a HAR file?
How do I use ohpm to import third- and fourth-party libraries?
What is an atomic service? What is its relationship with apps?
What are the differences between atomic services and apps, widgets, and applets?
How do I choose between app development and atomic service development?
What are the benefits of developing apps first and then atomic services?
Key information for connecting to Huawei Pay
FAQs About Preliminary Review of Atomic Service Filing
Why should I use the Button Component?
What will happen if I do not change the API to the Button component within the deadline?
What is the workload?
How to contact Huawei teams if I have any questions?
What are the advantages of login with a HUAWEI ID? Can I obtain the user's mobile number using the login API?
What are the differences between service account synchronization of HarmonyOS and similar services in the industry?
Do I need to register an atomic service before using the APIs of Account Kit? In which phase can I use Account Kit after registering an atomic service?
Can I design the login page for an atomic service?
How do I use the user account system in developing atomic services?
Can I apply for mobile number authorization from users to complete account association once they access atomic services? How can I optimize user experience?
If users have agreed to the unified privacy statement when accessing atomic services for the first time, do they need to agree to the user privacy statement again when associating their authorized mobile numbers with developer accounts?
How do I manage a developer account associated with an atomic service after a user changes the phone number bound to a HUAWEI ID?
How do I design the developer account registration process with the registration requirement?
How do users associate developer accounts with phone numbers that are not bound to HUAWEI IDs?
Is the mobile number authorization permanent? When should user authorization be re-applied?
Can I obtain real-name authentication information using a HUAWEI ID?
Can the mobile number authorization based on a HUAWEI ID be used on an HTML5 page?
Can I obtain the mobile numbers entered by users?
Should I provide the account deletion functionality in atomic services?
For those who have developed apps, what is the relationship between atomic services and apps? What are the differences between them?
How do I trigger Celia Suggestions to recommend my atomic services? What are the available distribution channels?
Do I need to release apps in AppGallery after development?
Is there a service store for atomic services?
Can apps reuse the APIs of atomic services?
Which API version will support the payment function after API 9?
What are the fulfillment capabilities?
Can I find desired widgets through Nearby and Search functions in HUAWEI Assistant·TODAY when I access apps first instead of atomic services?
Is the bundle size of an atomic service 2 MB?
Can atomic services be shared across apps?
Do atomic services take effect immediately after being updated? Are there still old atomic services running on some devices after the update?
Can atomic services open web pages with WebView?
Can atomic services use other Web components?
Do atomic services support redirection?
What is an associated entity?
Can atomic services or apps be embedded with other atomic services?
Does the WebView component of atomic services need to verify the service domain name?
What is the impact of atomic service development on the development cost and period? How do I design code reuse?
How do I adapt historical data after HarmonyOS 4.4 or an earlier version is upgraded to the HarmonyOS NEXT version?
Can atomic services use APIs earlier than API 11+, such as Huawei Pay API 6?
Should I create a widget in the entry module or an independent module in an atomic service project?
Can atomic services and apps be developed in a project at the same time?
Can all JS libraries be used in HarmonyOS development?
Can the shared HSP reduce the bundle size of an atomic service?
Is there any guide for the iBeacon to start an atomic service in the service distribution solution?
What are the differences between the tools used for developing HarmonyOS atomic services and apps? How do I solve problems encountered during the development?
How do I use Charles to capture packets for debugging HarmonyOS atomic services?
How do I perform open (trustlist) testing for atomic services?
How does an atomic service obtain reverse geocoding?
What should I do if a white screen is displayed for an HTML5 page?
What are the possible causes and solutions for business domain name configuration failure?
How do I configure the domain name of a third-party server referenced by an HTML5 page?
How do I configure more than 10 business domain names?
What can I do if CDN cannot be configured?
How do I change the color of FunctionalButton?
How do I Implement a unified grayscale feature for an atomic service page?
How do I add a watermark to an image of an atomic service?
How do atomic services and service widgets share data?
DlpAntiPeep (Screen Privacy)
Network Pre-connection During Cold Start
Optimization in Live Streaming Under Poor Network Conditions
Full-Link Stock Tracking Development Practice
Overview
Getting Started with an Example
Cross-Device Experience Design
Window Mode
Window Orientation
Immersive Window
Layout
Responsive Layout
Page Layouts
Component Layout
Screen Type-based Layout
Adaptive Layout
Semi-Folded State of Foldable Screens
Responsive Layout on Web
App Multiplier
Interactions Across Devices
Cross-Device Resource Files
Long Video
Stock
Business Office
Music Player
Shopping
Travel Booking
Map Navigation
Lifestyle
Bank Wealth Management
Community Comment
News & Reading
Mobile Payment
Instant Messaging
Image Beautification
Gaming
Settings
Short Video
Cross-Device Feature Development
Cross-Device Camera Interface Adaptation
Cross-Device Screen Adaptation
Cross-Device Project Deployment and Release
Bi-fold Phone App Development
Widescreen Foldable Phone App Development
Tri-Fold Phone App Development
Tablet App Development
PC App Development
Foldable PC App Development
Wearable App Development
Lite Wearable App Development
Vision App Development
Animation Usage Guide
Long-Take Animation
Application Security Coding
Application Code Obfuscation
Application Permission Request
Cross-Platform Encryption and Decryption
Usage of Device Identifiers
Secure Development with the ArkWeb Component
ArkTS High-Performance Programming
Application Concurrency Design
Comparison Between TaskPool and Worker
TaskPool Usage Guidelines
Aspect-Oriented Programming Design
Application Tracking
Aspect-Oriented Programming Based on the Aspect Plug-in Library
Bytecode Instrumentation Based on AbcKitTS
Home Screen Shortcuts
Calling APIs Across HAR/HSP Modules on the Native Side
App Icon Configuration and Development
Inter-Application Redirection
Social Sharing Redirection
Ad Redirection
Special Text Recognition Redirection
Redirecting and Starting Between Web Pages and Applications
Multi-Window
Irregularly Shaped Windows on PCs or 2-in-1 Devices
Soft Keyboard Layout Adaptation
Custom Keyboard
Multithreaded Operations for Intensive Relational Store and File Read/Write Tasks
ArkWeb Rendering Framework Adaptation
Rendering Native Components at the Same Layer
Video Adaptation on Web Pages
Web Page Cross-Origin Solutions
Using the Web Component Interception Capability
Application Quality Overview
Optimizing Deferred Photo Delivery
Solution to Screen Artifacts During Camera Preview
Customizing Camera Preview
Customizing Photo Capture
Custom Video Recording
Obtaining and Storing Images
Long Screenshot
Basic Playback Controls with AVPlayer
Overview
PCM Audio Playback Using AudioRenderer
PCM Audio Playback Using OHAudio
Formatted Audio Playback Using AVPlayer (ArkTS)
Formatted Audio Playback Using AVPlayer (C++)
Short Audio Playback Using SoundPool
Overview
Recording PCM Audio Using AudioCapturer (ArkTS)
Recording PCM Audio Using OHAudio (C++)
Recording Formatted Audio Using AVRecorder (ArkTS)
Recording Formatted Audio Using AVRecorder (C++)
Recording Audio Using AVScreenCapture
Playing Long Videos Using the Video Component
Playing Short Videos Using the Video Component
Video Encoding in Surface Mode
Audio Focus Management
HDR Vivid Video Playback and Recording
HDR Vivid-to-SDR Video Transcoding
Obtaining Video Thumbnails Using System Capabilities
Audio Quality Switching
Image-to-Video Synthesis
Audio Waveform Animation Based on AudioRenderer and AudioCapturer
Audio Monitoring Based on Audio Capabilities
Audio Input Device Management
Audio Output Device Management
Location Positioning
Lock Screen Immersive Live Views
How do I set the Gaussian blur effect for an image?
Use the
blur
interface of the effectKit module. For details, see
effectKit
.