Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
ee40b8c7
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ee40b8c7
编写于
9月 30, 2021
作者:
O
openharmony_ci
提交者:
Gitee
9月 30, 2021
浏览文件
操作
浏览文件
下载
差异文件
!757 OpenHarmony 3.0 LTS docs update
Merge pull request !757 from NEEN/3.0LTS20210930
上级
917bee91
16cd9ac5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
807 addition
and
0 deletion
+807
-0
README_zh.md
README_zh.md
+2
-0
zh-cn/release-notes/OpenHarmony-v3.0-LTS.md
zh-cn/release-notes/OpenHarmony-v3.0-LTS.md
+177
-0
zh-cn/release-notes/Readme.md
zh-cn/release-notes/Readme.md
+3
-0
zh-cn/release-notes/api-change/v3.0-LTS/js-apidiff-v3.0-lts.md
.../release-notes/api-change/v3.0-LTS/js-apidiff-v3.0-lts.md
+625
-0
未找到文件。
README_zh.md
浏览文件 @
ee40b8c7
...
...
@@ -16,6 +16,8 @@
master:最新开发版本。
发布OpenHarmony 3.0 LTS版本,
[
了解版本详情
](
zh-cn/release-notes/OpenHarmony-v3.0-LTS.md
)
。
发布 OpenHarmony v2.2 Beta2版本,
[
了解版本详情
](
zh-cn/release-notes/OpenHarmony-v2.2-beta2.md
)
。
发布OpenHarmony 2.0 Canary预览版本,
[
了解版本详情
](
zh-cn/release-notes/OpenHarmony-2-0-Canary.md
)
。
...
...
zh-cn/release-notes/OpenHarmony-v3.0-LTS.md
0 → 100644
浏览文件 @
ee40b8c7
# OpenHarmony 3.0 LTS
-
[
版本概述
](
#版本概述
)
-
[
配套关系
](
#配套关系
)
-
[
源码获取
](
#源码获取
)
-
[
更新说明
](
#更新说明
)
-
[
特性变更
](
#特性变更
)
-
[
API变更
](
#api变更
)
-
[
芯片及开发板适配
](
#芯片及开发板适配
)
-
[
修复缺陷列表
](
#修复缺陷列表
)
-
[
遗留缺陷列表
](
#遗留缺陷列表
)
## 版本概述
当前版本在OpenHarmony 2.2 Beta2的基础上,针对标准系统、轻量系统和小型系统更新内容:
标准系统新增特性功能:
-
用户程序框架支持服务能力(ServiceAbility,DataAbility)和线程模型。
-
支持文件安全访问,即文件转成URI和解析URI打开文件的能力。
-
支持设备管理PIN码认证的基本能力。
-
支持关系型数据库、分布式数据管理基础能力。
-
支持方舟JS编译工具链和运行时,支持OpenHarmony JS UI框架应用开发和运行。
-
支持远程绑定ServiceAbility、FA跨设备迁移能力。
-
支持应用通知订阅与应用通知消息跳转能力。
-
支持输入法框架及支持输入基础英文字母、符号和数字。
-
相机应用支持预览、拍照和录像基础能力。
-
支持CS基础通话、GSM短信能力。
-
支持定时器能力,提供定时时区管理能力。
-
在标准设备间的分布式组网下,提供应用跨设备访问对端资源或能力时的权限校验功能。
轻量和小型系统新增特性功能:
-
新增轻量级分布式能力增强,支持从轻量级系统启动标准系统上的Ability。
-
软总线能力增强支持,提供认证通道传输能力,用于设备绑定。
-
轻量级全球化能力增强支持,新增31种语言支持。
-
轻量系统上新增权限属性字段及其写入接口,上层应用可通过该字段实现相关业务。
## 配套关系
**表1**
版本软件和工具配套关系
| 软件 | 版本 | 备注 |
| -------- | -------- | -------- |
| OpenHarmony | 3.0
LTS | NA |
| HUAWEI
DevEco
Studio(可选) | 3.0
Beta1 | OpenHarmony应用开发推荐使用。 |
| HUAWEI
DevEco
Device
Tool(可选) | 2.2
Beta2 | OpenHarmony智能设备集成开发环境推荐使用。 |
## 源码获取
**方式**
**一(推荐)**
通过repo + ssh 下载(需注册公钥,请参考
[
码云帮助中心
](
https://gitee.com/help/articles/4191
)
)。
```
undefined
repo init -u git@gitee.com:openharmony/manifest.git -b refs/tags/OpenHarmony-v3.0-LTS --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
```
**方式二**
通过repo + https 下载。
```
undefined
repo init -u https://gitee.com/openharmony/manifest.git -b refs/tags/OpenHarmony-v3.0-LTS --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
```
## 更新说明
本版本在OpenHarmony 2.2 Beta2的基础上有如下变更。
### 特性变更
**表2**
版本新增特性表
| 子系统名称 | 标准系统 | 轻量、小型系统 |
| -------- | -------- | -------- |
| 分布式任务调度 | -
新增远程绑定ServiceAbility基本功能
<br/>
-
新增FA跨设备迁移功能
<br/>
-
新增组件visible属性权限校验功能 | 支持从轻量级系统启动标准系统上的Ability |
| 图形 | 对于带有GPU模块的芯片平台,支持使用GPU进行渲染合成,以提升图形性能,降低CPU负载 | NA |
| 分布式硬件 | -
支持基于分布式软总线认证通道的PIN码认证方案
<br/>
-
支持PIN码认证授权提示弹窗
<br/>
-
支持PIN码显示弹窗
<br/>
-
支持PIN码输入弹窗 | NA |
| 事件通知 | -
支持应用通知订阅
&
取消订阅
<br/>
-
支持应用侧发布
&
取消本地文本、图片通知
<br/>
-
支持应用通知消息跳转能力
<br/>
-
支持应用侧增加
&
删除slot
<br/>
-
支持通知流控处理、死亡监听能力 | NA |
| 分布式软总线 | 软总线:
<br/>
-
支持基于CoAP的主动发现和被动发现,支持通过BLE主动发现连接
<br/>
-
支持基于WLAN网络的手动入网和自组网
<br/>
-
支持基于WLAN网络,直通模式下的消息、字节、文件传输
<br/>
IPC:
<br/>
-
支持设备内基于linux内核binder协议的进程间通信能力
<br/>
-
支持对象和序列化数据通信
<br/>
RPC:
<br/>
-
支持设备间基于分布式软总线的进程间通信能力
<br/>
-
支持对象和序列化数据通信
<br/>
-
接口与IPC保持一致 | 软总线:
<br/>
-
支持基于CoAP的主动发现和被动发现
<br/>
-
支持基于WLAN网络的手动入网和自组网
<br/>
-
支持基于WLAN网络,直通模式下的消息、字节、文件传输
<br/>
IPC:
<br/>
-
支持设备内基于Linux/LiteOS内核binder协议的进程间通信
<br/>
-
支持char/int/long基础数据接口的序列化通信 |
| 全球化 | 提供获取系统设置的语言、地区、区域信息,以及获取语言和地区的本地化名称的能力 | 轻量级全球化能力增强支持,新增31种语言支持 |
| 系统应用 | -
桌面:全新架构优化
<br/>
-
SystemUI:
<br/>
-
通知中心以及普通文本通知功能
<br/>
-
控制中心:wifi、飞行模式开关、亮度调节、声音调节
<br/>
-
全新架构优化
<br/>
-
设置:全新架构优化
<br/>
-
相机:
<br/>
-
支持基础拍照、录像功能
<br/>
-
分布式协同:拉起对端相机并拍照 | NA |
| 语言编译运行时 | 新增方舟JS编译工具链和运行时,支持OpenHarmony
JS
UI框架应用开发和运行 | NA |
| 媒体 | -
相机组件中新增录像功能
<br/>
-
新增音频录制功能接口 | 新增支持播放mp3格式文件 |
| JS
UI框架 | -
支持迁移相关生命周期
<br/>
-
支持系统服务弹窗
<br/>
-
支持使用JS开发service类型和data类型的Ability | NA |
| 内核 | 新增支持OpenHarmony
Common
Linux
Kernel
5.10 | 轻量系统新增支持OpenHarmony
Common
Linux
Kernel
5.10 |
| DFX | -
提供HiAppEvent应用事件打点的JS
API
<br/>
-
提供HiCollie卡死检测框架
<br/>
-
提供HiTrace分布式调用链基础库 | NA |
| 驱动 | 新增I2S、陀螺仪、压力、霍尔驱动模型 | NA |
| 安全 | 在标准设备间的分布式组网下,提供应用跨设备访问对端资源或能力时的权限校验功能 | 轻量系统上新增权限属性字段及其写入接口,上层应用可通过该字段实现相关业务(如弹框授权场景下,用户拒绝授权后不再弹框) |
| 电话服务 | -
搜网功能模块:支持飞行模式设置、搜网模式设置(包括手动搜网和自动搜网)、LTE制式信号强度获取
<br/>
-
SIM功能模块:支持PIN/PUK解锁、卡文件信息获取、卡账户信息的存取、卡状态获取
<br/>
-
蜂窝通话功能模块:支持通话前后台切换、来电静音、呼叫保持与恢复、三方通话、DTMF
<br/>
-
短彩信功能模块:支持SIM卡短信的增删改查 | NA |
| 分布式文件 | -
支持f2fs、ext4文件系统不同参数设置的分区挂载能力
<br/>
-
支持文件安全访问,即文件转成URI和解析URI打开文件的能力
<br/>
-
支持系统应用访问公共目录的能力 | NA |
| 分布式数据管理 | -
支持关系型数据库JS基础能力(增删改查等)
<br/>
-
支持分布式数据管理JS基础能力(增删改查等) | NA |
| 编译构建 | -
支持编译arm64形态产品
<br/>
-
支持编译ohos-sdk | NA |
| 用户程序框架 | -
支持ServiceAbility
JS开发能力
<br/>
-
支持DataAbility
JS开发能力
<br/>
-
HAP支持多Ability声明
<br/>
-
本地Ability迁移到远程设备
<br/>
-
应用任务栈保存与恢复
<br/>
-
JS
利用Zip库实现文件压缩和解压缩 | NA |
| 杂散软件服务 | 支持定时器能力,提供定时时区管理能力 | NA |
### API变更
API变更请参考:
[
JS API 差异报告
](
api-change/v3.0-LTS/js-apidiff-v3.0-lts.md
)
### 芯片及开发板适配
芯片及开发板适配状态请参考
[
SIG-Devboard
](
https://gitee.com/openharmony/community/blob/master/sig/sig-devboard/sig_devboard_cn.md
)
信息。
## 修复缺陷列表
**表3**
轻量和小型系统解决的缺陷ISSUE列表
| ISSUE单号 | 问题描述 |
| -------- | -------- |
|
[
I45AVP
](
https://gitee.com/openharmony/hiviewdfx_hilog/issues/I45AVP
)
| 执行hilog落盘之后hilog命令执行失败 |
|
[
I47EPA
](
https://gitee.com/openharmony/appexecfwk_appexecfwk_lite/issues/I47EPA?from=project-issue
)
| 入参为空或无效时,GetBundleSize接口返回错误 |
|
[
I434AD
](
https://gitee.com/openharmony/multimedia_camera_lite/issues/I434AD
)
| Hi3516DV300轻量级系统常驻内存超基线 |
|
[
I434P1
](
https://gitee.com/openharmony/multimedia_camera_lite/issues/I434P1
)
| Hi3518EV300轻量级系统常驻内存超基线 |
|
[
I46I6K
](
https://gitee.com/openharmony/multimedia_media_lite/issues/I46I6K?from=project-issue
)
| 多媒体子系统相关代码存在安全编码问题 |
|
[
I46E6S
](
https://gitee.com/openharmony/kernel_liteos_m/issues/I46E6S?from=project-issue
)
| 轻量级内核模块编译添加-Werror编译选项 |
|
[
I47ETO
](
https://gitee.com/openharmony/appexecfwk_appexecfwk_lite/issues/I47ETO?from=project-issue -
)
| 权限校验没有生效,使用测试
bin
直接调用无权限
hap,期望查询失败返回
0,结果查询成功 |
|
[
I48A2I
](
https://gitee.com/openharmony/drivers_peripheral/issues/I48A2I
)
| Hi3516DV300轻量级版本调用AllocMem接口测试,单板挂死 |
|
[
I42LCU
](
https://gitee.com/openharmony/kernel_liteos_m/issues/I42LCU
)
| 集成测试开发板移植指导中需增加线程不足的确认方法和配置线程个数的方法 |
|
[
I3IPD7
](
https://gitee.com/openharmony/kernel_liteos_m/issues/I3IPD7
)
| 不支持osThreadExit/join函数需要在头文件中说明 |
|
[
I3M12H
](
https://gitee.com/openharmony/kernel_liteos_a/issues/I3M12H
)
| 集成测试发送两个不同的信号,sigwait第二次等到的仍是第一个信号 |
|
[
I47X2Z
](
https://gitee.com/openharmony/kernel_liteos_a/issues/I47X2Z?from=project-issue
)
| 集成测试
在执行ActsIpcShmTest.bin脚本,出现大量未释放的共享内存 |
|
[
I4BL3S
](
https://gitee.com/openharmony/kernel_liteos_a/issues/I4BL3S
)
| 集成测试fs_posix模块nfs用例跑多次会出现不停打印申请内存失败问题 |
|
[
I490KZ
](
https://gitee.com/openharmony/kernel_liteos_a/issues/I490KZ
)
| FutexTest.testPthreadTimdOutRWlockWR用例执行失败 |
|
[
I44SFO
](
https://gitee.com/openharmony/third_party_toybox/issues/I44SFO
)
| 集成测试在某个目录下mv一个文件后,再在此目录下创建同名文件并二次mv该文件失败,提示此文件不存在 |
**表4**
标准系统解决的缺陷ISSUE列表
| ISSUE单号 | 问题描述 |
| -------- | -------- |
|
[
I46A6H
](
https://gitee.com/openharmony/ace_ace_engine/issues/I46A6H
)
| XTS子系统压力测试过程中libace.z.so异常导致ohos.samples.flashlight出现cppcrash异常 |
|
[
I48HLN
](
https://gitee.com/openharmony/app_samples/issues/I48HLN
)
| Demo
&
应用子系统-
[
JsCanvas]
清除的button功能未生效 |
|
[
I46HH7
](
https://gitee.com/openharmony/drivers_peripheral/issues/I46HH7
)
| 驱动子系统-标准系统单板WLAN测试用例失败 |
|
[
I4312A
](
https://gitee.com/openharmony/communication_dsoftbus/issues/I4312A
)
| 【2.2
Beta2】【软总线】已组网,断1端网络后,自组网失败(GetAllNodeDeviceInfo返回null) |
|
[
I43WIJ
](
https://gitee.com/openharmony/communication_dsoftbus/issues/I43WIJ
)
| 【2.2
Beta2】【软总线】已组网,一端切换网络再切回,过程中组网未下线(无上下线回调) |
|
[
I43KLC
](
https://gitee.com/openharmony/communication_dsoftbus/issues/I43KLC
)
| 【2.2
Beta2】【软总线】注册节点状态监听,设备上线,设备再离线,offline回调调用了2次 |
|
[
I47WTY
](
https://gitee.com/openharmony/communication_dsoftbus/issues/I47WTY
)
| 【3.0
beta1】【软总线-传输】session
id范围校验不严谨(有效范围1-16,校验时判断的是
>
17) |
## 遗留缺陷列表
**表5**
遗留缺陷列表
| ISSUE | 问题描述 | 影响 | 计划解决日期 |
| -------- | -------- | -------- | -------- |
|
[
I48IM7
](
https://gitee.com/openharmony/hiviewdfx_hilog/issues/I48IM7
)
| 运行hilog压力测试,hilogd异常重启,且hilog命令一直无法使用 | 压力测试下,低概率出现日志输出异常,调测场景可正常使用。 | 10月30日 |
|
[
I48YPH
](
https://gitee.com/openharmony/communication_dsoftbus/issues/I48YPH
)
| 【软总线-组网】测试发现和组网性能(循环离网-发现-组网)110次组网失败3次 | 低概率3/110,失败后重新发起组网即可。 | 10月30日 |
|
[
I4BVVW
](
https://gitee.com/openharmony/communication_dsoftbus/issues/I4BVVW
)
| 【软总线-组网】标准系统与手机开关网络自组网成功率97%失败3次需分析失败原因 | 低概率出现组网失败。 | 10月30日 |
|
[
I4BXWY
](
https://gitee.com/openharmony/multimedia_media_standard/issues/I4BXWY
)
| Hi3516音频录制后播放有杂音 | 仅在使用此开发板时,影响录制音频的播放体验效果。 | 10月30日 |
|
[
I4BXY1
](
https://gitee.com/openharmony/multimedia_camera_standard/issues/I4BXY1
)
| 视频录制后前几秒没声音,播放声画不同步,在板子播放会卡顿,音源较远时,有杂音 | 仅在使用此开发板时,影响录制视频的播放体验效果。 | 10月30日 |
|
[
3ZJ1D
](
https://gitee.com/openharmony/kernel_liteos_a/issues/I3ZJ1D
)
| XTS权限用例压测用户态概率失败 | 仅在重复创建子进程的XTS压力测试场景,设置子进程uid失败,低概率问题。 | 10月30日 |
zh-cn/release-notes/Readme.md
浏览文件 @
ee40b8c7
# OpenHarmony Release Notes
[
OpenHarmony v3.0 LTS (2021-09-30)
](
OpenHarmony-v3.0-LTS.md
)
## OpenHarmony 2.x Releases
-
[
OpenHarmony v2.2 beta2 (2021-08-04)
](
OpenHarmony-v2.2-beta2.md
)
-
[
OpenHarmony 2.0 Canary (2021-06-02)
](
OpenHarmony-2-0-Canary.md
)
## OpenHarmony 1.x Releases
...
...
zh-cn/release-notes/api-change/v3.0-LTS/js-apidiff-v3.0-lts.md
0 → 100644
浏览文件 @
ee40b8c7
# JS API 差异报告
OpenHarmony 3.0 LTS相较于OpenHarmony 2.2 Beta2版本的API变更如下:
## 标准系统接口变更
| 模块名称 | 接口名称 | 变更类型 | 变更说明 |
| -------- | -------- | -------- | -------- |
|语言编译器运行时-worker|postMessage(obj):void|新增|宿主线程与worker通信,传递数据|
|语言编译器运行时-worker|postMessage(message: Object, options?: PostMessageOptions):void|新增|宿主线程与worker通信,转移arrayBuffer的数据控制权|
|语言编译器运行时-worker|terminate():void|新增|宿主线程主动停止worker|
|语言编译器运行时-worker|on(type: string, listener: EventListener): void|新增|向worker添加回调接口|
|语言编译器运行时-worker|once(type: string, listener: EventListener): void|新增|向worker添加回调接口,并且在回调一次会释放回调|
|语言编译器运行时-worker|off(type: string, listener?: EventListener): void|新增|删除worker已添加的回调接口|
|语言编译器运行时-worker|addEventListener(type: string, listener: EventListener): void|新增|向worker添加回调接口|
|语言编译器运行时-worker|removeEventListener(type: string, listener?: EventListener): void|新增|删除worker已添加的回调接口|
|语言编译器运行时-worker|removeAllListener(): void|新增|删除worker所有的回调接口|
|语言编译器运行时-worker|dispatchEvent(event: Event): boolean|新增|向worker发送指定事件,触发回调接口|
|语言编译器运行时-parentPort|postMessage(obj):void|新增|worker与宿主线程通信,传递数据|
|语言编译器运行时-parentPort|postMessage(message: Object, options?: PostMessageOptions):void|新增|worker与宿主线程通信,转移arrayBuffer的数据控制权|
|语言编译器运行时-parentPort|close(): void|新增|worker主动终止|
|语言编译器运行时-Util|printf(format: string, ...args: Object[]): string|新增|-|
|语言编译器运行时-Util|getErrorString(errno: number): string|新增|-|
|语言编译器运行时-Util|callbackWrapper(original: Function): (err: Object, value: Object) => void|新增|-|
|语言编译器运行时-Util|promiseWrapper(original: (err: Object, value: Object) => void): Object|新增|-|
|语言编译器运行时-Util|new TextDecoder([encoding[, options]])|新增|-|
|语言编译器运行时-Util|decode([input[, options]]):string|新增|-|
|语言编译器运行时-Util|new TextEncoder()|新增|-|
|语言编译器运行时-Util|encode(input?: string): Uint8Array;|新增|-|
|语言编译器运行时-Util|"encodeInto(input: string,dest: Uint8Array,): { read: number; written: number };"|新增|-|
|语言编译器运行时-Util|readonly encoding: string;|新增|-|
|语言编译器运行时-Util|readonly fatal: boolean;|新增|-|
|语言编译器运行时-Util|readonly ignoreBOM = false;|新增|-|
|语言编译器运行时-Util|readonly encoding = "utf-8";|新增|-|
|语言编译器运行时-URL|new URL(url: string, base?: string/URL)|新增|-|
|语言编译器运行时-URL|toString(): string;|新增|-|
|语言编译器运行时-URL|toJSON(): string;|新增|-|
|语言编译器运行时-URL|new URSearchParams()|新增|-|
|语言编译器运行时-URL|new URSearchParams(string)|新增|-|
|语言编译器运行时-URL|new URSearchParams(obj)|新增|-|
|语言编译器运行时-URL|new URSearchParams(iterable)|新增|-|
|语言编译器运行时-URL|append(name: string, value: string): void;|新增|-|
|语言编译器运行时-URL|delete(name: string): void;|新增|-|
|语言编译器运行时-URL|entries(): IterableIterator
<
[
string
,
string
]
>
;|新增|-|
|语言编译器运行时-URL|forEach(callbackfn: (value: string, key: string, parent: this) => void, thisArg?: any,): void;|新增|-|
|语言编译器运行时-URL|get(name: string): string / null;|新增|-|
|语言编译器运行时-URL|getAll(name: string): string[];|新增|-|
|语言编译器运行时-URL|has(name: string): boolean;|新增|-|
|语言编译器运行时-URL|keys(): IterableIterator
<string>
;|新增|-|
|语言编译器运行时-URL|set(name: string, value: string): void;|新增|-|
|语言编译器运行时-URL|sort():void;|新增|-|
|语言编译器运行时-URL|toString():string|新增|-|
|语言编译器运行时-URL|values(): IterableIterator
<string>
;|新增|-|
|语言编译器运行时-URL|URSearchParams
[
Symbol.iterator
](
)|新增|-|
|语言编译器运行时-URL|hash: string;|新增|-|
|语言编译器运行时-URL|host: string;|新增|-|
|语言编译器运行时-URL|hostname: string;|新增|-|
|语言编译器运行时-URL|href: string;|新增|-|
|语言编译器运行时-URL|readonly origin: string;|新增|-|
|语言编译器运行时-URL|password: string;|新增|-|
|语言编译器运行时-URL|pathname: string;|新增|-|
|语言编译器运行时-URL|port: string;|新增|-|
|语言编译器运行时-URL|protocol: string;|新增|-|
|语言编译器运行时-URL|search: string;|新增|-|
|语言编译器运行时-URL|readonly searchParams: URLSearchParams;|新增|-|
|语言编译器运行时-URL|username: string;|新增|-|
|语言编译器运行时-ChildProcess|readonly pid: number;|新增|-|
|语言编译器运行时-ChildProcess|readonly ppid: number;|新增|-|
|语言编译器运行时-ChildProcess|readonly exitCode: number;|新增|-|
|语言编译器运行时-ChildProcess|readonly killed: boolean;|新增|-|
|语言编译器运行时-ChildProcess|wait(): Promise
<number>
;|新增|-|
|语言编译器运行时-ChildProcess|getOutput(): Promise
<Uint8Array>
;|新增|-|
|语言编译器运行时-ChildProcess|getErrorOutput(): Promise
<Uint8Array>
;|新增|-|
|语言编译器运行时-ChildProcess|close(): void;|新增|-|
|语言编译器运行时-ChildProcess|kill(signal: number): void;|新增|-|
|语言编译器运行时-process|runCmd(command: string,options?: { timeout : number, killSignal : number / string, maxBuffer : number }): ChildProcess;|新增|-|
|语言编译器运行时-process|getPid(): number;|新增|-|
|语言编译器运行时-process|getPpid(): number;|新增|-|
|语言编译器运行时-process|abort(): void;|新增|-|
|语言编译器运行时-process|on(type: string, listener: EventListener): void;|新增|-|
|语言编译器运行时-process|exit(code?:number): void;|新增|-|
|语言编译器运行时-process|cwd(): string;|新增|-|
|语言编译器运行时-process|chdir(dir: string): void;|新增|-|
|语言编译器运行时-process|getEgid(): number;|新增|-|
|语言编译器运行时-process|getEuid(): number;|新增|-|
|语言编译器运行时-process|getGid(): number|新增|-|
|语言编译器运行时-process|getUid(): number;|新增|-|
|语言编译器运行时-process|uptime(): number;|新增|-|
|语言编译器运行时-process|getGroups(): number[];|新增|-|
|语言编译器运行时-process|kill(signal?: number, pid?: number): boolean;|新增|-|
|升级服务子系统-Updater|checkNewVersion(): Promise
<NewVersionInfo>
;|新增| -|
|升级服务子系统-Updater|rebootAndCleanUserData(callback: AsyncCallback
<number>
): void;|新增| -|
|升级服务子系统-Updater|rebootAndCleanCache(): Promise
<number>
;|新增| -|
|升级服务子系统-Updater|function getUpdaterFromOther(device: string, updateType?: UpdateTypes): Updater;|新增| -|
|升级服务子系统-Updater|cancel(): void;|新增| -|
|升级服务子系统-Updater|upgrade(): void;|新增| -|
|升级服务子系统-Updater|off(eventType: 'downloadProgress', callback?: UpdateProgressCallback): void;|新增| -|
|升级服务子系统-Updater|getUpdatePolicy(callback: AsyncCallback
<UpdatePolicy>
): void;|新增| -|
|升级服务子系统-Updater|function getUpdaterForOther(device: string, updateType?: UpdateTypes): Updater;|新增| -|
|升级服务子系统-Updater|setUpdatePolicy(policy: UpdatePolicy, callback: AsyncCallback
<number>
): void;|新增| -|
|升级服务子系统-Updater|getNewVersionInfo(): Promise
<NewVersionInfo>
;|新增| -|
|升级服务子系统-Updater|function getUpdater(updateType?: UpdateTypes): Updater;|新增| -|
|升级服务子系统-Updater|applyNewVersion(callback: AsyncCallback
<number>
): void;|新增| -|
|升级服务子系统-Updater|rebootAndCleanUserData(): Promise
<number>
;|新增| -|
|升级服务子系统-Updater|off(eventType: 'verifyProgress', callback?: UpdateProgressCallback): void;|新增| -|
|升级服务子系统-Updater|on(eventType: 'upgradeProgress', callback: UpdateProgressCallback): void;|新增| -|
|升级服务子系统-Updater|checkNewVersion(callback: AsyncCallback
<NewVersionInfo>
): void;|新增| -|
|升级服务子系统-Updater|on(eventType: 'downloadProgress', callback: UpdateProgressCallback): void;|新增| -|
|升级服务子系统-Updater|getUpdatePolicy(): Promise
<UpdatePolicy>
;|新增| -|
|升级服务子系统-Updater|download(): void;|新增| -|
|升级服务子系统-Updater|off(eventType: 'upgradeProgress', callback?: UpdateProgressCallback): void;|新增| -|
|升级服务子系统-Updater|getNewVersionInfo(callback: AsyncCallback
<NewVersionInfo>
): void;|新增| -|
|升级服务子系统-Updater|on(eventType: 'verifyProgress', callback: UpdateProgressCallback): void;|新增| -|
|升级服务子系统-Updater|verifyUpdatePackage(upgradeFile: string, certsFile: string): void;|新增| -|
|升级服务子系统-Updater|setUpdatePolicy(policy: UpdatePolicy): Promise
<number>
;|新增| -|
|升级服务子系统-Updater|rebootAndCleanCache(callback: AsyncCallback
<number>
): void;|新增| -|
|升级服务子系统-Updater|applyNewVersion(): Promise
<number>
;|新增| -|
|全球化子系统-I18n|getSystemLanguages(): Array
<string>
;|新增| -|
|全球化子系统-I18n|getSystemCountries(language: string): Array
<string>
;|新增| -|
|全球化子系统-I18n|isSuggested(language: string, region?: string): boolean;|新增| -|
|全球化子系统-I18n|getSystemLanguage(): string;|新增| -|
|全球化子系统-I18n|setSystemLanguage(language: string);|新增| -|
|全球化子系统-I18n|getSystemRegion(): string;|新增| -|
|全球化子系统-I18n|setSystemRegion(region: string);|新增| -|
|全球化子系统-I18n|"getDisplayCountry(locale: string, displayLocale: string,sentenceCase?: boolean): string;"|新增| -|
|全球化子系统-I18n|getSystemLocale(): string;|新增| -|
|全球化子系统-I18n|setSystemLocale(locale: string);|新增| -|
|全球化子系统-I18n|"getDisplayLanguage(locale: string, displayLocale: string,sentenceCase?: boolean): string;"|新增| -|
|电话子系统-radio|getNetworkState(callback: AsyncCallback
<NetworkState>
): void;getNetworkState(slotId: number, callback: AsyncCallback
<NetworkState>
): void;getNetworkState(slotId?: number): Promise
<NetworkState>
;|新增| -|
|电话子系统-sim|getSimAccountInfo(slotId: number, callback: AsyncCallback
<IccAccountInfo>
): void;getSimAccountInfo(slotId: number): Promise
<IccAccountInfo>
;|新增| -|
|电话子系统-sim|getDefaultVoiceSlotId(callback: AsyncCallback
<number>
): void;getDefaultVoiceSlotId(): Promise
<number>
;|新增| -|
|电话子系统-sim|getSimSpn(slotId: number, callback: AsyncCallback
<string>
): void;getSimSpn(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sim|getISOCountryCodeForSim(slotId: number, callback: AsyncCallback
<string>
): void;getISOCountryCodeForSim(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sim|getSimIccId(slotId: number, callback: AsyncCallback
<string>
): void;getSimIccId(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sim|getSimGid1(slotId: number, callback: AsyncCallback
<string>
): void;getSimGid1(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sim|getISOCountryCodeForSim(slotId: number, callback: AsyncCallback
<string>
): void;getISOCountryCodeForSim(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sim|getSimOperatorNumeric(slotId: number, callback: AsyncCallback
<string>
): void;getSimOperatorNumeric(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sim|getSimSpn(slotId: number, callback: AsyncCallback
<string>
): void;getSimSpn(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sim|getSimIccId(slotId: number, callback: AsyncCallback
<string>
): void;getSimIccId(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sim|getIMSI(slotId: number, callback: AsyncCallback
<string>
): void;getIMSI(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-call|combineConference(callId: number, callback: AsyncCallback
<void>
): void;combineConference(callId: number): Promise
<void>
;|新增| -|
|电话子系统-call|startDTMF(callId: number, character: string, callback: AsyncCallback
<void>
): void;startDTMF(callId: number, character: string): Promise
<void>
;|新增| -|
|电话子系统-call|stopDTMF(callId: number, callback: AsyncCallback
<void>
): void;stopDTMF(callId: number): Promise
<void>
;|新增| -|
|电话子系统-sim|setDefaultVoiceSlotId(slotId: number, callback: AsyncCallback
<void>
): void;setDefaultVoiceSlotId(slotId: number): Promise
<void>
;|新增| -|
|电话子系统-sim|unlockPin(slotId: number, pin: string, callback: AsyncCallback
<LockStatusResponse>
): void;unlockPin(slotId: number, pin: string): Promise
<LockStatusResponse>
;|新增| -|
|电话子系统-sim|alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback
<LockStatusResponse>
): void;alterPin(slotId: number, newPin: string, oldPin: string): Promise
<LockStatusResponse>
;|新增| -|
|电话子系统-sim|setLockState(slotId: number, pin: string, enable: number, callback: AsyncCallback
<LockStatusResponse>
): void;setLockState(slotId: number, pin: string, enable: number): Promise
<LockStatusResponse>
;|新增| -|
|电话子系统-sim|getSimState(slotId: number, callback: AsyncCallback
<SimState>
): void;getSimState(slotId: number): Promise
<SimState>
;|新增| -|
|电话子系统-sim|getSimState(slotId: number, callback: AsyncCallback
<SimState>
): void;getSimState(slotId: number): Promise
<SimState>
;|新增| -|
|电话子系统-sim|getSimState(slotId: number, callback: AsyncCallback
<SimState>
): void;getSimState(slotId: number): Promise
<SimState>
;|新增| -|
|电话子系统-sim|getSimState(slotId: number, callback: AsyncCallback
<SimState>
): void;getSimState(slotId: number): Promise
<SimState>
;|新增| -|
|电话子系统-call|isEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback
<boolean>
): void;isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback
<boolean>
): void;isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise
<boolean>
;|新增| -|
|电话子系统-sms|createMessage(pdu: Array
<number>
, specification: string, callback: AsyncCallback
<ShortMessage>
): void;createMessage(pdu: Array
<number>
, specification: string): Promise
<ShortMessage>
;|新增| -|
|电话子系统-call|hasCall(callback: AsyncCallback
<boolean>
): void;hasCall(): Promise
<boolean>
;|新增| -|
|电话子系统-sms|sendMessage(options: SendMessageOptions): void;|新增| -|
|电话子系统-call|dial(phoneNumber: string, callback: AsyncCallback
<boolean>
): void;dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback
<boolean>
): void;dial(phoneNumber: string, options?: DialOptions): Promise
<boolean>
;|新增| -|
|电话子系统-call|interface DialOptions {extras?: boolean; }|新增| -|
|电话子系统-sms|sendMessage(options: SendMessageOptions): void;|新增| -|
|电话子系统-sms|getDefaultSmsSlotId(callback: AsyncCallback
<number>
): void;getDefaultSmsSlotId(): Promise
<number>
;|新增| -|
|电话子系统-call|formatPhoneNumber(phoneNumber: string, callback: AsyncCallback
<string>
): void;formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback
<string>
): void;formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise
<string>
;|新增| -|
|电话子系统-call|formatPhoneNumber(phoneNumber: string, callback: AsyncCallback
<string>
): void;formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback
<string>
): void;formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise
<string>
;|新增| -|
|电话子系统-call|formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback
<string>
): void;formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise
<string>
;|新增| -|
|电话子系统-sms|setDefaultSmsSlotId(slotId: number, callback: AsyncCallback
<void>
): void;setDefaultSmsSlotId(slotId: number): Promise
<void>
;|新增| -|
|电话子系统-call|getCallState(callback: AsyncCallback
<CallState>
): void;getCallState(): Promise
<CallState>
;|新增| -|
|电话子系统-sms|setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback
<void>
): void;setSmscAddr(slotId: number, smscAddr: string): Promise
<void>
;|新增| -|
|电话子系统-sms|getSmscAddr(slotId: number, callback: AsyncCallback
<string>
): void;getSmscAddr(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sms|addSimMessage(options: SimMessageOptions, callback: AsyncCallback
<void>
): void;addSimMessage(options: SimMessageOptions): Promise
<void>
;|新增| -|
|电话子系统-sms|delSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback
<void>
): void;delSimMessage(slotId: number, msgIndex: number): Promise
<void>
;|新增| -|
|电话子系统-radio|getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback
<string>
): void;getISOCountryCodeForNetwork(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sms|updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback
<void>
): void;updateSimMessage(options: UpdateSimMessageOptions): Promise
<void>
;|新增| -|
|电话子系统-radio|getISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback
<string>
): void;getISOCountryCodeForNetwork(slotId: number): Promise
<string>
;|新增| -|
|电话子系统-sms|getAllSimMessages(slotId: number, callback: AsyncCallback
<Array
<
SimShortMessage
>
>): void;getAllSimMessages(slotId: number): Promise
<Array
<
SimShortMessage
>
>;|新增| -|
|电话子系统-call|isInEmergencyCall(callback: AsyncCallback
<boolean>
): void;isInEmergencyCall(): Promise
<boolean>
;|新增| -|
|电话子系统-sms|setCBConfig(options: CBConfigOptions, callback: AsyncCallback
<void>
): void;setCBConfig(options: CBConfigOptions): Promise
<void>
;|新增| -|
|电话子系统-call|answer(callId: number, callback: AsyncCallback
<void>
): void;answer(callId: number): Promise
<void>
;|新增| -|
|电话子系统-call|hangup(callId: number, callback: AsyncCallback
<void>
): void;hangup(callId: number): Promise
<void>
;|新增| -|
|电话子系统-call|reject(callId: number, callback: AsyncCallback
<void>
): void;reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback
<void>
): void;reject(callId: number, options?: RejectMessageOptions): Promise
<void>
;|新增| -|
|电话子系统-call|holdCall(callId: number, callback: AsyncCallback
<void>
): void;holdCall(callId: number): Promise
<void>
;|新增| -|
|电话子系统-call|unHoldCall(callId: number, callback: AsyncCallback
<void>
): void;unHoldCall(callId: number): Promise
<void>
;|新增| -|
|电话子系统-call|switchCall(callId: number, callback: AsyncCallback
<void>
): void;switchCall(callId: number): Promise
<void>
;|新增| -|
|电话子系统-radio|setNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback
<void>
): void;setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise
<void>
;|新增| -|
|电话子系统-radio|getNetworkSearchInformation(slotId: number, callback: AsyncCallback
<NetworkSearchResult>
): void;getNetworkSearchInformation(slotId: number): Promise
<NetworkSearchResult>
;|新增| -|
|电话子系统-radio|getNetworkSelectionMode(slotId: number, callback: AsyncCallback
<NetworkSelectionMode>
): void;getNetworkSelectionMode(slotId: number): Promise
<NetworkSelectionMode>
;|新增| -|
|电话子系统-radio|isRadioOn(callback: AsyncCallback
<boolean>
): void;isRadioOn(): Promise
<boolean>
;|新增| -|
|电话子系统-radio|turnOnRadio(callback: AsyncCallback
<void>
): void;turnOnRadio(): Promise
<void>
;|新增| -|
|电话子系统-radio|turnOffRadio(callback: AsyncCallback
<void>
): void;turnOffRadio(): Promise
<void>
;|新增| -|
|电话子系统-radio|getSignalInformation(slotId: number, callback: AsyncCallback
<Array
<
SignalInformation
>
>): void;getSignalInformation(slotId: number): Promise
<Array
<
SignalInformation
>
>;|新增| -|
|电话子系统-radio|getRadioTech(slotId: number, callback: AsyncCallback
<
{
psRadioTech:
RadioTechnology
,
csRadioTech:
RadioTechnology
}
>
): void;getRadioTech(slotId: number): Promise
<
{
psRadioTech:
RadioTechnology
,
csRadioTech:
RadioTechnology
}
>
;|新增| -|
|电话子系统-radio|getRadioTech(slotId: number, callback: AsyncCallback
<
{
psRadioTech:
RadioTechnology
,
csRadioTech:
RadioTechnology
}
>
): void;getRadioTech(slotId: number): Promise
<
{
psRadioTech:
RadioTechnology
,
csRadioTech:
RadioTechnology
}
>
;|新增| -|
|电话子系统-radio|getRadioTech(slotId: number, callback: AsyncCallback
<
{
psRadioTech:
RadioTechnology
,
csRadioTech:
RadioTechnology
}
>
): void;getRadioTech(slotId: number): Promise
<
{
psRadioTech:
RadioTechnology
,
csRadioTech:
RadioTechnology
}
>
;|新增| -|
|数据管理-distributeddata|put(key:string, value:Uint8Array / string / boolean / number, callback: AsyncCallback
<void>
):void put(key:string, value:Uint8Array / string / boolean / number):Promise
<void>
|新增| -|
|数据管理-distributeddata|delete(key: string, callback: AsyncCallback
<void>
): void delete(key: string): Promise
<void>
|新增| -|
|数据管理-distributeddata|on(event:'dataChange', subType: SubscribeType, observer: Callback
<ChangeNotification>
): void|新增| -|
|数据管理-distributeddata|get(key:string, callback:AsyncCallback
<Uint8Array
/
string
/
boolean
/
number
>
):void get(key:string):Promise
<Uint8Array
/
string
/
boolean
/
number
>
|新增| -|
|数据管理-distributeddata|sync(deviceIdList:string[], mode:SyncMode, allowedDelayMs?:number):void|新增| -|
|数据管理-distributeddata|createKVManager(config: KVManagerConfig, callback: AsyncCallback
<KVManager>
): void;createKVManager(config: KVManagerConfig): Promise
<KVManager>
;|新增| -|
|数据管理-distributeddata|getKVStore
<T
extends
KVStore
>
(options: Options, storeId: string): Promise
<T>
;getKVStore
<T
extends
KVStore
>
(options: Options, storeId: string, callback: AsyncCallback
<T>
): void;|新增| -|
|数据管理-distributeddata|on(event:'syncComplete', syncCallback: Callback
<Array
<[
string
,
number
]
>
>):void|新增| -|
|数据管理-rdb|type ValueType = number / string / boolean;|新增| -|
|数据管理-rdb|type ValuesBucket = { [key: string]: ValueType / Uint8Array / null; }|新增| -|
|数据管理-rdb|name: string;|新增| -|
|数据管理-rdb|constructor(name: string)|新增| -|
|数据管理-rdb|equalTo(field: string, value: ValueType): RdbPredicates;|新增| -|
|数据管理-rdb|notEqualTo(field: string, value: ValueType): RdbPredicates;|新增| -|
|数据管理-rdb|beginWrap(): RdbPredicates;|新增| -|
|数据管理-rdb|endWrap(): RdbPredicates;|新增| -|
|数据管理-rdb|function getRdbStore(config: StoreConfig, version: number, callback: AsyncCallback
<RdbStore>
): void;function getRdbStore(config: StoreConfig, version: number): Promise
<RdbStore>
;|新增| -|
|数据管理-rdb|function deleteRdbStore(name: string, callback: AsyncCallback
<void>
): void;function deleteRdbStore(name: string): Promise
<void>
;|新增| -|
|数据管理-rdb|insert(name: string, values: ValuesBucket, callback: AsyncCallback
<number>
): void;insert(name: string, values: ValuesBucket): Promise
<number>
;|新增| -|
|数据管理-rdb|update(values: ValuesBucket, rdbPredicates: RdbPredicates, callback: AsyncCallback
<number>
): void;update(values: ValuesBucket, rdbPredicates: RdbPredicates): Promise
<number>
;|新增| -|
|数据管理-rdb|delete(rdbPredicates: RdbPredicates, callback: AsyncCallback
<number>
): void;delete(rdbPredicates: RdbPredicates): Promise
<number>
;|新增| -|
|数据管理-rdb|query(rdbPredicates: RdbPredicates, columns: Array
<string>
, callback: AsyncCallback
<ResultSet>
): void;query(rdbPredicates: RdbPredicates, columns: Array
<string>
): Promise
<ResultSet>
;|新增| -|
|数据管理-rdb|executeSql(sql: string, bindArgs: Array
<ValueType>
, callback: AsyncCallback
<void>
): void;executeSql(sql: string, bindArgs: Array
<ValueType>
): Promise
<void>
;|新增| -|
|数据管理-rdb|like(field: string, value: string): RdbPredicates;|新增| -|
|数据管理-rdb|glob(field: string, value: string): RdbPredicates;|新增| -|
|数据管理-rdb|between(field: string, low: ValueType, high: ValueType): RdbPredicates;|新增| -|
|数据管理-rdb|notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates;|新增| -|
|数据管理-rdb|greaterThan(field: string, value: ValueType): RdbPredicates;|新增| -|
|数据管理-rdb|lessThan(field: string, value: ValueType): RdbPredicates;|新增| -|
|数据管理-rdb|greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|新增| -|
|数据管理-rdb|lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates;|新增| -|
|数据管理-rdb|or(): RdbPredicates;|新增| -|
|数据管理-rdb|and(): RdbPredicates;|新增| -|
|数据管理-rdb|contains(field: string, value: string): RdbPredicates;|新增| -|
|数据管理-rdb|beginsWith(field: string, value: string): RdbPredicates;|新增| -|
|数据管理-rdb|endsWith(field: string, value: string): RdbPredicates;|新增| -|
|数据管理-rdb|isNull(field: string): RdbPredicates;|新增| -|
|数据管理-rdb|isNotNull(field: string): RdbPredicates;|新增| -|
|数据管理-rdb|isEnded: boolean;|新增| -|
|数据管理-rdb|isStarted: boolean;|新增| -|
|数据管理-rdb|isClosed: boolean;|新增| -|
|数据管理-rdb|getColumnIndex(columnName: string): number;|新增| -|
|数据管理-rdb|getColumnName(columnIndex: number): string;|新增| -|
|数据管理-rdb|goTo(offset: number): boolean;|新增| -|
|数据管理-rdb|goToRow(position: number): boolean;|新增| -|
|数据管理-rdb|goToFirstRow(): boolean;|新增| -|
|数据管理-rdb|goToLastRow(): boolean;|新增| -|
|数据管理-rdb|goToNextRow(): boolean;|新增| -|
|数据管理-rdb|goToPreviousRow(): boolean;|新增| -|
|数据管理-rdb|getBlob(columnIndex: number): Uint8Array;|新增| -|
|数据管理-rdb|getString(columnIndex: number): string;|新增| -|
|数据管理-rdb|getLong(columnIndex: number): number;|新增| -|
|数据管理-rdb|getDouble(columnIndex: number): number;|新增| -|
|数据管理-dataAbility|orderByDesc(field: string): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|distinct(): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|limitAs(value: number): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|offsetAs(rowOffset: number): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|groupBy(fields: Array
<string>
): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|indexedBy(field: string): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|in(field: string, value: Array
<ValueType>
): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|notIn(field: string, value: Array
<ValueType>
): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|glob(field: string, value: string): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|between(field: string, low: ValueType, high: ValueType): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|notBetween(field: string, low: ValueType, high: ValueType): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|greaterThan(field: string, value: ValueType): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|lessThan(field: string, value: ValueType): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|greaterThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|lessThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|orderByAsc(field: string): DataAbilityPredicates;|新增| -|
|数据管理-rdb|isColumnNull(columnIndex: number): boolean;|新增| -|
|数据管理-rdb|close(): void;|新增| -|
|数据管理-dataAbility|function createRdbPredicates(name: string, dataAbilityPredicates: DataAbilityPredicates): rdb.RdbPredicates;|新增| -|
|数据管理-dataAbility|equalTo(field: string, value: ValueType): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|notEqualTo(field: string, value: ValueType): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|beginWrap():DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|endWrap(): DataAbilityPredicates;|新增| -|
|数据管理-rdb|orderByAsc(field: string): RdbPredicates;|新增| -|
|数据管理-rdb|orderByDesc(field: string): RdbPredicates;|新增| -|
|数据管理-rdb|distinct(): RdbPredicates;|新增| -|
|数据管理-rdb|limitAs(value: number): RdbPredicates;|新增| -|
|数据管理-rdb|offsetAs(rowOffset: number): RdbPredicates;|新增| -|
|数据管理-rdb|groupBy(fields: Array
<string>
): RdbPredicates;|新增| -|
|数据管理-rdb|indexedBy(field: string): RdbPredicates;|新增| -|
|数据管理-dataAbility|or(): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|and(): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|contains(field: string, value: string): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|beginsWith(field: string, value: string): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|endsWith(field: string, value: string): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|isNull(field: string): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|isNotNull(field: string): DataAbilityPredicates;|新增| -|
|数据管理-dataAbility|like(field: string, value: string): DataAbilityPredicates;|新增| -|
|数据管理-rdb|in(field: string, value: Array
<ValueType>
): RdbPredicates;|新增| -|
|数据管理-rdb|notIn(field: string, value: Array
<ValueType>
): RdbPredicates;|新增| -|
|数据管理-rdb|columnNames: Array
<string>
;|新增| -|
|数据管理-rdb|columnCount: number;|新增| -|
|数据管理-rdb|rowCount: number;|新增| -|
|数据管理-rdb|rowIndex: number;|新增| -|
|数据管理-rdb|isAtFirstRow: boolean;|新增| -|
|数据管理-rdb|isAtLastRow: boolean;|新增| -|
|事件通知-notification|title: string;|新增| -|
|事件通知-notification|sound?: string;|新增| -|
|事件通知-notification|text: string;|新增| -|
|事件通知-notification|vibrationValues?: Array
<number>
;|新增| -|
|事件通知-wantAgent|want?: Want;|新增| -|
|事件通知-notification|vibrationEnabled?: boolean;|新增| -|
|事件通知-notification|badgeFlag?: boolean;|新增| -|
|事件通知-notification|type: notification.SlotType;|新增| -|
|事件通知-wantAgent|code: number;|新增| -|
|事件通知-notification|contentType: ContentType;|新增| -|
|事件通知-notification|picture: image.PixelMap;|新增| -|
|事件通知-notification|briefText: string;|新增| -|
|事件通知-notification|briefText: string;|新增| -|
|事件通知-notification|briefText: string;|新增| -|
|事件通知-notification|bypassDnd?: boolean;|新增| -|
|事件通知-notification|additionalText?: string;|新增| -|
|事件通知-wantagent|function cancel(info: WantAgentInfo, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-wantAgent|enum OperationType|新增| -|
|事件通知-wantAgent|enum WantAgentFlags|新增| -|
|事件通知-wantAgent|permission?: string;|新增| -|
|事件通知-notification|picture?: NotificationPictureContent;|新增| -|
|事件通知-notification|normal?: NotificationBasicContent;|新增| -|
|事件通知-notification|expandedTitle: string;|新增| -|
|事件通知-notification|expandedTitle: string;|新增| -|
|事件通知-wantAgent|function trigger(info: WantAgentInfo, triggerInfo: TriggerInfo, callback: AsyncCallback
<CompleteData>
): void;|新增| -|
|事件通知-wantAgent|extraInfo?: {[key: string]: any};|新增| -|
|事件通知-notification|multiLine?: NotificationMultiLineContent;|新增| -|
|事件通知-notification|level?: notification.SlotLevel;|新增| -|
|事件通知-notification|lightColor?: number;|新增| -|
|事件通知-notification|lightEnabled?: boolean;|新增| -|
|事件通知-notification|lines: Array
<String>
;|新增| -|
|事件通知-notification|lockscreenVisibility?: number;|新增| -|
|事件通知-notification|longText: string;|新增| -|
|事件通知-wantAgent|function getBundleName(info: WantAgentInfo, callback: AsyncCallback
<string>
): void;|新增| -|
|事件通知-notification|longText?: NotificationLongTextContent;|新增| -|
|事件通知-notification|longTitle: string;|新增| -|
|事件通知-wantAgent|function judgeEquality(info: WantAgentInfo, info2: WantAgentInfo, callback: AsyncCallback
<boolean>
): void;|新增| -|
|事件通知-wantAgent|function getUid(info: WantAgentInfo, callback: AsyncCallback
<number>
): void;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_TEMPERATURE_ABNORMAL = common.event.IVI_TEMPERATURE_ABNORMAL,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_VOLTAGE_RECOVERY = common.event.IVI_VOLTAGE_RECOVERY,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_TEMPERATURE_RECOVERY = common.event.IVI_TEMPERATURE_RECOVERY,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_ACTIVE = common.event.IVI_ACTIVE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USB_DEVICE_ATTACHED = usual.event.hardware.usb.action.USB_DEVICE_ATTACHED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USB_DEVICE_DETACHED = usual.event.hardware.usb.action.USB_DEVICE_DETACHED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_PAUSE = common.event.IVI_PAUSE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_STANDBY = common.event.IVI_STANDBY,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_LASTMODE_SAVE = common.event.IVI_LASTMODE_SAVE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_VOLTAGE_ABNORMAL = common.event.IVI_VOLTAGE_ABNORMAL,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_HIGH_TEMPERATURE = common.event.IVI_HIGH_TEMPERATURE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_EXTREME_TEMPERATURE = common.event.IVI_EXTREME_TEMPERATURE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DISK_UNMOUNTABLE = usual.event.data.DISK_UNMOUNTABLE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DISK_EJECT = usual.event.data.DISK_EJECT,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED = usual.event.data.VISIBLE_ACCOUNTS_UPDATED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_ACCOUNT_DELETED = usual.event.data.ACCOUNT_DELETED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_FOUNDATION_READY = common.event.FOUNDATION_READY,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_AIRPLANE_MODE_CHANGED = usual.event.AIRPLANE_MODE|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USB_ACCESSORY_ATTACHED = usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USB_ACCESSORY_DETACHED = usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DISK_REMOVED = usual.event.data.DISK_REMOVED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DISK_UNMOUNTED = usual.event.data.DISK_UNMOUNTED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DISK_MOUNTED = usual.event.data.DISK_MOUNTED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DISK_BAD_REMOVAL = usual.event.data.DISK_BAD_REMOVAL,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED = usual.event.nfc.action.RF_FIELD_OFF_DETECTED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DISCHARGING = usual.event.DISCHARGING,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_CHARGING = usual.event.CHARGING,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED = usual.event.DEVICE_IDLE_MODE_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_POWER_SAVE_MODE_CHANGED = usual.event.POWER_SAVE_MODE_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_ADDED = usual.event.USER_ADDED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_REMOVED = usual.event.USER_REMOVED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_ABILITY_ADDED = common.event.ABILITY_ADDED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_ABILITY_REMOVED = common.event.ABILITY_REMOVED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_ABILITY_UPDATED = common.event.ABILITY_UPDATED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_LOCATION_MODE_STATE_CHANGED = usual.event.location.MODE_STATE_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_IVI_SLEEP = common.event.IVI_SLEEP,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE = usual.event.bluetooth.host.NAME_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE = usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE = usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED = usual.event.nfc.action.ADAPTER_STATE_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED = usual.event.nfc.action.RF_FIELD_ON_DETECTED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE = usual.event.bluetooth.host.REQ_ENABLE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE = usual.event.bluetooth.host.REQ_DISABLE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE = usual.event.bluetooth.host.SCAN_MODE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED = usual.event.bluetooth.host.DISCOVERY_STARTED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED = usual.event.bluetooth.host.DISCOVERY_FINISHED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_P2P_CONN_STATE = usual.event.wifi.p2p.CONN_STATE_CHANGE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_P2P_STATE_CHANGED = usual.event.wifi.p2p.STATE_CHANGE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED = usual.event.wifi.p2p.DEVICES_CHANGE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED = usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED = usual.event.wifi.p2p.GROUP_STATE_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE = usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE = usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE = usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE = usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_RSSI_VALUE = usual.event.wifi.RSSI_VALUE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_CONN_STATE = usual.event.wifi.CONN_STATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_HOTSPOT_STATE = usual.event.wifi.HOTSPOT_STATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_AP_STA_JOIN = usual.event.wifi.WIFI_HS_STA_JOIN,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_AP_STA_LEAVE = usual.event.wifi.WIFI_HS_STA_LEAVE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_MPLINK_STATE_CHANGE = usual.event.wifi.mplink.STATE_CHANGE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_HWID_LOGOUT = common.event.HWID_LOGOUT,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_HWID_TOKEN_INVALID = common.event.HWID_TOKEN_INVALID,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_HWID_LOGOFF = common.event.HWID_LOGOFF,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_POWER_STATE = usual.event.wifi.POWER_STATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_SCAN_FINISHED = usual.event.wifi.SCAN_FINISHED,|新增| -|
|事件通知-commonEvent|clearAbortCommonEvent(): Promise
<void>
;|新增| -|
|事件通知-commonEvent|bundleName?: string;|新增| -|
|事件通知-commonEvent|code?: number;|新增| -|
|事件通知-commonEvent|data?: string;|新增| -|
|事件通知-commonEvent|subscriberPermissions?: Array
<string>
;|新增| -|
|事件通知-commonEvent|isOrdered?: boolean;|新增| -|
|事件通知-commonEvent|isSticky?: boolean;|新增| -|
|事件通知-commonEvent|abortCommonEvent(callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-commonEvent|abortCommonEvent(): Promise
<void>
;|新增| -|
|事件通知-commonEvent|function createSubscriber(subscribeInfo: CommonEventSubscribeInfo): Promise
<CommonEventSubscriber>
;|新增| -|
|事件通知-commonEvent|function createSubscriber(subscribeInfo: CommonEventSubscribeInfo, callback: AsyncCallback
<CommonEventSubscriber>
): void;|新增| -|
|事件通知-commonEvent|function subscribe(subscriber: CommonEventSubscriber, callback: AsyncCallback
<CommonEventData>
): void;|新增| -|
|事件通知-commonEvent|function publish(event: string, options: CommonEventPublishData, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-commonEvent|isOrderedCommonEvent(callback: AsyncCallback
<boolean>
): void;|新增| -|
|事件通知-commonEvent|isOrderedCommonEvent(): Promise
<boolean>
;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BOOT_COMPLETED = usual.event.BOOT_COMPLETED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_LOCKED_BOOT_COMPLETED = usual.event.LOCKED_BOOT_COMPLETED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_SHUTDOWN = usual.event.SHUTDOWN,|新增| -|
|事件通知-commonEvent|isStickyCommonEvent(): Promise
<boolean>
;|新增| -|
|事件通知-commonEvent|getData(callback: AsyncCallback
<string>
): void;|新增| -|
|事件通知-commonEvent|getData(): Promise
<string>
;|新增| -|
|事件通知-commonEvent|getSubscribeInfo(callback: AsyncCallback
<CommonEventSubscribeInfo>
): void;|新增| -|
|事件通知-commonEvent|getSubscribeInfo(): Promise
<CommonEventSubscribeInfo>
;|新增| -|
|事件通知-commonEvent|function publish(event: string, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-commonEvent|event: string|新增| -|
|事件通知-commonEvent|bundleName?: string;|新增| -|
|事件通知-commonEvent|code?: number;|新增| -|
|事件通知-commonEvent|data?: string;|新增| -|
|事件通知-commonEvent|setCode(code: number, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DRIVE_MODE = common.event.DRIVE_MODE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_HOME_MODE = common.event.HOME_MODE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_OFFICE_MODE = common.event.OFFICE_MODE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_STARTED = usual.event.USER_STARTED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_BACKGROUND = usual.event.USER_BACKGROUND,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_FOREGROUND = usual.event.USER_FOREGROUND,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_SWITCHED = usual.event.USER_SWITCHED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_STARTING = usual.event.USER_STARTING,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_UNLOCKED = usual.event.USER_UNLOCKED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_STOPPING = usual.event.USER_STOPPING,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_STOPPED = usual.event.USER_STOPPED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_HWID_LOGIN = common.event.HWID_LOGIN,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_VERIFIED = usual.event.PACKAGE_VERIFIED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE = usual.event.EXTERNAL_APPLICATIONS_AVAILABLE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE = usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_CONFIGURATION_CHANGED = usual.event.CONFIGURATION_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_LOCALE_CHANGED = usual.event.LOCALE_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_MANAGE_PACKAGE_STORAGE = usual.event.MANAGE_PACKAGE_STORAGE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGES_UNSUSPENDED = usual.event.PACKAGES_UNSUSPENDED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_MY_PACKAGE_SUSPENDED = usual.event.MY_PACKAGE_SUSPENDED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_MY_PACKAGE_UNSUSPENDED = usual.event.MY_PACKAGE_UNSUSPENDED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_UID_REMOVED = usual.event.UID_REMOVED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_FIRST_LAUNCH = usual.event.PACKAGE_FIRST_LAUNCH,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION = usual.event.PACKAGE_NEEDS_VERIFICATION,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_SCREEN_OFF = usual.event.SCREEN_OFF,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_SCREEN_ON = usual.event.SCREEN_ON,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_USER_PRESENT = usual.event.USER_PRESENT,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_TIME_TICK = usual.event.TIME_TICK,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_TIME_CHANGED = usual.event.TIME_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_DATE_CHANGED = usual.event.DATE_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BATTERY_CHANGED = usual.event.BATTERY_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BATTERY_LOW = usual.event.BATTERY_LOW,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BATTERY_OKAY = usual.event.BATTERY_OKAY,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_POWER_CONNECTED = usual.event.POWER_CONNECTED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_POWER_DISCONNECTED = usual.event.POWER_DISCONNECTED,|新增| -|
|事件通知-commonEvent|function unsubscribe(subscriber: CommonEventSubscriber, callback?: AsyncCallback
<void>
): void;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED = usual.event.bluetooth.remotedevice.ACL_CONNECTED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED = usual.event.bluetooth.remotedevice.ACL_DISCONNECTED,|新增| -|
|事件通知-commonEvent|getAbortCommonEvent(callback: AsyncCallback
<boolean>
): void;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE = usual.event.bluetooth.remotedevice.NAME_UPDATE,|新增| -|
|事件通知-commonEvent|getAbortCommonEvent(): Promise
<boolean>
;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE = usual.event.bluetooth.remotedevice.PAIR_STATE,|新增| -|
|事件通知-commonEvent|getCode(callback: AsyncCallback
<number>
): void;|新增| -|
|事件通知-commonEvent|setCode(code: number): Promise
<void>
;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE = usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE,|新增| -|
|事件通知-commonEvent|getCode(): Promise
<number>
;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT = usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT,|新增| -|
|事件通知-commonEvent|setCodeAndData(code: number, data: string, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT = usual.event.bluetooth.remotedevice.SDP_RESULT,|新增| -|
|事件通知-commonEvent|isStickyCommonEvent(callback: AsyncCallback
<boolean>
): void;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|setCodeAndData(code: number, data: string): Promise
<void>
;|新增| -|
|事件通知-commonEvent|events: Array
<string>
;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE = usual.event.bluetooth.host.STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE = usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|setData(data: string, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE = usual.event.bluetooth.host.REQ_DISCOVERABLE,|新增| -|
|事件通知-commonEvent|publisherPermission?: string;|新增| -|
|事件通知-commonEvent|setData(data: string): Promise
<void>
;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE = usual.event.bluetooth.remotedevice.UUID_VALUE,|新增| -|
|事件通知-commonEvent|publisherDeviceId?: string;|新增| -|
|事件通知-commonEvent|clearAbortCommonEvent(callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-commonEvent|userId?: number;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_TIMEZONE_CHANGED = usual.event.TIMEZONE_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ = usual.event.bluetooth.remotedevice.PAIRING_REQ,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED = usual.event.bluetooth.remotedevice.DISCOVERED,|新增| -|
|事件通知-commonEvent|priority?: number;|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BUNDLE_REMOVED = usual.event.BUNDLE_REMOVED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE = usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL = usual.event.bluetooth.remotedevice.PAIRING_CANCEL,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_CLOSE_SYSTEM_DIALOGS = usual.event.CLOSE_SYSTEM_DIALOGS,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_ADDED = usual.event.PACKAGE_ADDED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ = usual.event.bluetooth.remotedevice.CONNECT_REQ,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_FULLY_REMOVED = usual.event.PACKAGE_FULLY_REMOVED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_REPLACED = usual.event.PACKAGE_REPLACED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY = usual.event.bluetooth.remotedevice.CONNECT_REPLY,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_MY_PACKAGE_REPLACED = usual.event.MY_PACKAGE_REPLACED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_CHANGED = usual.event.PACKAGE_CHANGED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL = usual.event.bluetooth.remotedevice.CONNECT_CANCEL,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_REMOVED = usual.event.PACKAGE_REMOVED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_RESTARTED = usual.event.PACKAGE_RESTARTED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGE_DATA_CLEARED = usual.event.PACKAGE_DATA_CLEARED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_PACKAGES_SUSPENDED = usual.event.PACKAGES_SUSPENDED,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE = usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE,|新增| -|
|事件通知-commonEvent|COMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED = usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE,|新增| -|
|事件通知-notification|LEVEL_NONE = 0,|新增| -|
|事件通知-notification|LEVEL_MIN = 1,|新增| -|
|事件通知-notification|LEVEL_LOW = 2,|新增| -|
|事件通知-notification|LEVEL_DEFAULT = 3,|新增| -|
|事件通知-notification|label?: string;|新增| -|
|事件通知-notification|bundle: string;|新增| -|
|事件通知-notification|uid?: number;|新增| -|
|事件通知-notification|NOTIFICATION_CONTENT_MULTILINE,|新增| -|
|事件通知-notification|UNKNOWN_TYPE = 0,|新增| -|
|事件通知-notification|SOCIAL_COMMUNICATION = 1,|新增| -|
|事件通知-notification|LEVEL_HIGH = 4,|新增| -|
|事件通知-notification|NOTIFICATION_CONTENT_BASIC_TEXT,|新增| -|
|事件通知-notification|NOTIFICATION_CONTENT_LONG_TEXT,|新增| -|
|事件通知-notification|NOTIFICATION_CONTENT_PICTURE,|新增| -|
|事件通知-notification|isFloatingIcon?: boolean;|新增| -|
|事件通知-notification|label?: string;|新增| -|
|事件通知-notification|badgeIconStyle?: number;|新增| -|
|事件通知-notification|showDeliveryTime?: boolean;|新增| -|
|事件通知-notification|isAlertOnce?: boolean;|新增| -|
|事件通知-notification|function getActiveNotifications(callback: AsyncCallback
<Array
<
NotificationRequest
>
>): void;|新增| -|
|事件通知-notification|isStopwatch?: boolean;|新增| -|
|事件通知-notification|isCountDown?: boolean;|新增| -|
|事件通知-notification|function getActiveNotifications(): Promise
<Array
<
NotificationRequest
>
>;|新增| -|
|事件通知-notification|function getActiveNotificationCount(callback: AsyncCallback
<number>
): void;|新增| -|
|事件通知-notification|readonly creatorUid?: number;|新增| -|
|事件通知-notification|function getActiveNotificationCount(): Promise
<number>
;|新增| -|
|事件通知-notification|readonly creatorPid?: number;|新增| -|
|事件通知-notification|function cancel(id: number, label?: string): Promise
<void>
;|新增| -|
|事件通知-notification|classification?: string;|新增| -|
|事件通知-notification|readonly hashCode?: string;|新增| -|
|事件通知-notification|function cancelAll(callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-notification|actionButtons?: Array
<NotificationActionButton>
;|新增| -|
|事件通知-notification|function cancelAll(): Promise
<void>
;|新增| -|
|事件通知-notification|smallIcon?: image.PixelMap;|新增| -|
|事件通知-notification|isUnremovable?: boolean;|新增| -|
|事件通知-notification|largeIcon?: image.PixelMap;|新增| -|
|事件通知-notification|deliveryTime?: number;|新增| -|
|事件通知-notification|readonly creatorBundleName?: string;|新增| -|
|事件通知-notification|tapDismissed?: boolean;|新增| -|
|事件通知-notification|function publish(request: NotificationRequest): Promise
<void>
;|新增| -|
|事件通知-notification|autoDeletedTime?: number;|新增| -|
|事件通知-notification|function cancel(id: number, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-notification|content: NotificationContent;|新增| -|
|事件通知-notification|wantAgent?: WantAgentInfo;|新增| -|
|事件通知-notification|function cancel(id: number, label: string, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-notification|function getSlot(slotType: SlotType, callback: AsyncCallback
<NotificationSlot>
): void;|新增| -|
|事件通知-notification|extraInfo?: {[key: string]: any};|新增| -|
|事件通知-notification|function getSlot(slotType: SlotType): Promise
<NotificationSlot>
;|新增| -|
|事件通知-notification|SERVICE_INFORMATION = 2,|新增| -|
|事件通知-notification|color?: number;|新增| -|
|事件通知-notification|id?: number;|新增| -|
|事件通知-notification|function getSlots(callback: AsyncCallback
<Array
<
NotificationSlot
>
>): void;|新增| -|
|事件通知-notification|CONTENT_INFORMATION = 3,|新增| -|
|事件通知-notification|slotType?: notification.SlotType;|新增| -|
|事件通知-notification|colorEnabled?: boolean;|新增| -|
|事件通知-notification|OTHER_TYPES = 0xFFFF,|新增| -|
|事件通知-notification|isOngoing?: boolean;|新增| -|
|事件通知-notification|function addSlot(type: SlotType, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-notification|id: number;|新增| -|
|事件通知-notification|function addSlot(type: SlotType): Promise
<void>
;|新增| -|
|事件通知-notification|desc?: string;|新增| -|
|事件通知-notification|function publish(request: NotificationRequest, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-notification|function removeAllSlots(callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-notification|function removeAllSlots(): Promise
<void>
;|新增| -|
|事件通知-notification|function getSlots(): Promise
<Array
<
NotificationSlot
>
>;|新增| -|
|事件通知-notification|function removeSlot(slotType: SlotType, callback: AsyncCallback
<void>
): void;|新增| -|
|事件通知-notification|function removeSlot(slotType: SlotType): Promise
<void>
;|新增| -|
|全球化-resourceManager|getString(resId: number, callback: AsyncCallback
<string>
);getString(resId: number): Promise
<string>
;|新增| -|
|全球化-resourceManager|getStringArray(resId: number, callback: AsyncCallback
<Array
<
string
>
>);getStringArray(resId: number): Promise
<Array
<
string
>
>;|新增| -|
|全球化-resourceManager|getConfiguration(callback: AsyncCallback
<Configuration>
);getConfiguration(): Promise
<Configuration>
;|新增| -|
|全球化-resourceManager|getDeviceCapability(callback: AsyncCallback
<DeviceCapability>
);getDeviceCapability(): Promise
<DeviceCapability>
;|新增| -|
|全球化-resourceManager|getMedia(resId: number, callback: AsyncCallback
<Uint8Array>
);getMedia(resId: number): Promise
<Uint8Array>
;getMediaBase64(resId: number, callback: AsyncCallback
<string>
);getMediaBase64(resId: number): Promise
<string>
;|新增| -|
|全球化-resourceManager|"getPluralString(resId: number, num: number, callback: AsyncCallback
<string>
);getPluralString(resId: number, num: number): Promise
<string>
;"|新增| -|
|全球化-resourceManager|DeviceCapability|新增| -|
|全球化-resourceManager|"getMediaBase64(resId: number, callback: AsyncCallback
<Uint8Array>
);getMediaBase64(resId: number): Promise
<Uint9Array>
;"|新增| -|
|全球化-resourceManager|"getResourceManager(callback: AsyncCallback
<ResourceManager>
);getResourceManager(bundleName: string, callback: AsyncCallback
<ResourceManager>
);getResourceManager(): Promise
<ResourceManager>
;getResourceManager(bundleName: string): Promise
<ResourceManager>
;"|新增| -|
|全球化-resourceManager|DeviceType|新增| -|
|全球化-resourceManager|Direction|新增| -|
|全球化-resourceManager|Configuration|新增| -|
|全球化-resourceManager|ScreenDensity|新增| -|
|全球化-resourceManager|deviceType|新增| -|
|全球化-resourceManager|locale|新增| -|
|全球化-resourceManager|direction|新增| -|
|全球化-resourceManager|screenDensity|新增| -|
|电源服务-batteryInfo|batteryInfo:const batterySOC: number;|新增| -|
|电源服务-batteryInfo|batteryInfo:const technology: string;|新增| -|
|电源服务-batteryInfo|batteryInfo:const isBatteryPresent: boolean;|新增| -|
|电源服务-batteryInfo|batteryInfo:const batteryTemperature: number;|新增| -|
|电源服务-batteryInfo|batteryInfo:const pluggedType: BatteryPluggedType;|新增| -|
|电源服务-batteryInfo|batteryInfo:const chargingStatus: BatteryChargeState;|新增| -|
|电源服务-batteryInfo|batteryInfo:const healthStatus: BatteryHealthState;|新增| -|
|电源服务-batteryInfo|batteryInfo:const voltage: number;|新增| -|
|电源服务-batteryInfo|BatteryChargeState:NONE|新增| -|
|电源服务-batteryInfo|BatteryChargeState:DISABLE|新增| -|
|电源服务-batteryInfo|BatteryChargeState:ENABLE,|新增| -|
|电源服务-batteryInfo|BatteryChargeState:FULL|新增| -|
|电源服务-batteryInfo|BatteryHealthState:COLD|新增| -|
|电源服务-batteryInfo|BatteryHealthState:OVERHEAT|新增| -|
|电源服务-batteryInfo|BatteryHealthState:OVERVOLTAGE|新增| -|
|电源服务-batteryInfo|BatteryHealthState:DEAD|新增| -|
|电源服务-batteryInfo|BatteryHealthState:UNKNOWN|新增| -|
|电源服务-batteryInfo|BatteryHealthState:GOOD|新增| -|
|电源服务-batteryInfo|BatteryPluggedType:WIRELESS|新增| -|
|电源服务-batteryInfo|BatteryPluggedType:NONE|新增| -|
|电源服务-batteryInfo|BatteryPluggedType:AC|新增| -|
|电源服务-batteryInfo|BatteryPluggedType:USB|新增| -|
|电源服务-runningLock|RunningLock:unlock()|新增| -|
|电源服务-runningLock|runningLock:isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback
<boolean>
): void;|新增| -|
|电源服务-runningLock|runningLock:createRunningLock(name: string, type: runningLockType): RunningLock|新增| -|
|电源服务-runningLock|RunningLock:lock(timeout: number)|新增| -|
|电源服务-runningLock|RunningLock:isUsed(): boolean|新增| -|
|电源服务-runninglock|RunningLockType:BACKGROUND|新增| -|
|电源服务-runninglock|RunningLockType:PROXIMITY_SCREEN_CONTROL|新增| -|
|电源服务-power|power:rebootDevice(reason ?: string)|新增| -|
|电源服务-power|power:isScreenOn(callback: AsyncCallback
<boolean>
): void;|新增| -|
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录