提交 52259f6d 编写于 作者: L l00613276

update docs

Signed-off-by: Nl00613276 <lian15@huawei.com>
上级 812ed027
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
## 导入模块 ## 导入模块
```ts ```ts
import performanceMonitor from '@ohos.arkui.performanceMonitor' import performanceMonitor from '@ohos.arkui.performanceMonitor';
``` ```
...@@ -20,7 +20,6 @@ import performanceMonitor from '@ohos.arkui.performanceMonitor' ...@@ -20,7 +20,6 @@ import performanceMonitor from '@ohos.arkui.performanceMonitor'
用户场景触发模式枚举。 用户场景触发模式枚举。
**系统能力:** SystemCapability.ArkUI.ArkUI.Full **系统能力:** SystemCapability.ArkUI.ArkUI.Full
| 名称 | 值 | 说明 | | 名称 | 值 | 说明 |
...@@ -40,11 +39,12 @@ begin(scene: string, startInputType: ActionType, note?: string): void ...@@ -40,11 +39,12 @@ begin(scene: string, startInputType: ActionType, note?: string): void
**系统能力:** SystemCapability.ArkUI.ArkUI.Full **系统能力:** SystemCapability.ArkUI.ArkUI.Full
**参数:** **参数:**
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| -- | -- | -- | -- | | -- | -- | -- | -- |
| scene | string | 是 | 用户场景id | | scene | string | 是 | 用户场景id |
| startInputType | [ActionType](#actiontype)| 是 | 用户场景触发模式 | | startInputType | [ActionType](#actiontype)| 是 | 用户场景触发模式 |
| note | string| 否 | 用户场景重要信息 | | note | string| 否 | 用户场景重要信息 |
**示例:** **示例:**
```ts ```ts
...@@ -54,7 +54,7 @@ performanceMonitor.begin("LAUNCHER_APP_LAUNCH_FROM_ICON", performanceMonitor.Act ...@@ -54,7 +54,7 @@ performanceMonitor.begin("LAUNCHER_APP_LAUNCH_FROM_ICON", performanceMonitor.Act
## performanceMonitor.end ## performanceMonitor.end
end(scene: string): void; end(scene: string): void
用户场景结束 用户场景结束
...@@ -63,7 +63,7 @@ end(scene: string): void; ...@@ -63,7 +63,7 @@ end(scene: string): void;
**参数:** **参数:**
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
| -- | -- | -- | -- | | -- | -- | -- | -- |
| scene | string | 是 | 用户场景id,与begin配对 | | scene | string | 是 | 用户场景id,与begin配对 |
**示例:** **示例:**
```ts ```ts
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册