diff --git a/en/application-dev/reference/apis/js-apis-prompt.md b/en/application-dev/reference/apis/js-apis-prompt.md index 27a450de58306f1b018468d6f2590778a9f0d484..5f890c7007afc796748bd4a96040dfb4aca14f41 100644 --- a/en/application-dev/reference/apis/js-apis-prompt.md +++ b/en/application-dev/reference/apis/js-apis-prompt.md @@ -1,4 +1,4 @@ -# @ohos.prompt +# @ohos.prompt (Prompt) The **Prompt** module provides APIs for creating and showing toasts, dialog boxes, and action menus. @@ -45,11 +45,11 @@ Describes the options for showing the toast. **System capability**: SystemCapability.ArkUI.ArkUI.Full -| Name | Type | Mandatory | Description | -| -------- | ---------------------------------------- | ---- | ---------------------------------------- | -| message | string\| [Resource](../arkui-ts/ts-types.md#resource)9+ | Yes | Text to display. | -| duration | number | No | Duration that the toast will remain on the screen. The default value is 1500 ms. The value range is 1500 ms to 10000 ms. If a value less than 1500 ms is set, the default value is used. If the value greater than 10000 ms is set, the upper limit 10000 ms is used.| -| bottom | string\| number | No | Distance between the toast border and the bottom of the screen. It does not have an upper limit. The default unit is vp. | +| Name | Type | Mandatory| Description | +| -------- | --------------- | ---- | ------------------------------------------------------------ | +| message | string | Yes | Text to display. | +| duration | number | No | Duration that the toast will remain on the screen. The default value is 1500 ms. The value range is 1500 ms to 10000 ms. If a value less than 1500 ms is set, the default value is used. If the value greater than 10000 ms is set, the upper limit 10000 ms is used.| +| bottom | string\| number | No | Distance between the toast border and the bottom of the screen. It does not have an upper limit. The default unit is vp. | ## prompt.showDialog @@ -146,11 +146,11 @@ Describes the options for showing the dialog box. **System capability**: SystemCapability.ArkUI.ArkUI.Full -| Name | Type | Mandatory| Description | -| ------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | -| title | string\| [Resource](../arkui-ts/ts-types.md#resource)9+ | No | Title of the dialog box. | -| message | string\| [Resource](../arkui-ts/ts-types.md#resource)9+ | No | Text body. | -| buttons | [[Button](#button),[Button](#button)?,[Button](#button)?] | No | Array of buttons in the dialog box. The array structure is **{text:'button', color: '\#666666'}**. Up to three buttons are supported. The first button is of the **positiveButton** type, the second is of the **negativeButton** type, and the third is of the **neutralButton** type.| +| Name | Type | Mandatory| Description | +| ------- | --------------------------------------------------------- | ---- | ------------------------------------------------------------ | +| title | string | No | Title of the dialog box. | +| message | string | No | Text body. | +| buttons | [[Button](#button),[Button](#button)?,[Button](#button)?] | No | Array of buttons in the dialog box. The array structure is **{text:'button', color: '\#666666'}**. Up to three buttons are supported. The first button is of the **positiveButton** type, the second is of the **negativeButton** type, and the third is of the **neutralButton** type.| ## ShowDialogSuccessResponse @@ -257,7 +257,7 @@ Describes the options for showing the action menu. | Name | Type | Mandatory| Description | | ------- | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | -| title | string\| [Resource](../arkui-ts/ts-types.md#resource)9+ | No | Title of the text to display. | +| title | string | No | Title of the text to display. | | buttons | [[Button](#button),[Button](#button)?,[Button](#button)?,[Button](#button)?,[Button](#button)?,[Button](#button)?] | Yes | Array of menu item buttons. The array structure is **{text:'button', color: '\#666666'}**. Up to six buttons are supported. If there are more than six buttons, extra buttons will not be displayed.| ## ActionMenuSuccessResponse @@ -276,7 +276,7 @@ Describes the menu item button in the action menu. **System capability**: SystemCapability.ArkUI.ArkUI.Full -| Name | Type | Mandatory | Description | -| ----- | ---------------------------------------- | ---- | ------- | -| text | string\| [Resource](../arkui-ts/ts-types.md#resource)9+ | Yes | Button text.| -| color | string\| [Resource](../arkui-ts/ts-types.md#resource)9+ | Yes | Text color of the button.| +| Name | Type | Mandatory| Description | +| ----- | ------ | ---- | -------------- | +| text | string | Yes | Button text.| +| color | string | Yes | Text color of the button.| diff --git a/en/application-dev/reference/apis/js-apis-router.md b/en/application-dev/reference/apis/js-apis-router.md index 709adc6fe914448e38ac822dc311f8610a9a8f72..da1dc64c53625de97aa0747164a33f10f35623af 100644 --- a/en/application-dev/reference/apis/js-apis-router.md +++ b/en/application-dev/reference/apis/js-apis-router.md @@ -362,7 +362,7 @@ For details about the error codes, see [Router Error Codes](../errorcodes/errorc | ID | Error Message| | --------- | ------- | -| 100001 | if UI execution context not found, only throw in standard system. | +| 100001 | if can not get the delegate, only throw in standard system. | | 200002 | if the uri is not exist. | **Example** @@ -597,7 +597,7 @@ export default { // detail page export default { onInit() { - console.info('showData1:' + router.getParams()[data1]); + console.info('showData1:' + router.getParams()['data1']); } } ``` diff --git a/en/application-dev/reference/arkui-js/js-components-custom-basic-usage.md b/en/application-dev/reference/arkui-js/js-components-custom-basic-usage.md index b6f659f069b4e7c5f6dc6347664552a8c6a82e4d..4759de401d3e60ec49a8434ab27abc0c92e65d34 100644 --- a/en/application-dev/reference/arkui-js/js-components-custom-basic-usage.md +++ b/en/application-dev/reference/arkui-js/js-components-custom-basic-usage.md @@ -3,7 +3,7 @@ Custom components are existing components encapsulated based on service requirements. A custom component can be invoked multiple times in a project to improve the code readability. You can import a custom component to the host page through **element** as shown in the following code snippet: ```html - +
@@ -12,8 +12,8 @@ Custom components are existing components encapsulated based on service requirem The following is an example of using a custom component with **if-else**, which displays **comp1** when **showComp1** is set to **true** and displays **comp2** otherwise. ```html - - + +
@@ -76,7 +76,7 @@ The following example describes how to import **comp** to the parent component: ```html - +
@@ -125,7 +125,7 @@ In the following example, the child component passes the **text** parameter to t ```html - +
Parent component: {{text}} diff --git a/en/application-dev/reference/arkui-js/js-components-custom-props.md b/en/application-dev/reference/arkui-js/js-components-custom-props.md index c9c496b57842c628eabb96377c8096c6a9cc1f9c..c2c0c64961108bcb9f0e2d965b86883593a20dce 100644 --- a/en/application-dev/reference/arkui-js/js-components-custom-props.md +++ b/en/application-dev/reference/arkui-js/js-components-custom-props.md @@ -21,7 +21,7 @@ export default { ```html - +
@@ -57,7 +57,7 @@ In this example, a **\** component is added to display the title. The titl ```html - +
diff --git a/en/application-dev/reference/arkui-js/js-components-custom-slot.md b/en/application-dev/reference/arkui-js/js-components-custom-slot.md index 50c5b9ed0d1ad181567945134be95e0f9c229fed..706268221ec46fd3d18b3c0609229e4c1952efb3 100644 --- a/en/application-dev/reference/arkui-js/js-components-custom-slot.md +++ b/en/application-dev/reference/arkui-js/js-components-custom-slot.md @@ -20,7 +20,7 @@ You can use the **\** tag to create a slot inside a custom component to fi The following references the custom component: ```html - +
Content defined in the parent component @@ -45,7 +45,7 @@ When multiple slots are need inside a custom component, you can name them, so th The following references the custom component: ```html - +
Fill in the second slot. diff --git a/en/application-dev/reference/arkui-ts/figures/en-us_image_0000001256858415.png b/en/application-dev/reference/arkui-ts/figures/en-us_image_0000001256858415.png deleted file mode 100644 index 6b2c6040690cebf054da6dbc70c87d14c82be9d6..0000000000000000000000000000000000000000 Binary files a/en/application-dev/reference/arkui-ts/figures/en-us_image_0000001256858415.png and /dev/null differ diff --git a/en/application-dev/reference/arkui-ts/figures/en-us_image_0000001257138363.gif b/en/application-dev/reference/arkui-ts/figures/en-us_image_0000001257138363.gif deleted file mode 100644 index 3a2f5de773fed90a3c0c058d0b27bc0edd1f1904..0000000000000000000000000000000000000000 Binary files a/en/application-dev/reference/arkui-ts/figures/en-us_image_0000001257138363.gif and /dev/null differ diff --git a/en/application-dev/reference/arkui-ts/figures/qrcode.png b/en/application-dev/reference/arkui-ts/figures/qrcode.png new file mode 100644 index 0000000000000000000000000000000000000000..762c952314fc6e52bbbc0ae55565422c40d05ff0 Binary files /dev/null and b/en/application-dev/reference/arkui-ts/figures/qrcode.png differ diff --git a/en/application-dev/reference/arkui-ts/figures/span.png b/en/application-dev/reference/arkui-ts/figures/span.png new file mode 100644 index 0000000000000000000000000000000000000000..881f4945dac79e31cb9f11216a682110de4efec7 Binary files /dev/null and b/en/application-dev/reference/arkui-ts/figures/span.png differ diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-formcomponent.md b/en/application-dev/reference/arkui-ts/ts-basic-components-formcomponent.md index e641340a69dad32e2db89c55ba2d44911d3258b7..3d55b17b5f9f7b2d8c9b742a1261d2902f4de04c 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-formcomponent.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-formcomponent.md @@ -42,7 +42,7 @@ Creates a **FormComponent** instance to display the provided widget. | Name | Type | Mandatory| Description | | --------- | ------------------------------- | ---- | ----------------------------------------------------------------------- | -| id | number | Yes | Widget ID. Set this parameter to **0** for a new widget. | +| id | number | Yes | Widget ID. Set this parameter to **0** for a new widget. | | name | string | Yes | Widget name. | | bundle | string | Yes | Bundle name of the widget. | | ability | string | Yes | Ability name of the widget. | @@ -63,7 +63,7 @@ Creates a **FormComponent** instance to display the provided widget. ## Attributes | Name | Type | Mandatory| Description | | ----------- | ----------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------------------------------------- | -| size | {
width?: [Length](ts-types.md#length),
height?: [Length](ts-types.md#length)
} | Yes | Size of the widget. | +| size | {
width?: [Length](ts-types.md#length),
height?: [Length](ts-types.md#length)
} | Yes | Size of the widget. | | moduleName | string | Yes | Module name of the widget. | | dimension | [FormDimension](#formdimension) | No | Dimensions of the widget. The widgets in the 2 x 2, 4 x 4, and 4 x 2 dimensions are supported.
Default value: **Dimension_2_2**| | allowUpdate | boolean | No | Whether to allow the widget to update.
Default value: **true** | @@ -75,10 +75,10 @@ Creates a **FormComponent** instance to display the provided widget. | Name | Description | | ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| onAcquired(callback: (info: { id: number }) => void) | Triggered when a widget is obtained. This API returns the ID of the obtained widget. | -| onError(callback: (info: { errcode: number, msg: string }) => void) | Triggered when an error occurs during component loading.
**errcode**: error code.
**msg**: error information. | -| onRouter(callback: (info: any) => void) | Triggered when routing occurs for the widget. This API returns information in [routerEvent](../js-service-widget-ui/js-service-widget-syntax-hml.md#event-binding).| -| onUninstall(callback: (info: { id: number }) => void) | Triggered when a widget is uninstalled. This API returns the ID of the uninstalled widget. | +| onAcquired(callback: (info: { id: number }) => void) | Triggered when a widget is obtained. This API returns the ID of the obtained widget. | +| onError(callback: (info: { errcode: number, msg: string }) => void) | Triggered when an error occurs during component loading.
**errcode**: error code.
**msg**: error information. | +| onRouter(callback: (info: any) => void) | Triggered when routing occurs for the widget. This API returns information in [routerEvent](../js-service-widget-ui/js-service-widget-syntax-hml.md#event-binding).| +| onUninstall(callback: (info: { id: number }) => void) | Triggered when a widget is uninstalled. This API returns the ID of the uninstalled widget. | ## Example @@ -108,7 +108,7 @@ struct CardExample { .visibility(Visibility.Visible) .onAcquired((form)=>{ console.log(`form info : ${JSON.stringify(form)}`); - this.fomId = form.id; + this.formId = form.id; }) .onError((err)=>{ console.log(`fail to add form, err: ${JSON.stringify(err)}`); diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-qrcode.md b/en/application-dev/reference/arkui-ts/ts-basic-components-qrcode.md index 804d82a8d3b1dcfa91a87384b9f3905acdd39cce..8ae6b8443439678c5e10fda4c566edfa3037563b 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-qrcode.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-qrcode.md @@ -2,7 +2,7 @@ The **\** component is used to display a QR code. -> **NOTE** +> **NOTE** > > This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. @@ -16,6 +16,8 @@ Not supported QRCode(value: string) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** | Name| Type| Mandatory| Description| @@ -28,8 +30,8 @@ In addition to the [universal attributes](ts-universal-attributes-size.md), the | Name| Type| Description| | -------- | -------- | -------- | -| color | [ResourceColor](ts-types.md#resourcecolor) | Color of the QR code.
Default value: **Color.Black**| -| backgroundColor | [ResourceColor](ts-types.md#resourcecolor) | Background color of the QR code.
Default value: **Color.White**| +| color | [ResourceColor](ts-types.md#resourcecolor) | Color of the QR code.
Default value: **Color.Black**
Since API version 9, this API is supported in ArkTS widgets.| +| backgroundColor | [ResourceColor](ts-types.md#resourcecolor) | Background color of the QR code.
Default value: **Color.White**
Since API version 9, this API is supported in ArkTS widgets.| ## Events @@ -45,17 +47,21 @@ Among all the universal events, only the [click event](ts-universal-events-click @Component struct QRCodeExample { private value: string = 'hello world' - build() { Column({ space: 5 }) { - Text('normal').fontSize(9).width('90%').fontColor(0xCCCCCC) + Text('normal').fontSize(9).width('90%').fontColor(0xCCCCCC).fontSize(30) QRCode(this.value).width(200).height(200) - Text('color').fontSize(9).width('90%').fontColor(0xCCCCCC) + // Set the color for the QR code. + Text('color').fontSize(9).width('90%').fontColor(0xCCCCCC).fontSize(30) QRCode(this.value).color(0xF7CE00).width(200).height(200) + + // Set the background color for the QR code. + Text('backgroundColor').fontSize(9).width('90%').fontColor(0xCCCCCC).fontSize(30) + QRCode(this.value).width(200).height(200).backgroundColor(Color.Orange) }.width('100%').margin({ top: 5 }) } } ``` -![en-us_image_0000001256858415](figures/en-us_image_0000001256858415.png) +![qrcode](figures/qrcode.png) diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-radio.md b/en/application-dev/reference/arkui-ts/ts-basic-components-radio.md index f000af680f63404ce37e365b777fbe9e03b96b5d..94bdbe86681322c5f0b0e4dedf31d6e037447d5b 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-radio.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-radio.md @@ -16,6 +16,8 @@ Not supported Radio(options: {value: string, group: string}) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** | Name| Type| Mandatory| Description| @@ -29,7 +31,7 @@ In addition to the [universal attributes](ts-universal-attributes-size.md), the | Name| Type| Description| | -------- | -------- | -------- | -| checked | boolean | Whether the radio button is selected.
Default value: **false**| +| checked | boolean | Whether the radio button is selected.
Default value: **false**
Since API version 9, this API is supported in ArkTS widgets.| ## Events @@ -37,7 +39,7 @@ In addition to the [universal events](ts-universal-events-click.md), the followi | Name| Description| | -------- | -------- | -| onChange(callback: (isChecked: boolean) => void) | Triggered when the selected state of the radio button changes.
- If **isChecked** is **true**, the radio button is selected.
- If **isChecked** is **false**, the radio button is not selected.| +| onChange(callback: (isChecked: boolean) => void) | Triggered when the selected state of the radio button changes.
- If **isChecked** is **true**, the radio button is selected.
- If **isChecked** is **false**, the radio button is not selected.
Since API version 9, this API is supported in ArkTS widgets.| ## Example diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-rating.md b/en/application-dev/reference/arkui-ts/ts-basic-components-rating.md index 560a20be960ff723ccd1a633272df3cb58024e54..d78f3a705501daf305b4d3ee01a33a57c568a6a0 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-rating.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-rating.md @@ -16,6 +16,8 @@ Not supported Rating(options?: { rating: number, indicator?: boolean }) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** | Name| Type| Mandatory| Description| @@ -28,16 +30,16 @@ Rating(options?: { rating: number, indicator?: boolean }) | Name| Type| Description| | -------- | -------- | -------- | -| stars | number | Total number of stars.
Default value: **5**| -| stepSize | number | Step of an operation.
Default value: **0.5**| -| starStyle | {
backgroundUri: string,
foregroundUri: string,
secondaryUri?: string
} | **backgroundUri**: image link of the unselected star. You can use the default image or a custom local image.
**foregroundUri**: image path of the selected star. You can use the default image or a custom local image.
**secondaryUir**: image path of the partially selected star. You can use the default image or a custom local image.| +| stars | number | Total number of stars.
Default value: **5**
Since API version 9, this API is supported in ArkTS widgets.| +| stepSize | number | Step of an operation.
Default value: **0.5**
Since API version 9, this API is supported in ArkTS widgets.| +| starStyle | {
backgroundUri: string,
foregroundUri: string,
secondaryUri?: string
} | **backgroundUri**: image link of the unselected star. You can use the default image or a custom local image.
**foregroundUri**: image path of the selected star. You can use the default image or a custom local image.
**secondaryUir**: image path of the partially selected star. You can use the default image or a custom local image.
Since API version 9, this API is supported in ArkTS widgets.| ## Events | Name| Description| | -------- | -------- | -| onChange(callback:(value: number) => void) | Triggered when the rating value changes.| +| onChange(callback:(value: number) => void) | Triggered when the rating value changes.
Since API version 9, this API is supported in ArkTS widgets.| ## Example diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-slider.md b/en/application-dev/reference/arkui-ts/ts-basic-components-slider.md index fab2a885c671b6b480cbf672aa46e66730ff5cb6..bea534a1a1861e1ad2183d0ed1455127f762c65c 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-slider.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-slider.md @@ -16,6 +16,8 @@ Not supported Slider(options?: {value?: number, min?: number, max?: number, step?: number, style?: SliderStyle, direction?: Axis, reverse?: boolean}) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** | Name| Type| Mandatory| Description| @@ -24,12 +26,14 @@ Slider(options?: {value?: number, min?: number, max?: number, step?: number, sty | min | number | No| Minimum value.
Default value: **0**| | max | number | No| Maximum value.
Default value: **100**| | step | number | No| Step of the slider.
Default value: **1**
Value range: [0.01, max]| -| style | SliderStyle | No| Style of the slider thumb and track.
Default value: **SliderStyle.OutSet**| +| style | [SliderStyle](#sliderstyle) | No| Style of the slider thumb and track.
Default value: **SliderStyle.OutSet**| | direction8+ | [Axis](ts-appendix-enums.md#axis) | No| Whether the slider moves horizontally or vertically.
Default value: **Axis.Horizontal**| | reverse8+ | boolean | No| Whether the slider values are reversed. By default, the values increase from left to right for a horizontal slider and from top to bottom for a vertical slider.
Default value: **false**| ## SliderStyle +Since API version 9, this API is supported in ArkTS widgets. + | Name| Description| | -------- | -------- | | OutSet | The slider is on the slider track.| @@ -42,12 +46,12 @@ Except touch target attributes, the universal attributes are supported. | Name| Type| Description| | -------- | -------- | -------- | -| blockColor | [ResourceColor](ts-types.md#resourcecolor) | Color of the slider.| -| trackColor | [ResourceColor](ts-types.md#resourcecolor) | Background color of the slider.| -| selectedColor | [ResourceColor](ts-types.md#resourcecolor) | Color of the selected part of the slider track.| -| showSteps | boolean | Whether to display the current step.
Default value: **false**| -| showTips | boolean | Whether to display a bubble to indicate the percentage when the user drags the slider.
Default value: **false**| -| trackThickness | [Length](ts-types.md#length) | Track thickness of the slider.| +| blockColor | [ResourceColor](ts-types.md#resourcecolor) | Color of the slider.
Since API version 9, this API is supported in ArkTS widgets.| +| trackColor | [ResourceColor](ts-types.md#resourcecolor) | Background color of the slider.
Since API version 9, this API is supported in ArkTS widgets.| +| selectedColor | [ResourceColor](ts-types.md#resourcecolor) | Color of the selected part of the slider track.
Since API version 9, this API is supported in ArkTS widgets.| +| showSteps | boolean | Whether to display the current step.
Default value: **false**
Since API version 9, this API is supported in ArkTS widgets.| +| showTips | boolean | Whether to display a bubble to indicate the percentage when the user drags the slider.
Default value: **false**
Since API version 9, this API is supported in ArkTS widgets.| +| trackThickness | [Length](ts-types.md#length) | Track thickness of the slider.
Since API version 9, this API is supported in ArkTS widgets.| ## Events @@ -56,10 +60,12 @@ In addition to the **OnAppear** and **OnDisAppear** universal events, the follow | Name| Description| | -------- | -------- | -| onChange(callback: (value: number, mode: SliderChangeMode) => void) | Invoked when the slider slides.
**value**: current slider value. If the return value contains decimals, you can use **Math.toFixed()** to process the data to the desired precision.
**mode**: dragging state.| +| onChange(callback: (value: number, mode: SliderChangeMode) => void) | Invoked when the slider slides.
**value**: current slider value. If the return value contains decimals, you can use **Math.toFixed()** to process the data to the desired precision.
**mode**: dragging state.
Since API version 9, this API is supported in ArkTS widgets.| ## SliderChangeMode +Since API version 9, this API is supported in ArkTS widgets. + | Name| Value| Description| | -------- | -------- | -------- | | Begin | 0 | The user starts to drag the slider.| diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-span.md b/en/application-dev/reference/arkui-ts/ts-basic-components-span.md index 0c7c4044634d3751fb653df18bb1be10d98dccaa..f8d1fec7469a7b9b16757fcb59522c1f60d20710 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-span.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-span.md @@ -16,6 +16,8 @@ Not supported Span(value: string | Resource) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** | Name| Type| Mandatory| Description| @@ -23,21 +25,20 @@ Span(value: string | Resource) | value | string \| [Resource](ts-types.md#resource) | Yes| Plain text.| - ## Attributes In addition to the [universal text style](ts-universal-attributes-text-style.md) attributes, the following attributes are supported. | Name| Type| Description| | -------- | -------- | -------- | -| decoration | {
type: [TextDecorationType](ts-appendix-enums.md#textdecorationtype),
color?: [ResourceColor](ts-types.md#resourcecolor)
} | Style and color of the text decorative line.
Default value: {
type: TextDecorationType.None
color: Color.Black
} | -| letterSpacing | number \| string | Letter spacing. | -| textCase | [TextCase](ts-appendix-enums.md#textcase) | Text case.
Default value: **TextCase.Normal**| +| decoration | {
type: [TextDecorationType](ts-appendix-enums.md#textdecorationtype),
color?: [ResourceColor](ts-types.md#resourcecolor)
} | Style and color of the text decorative line.
Default value: {
type: TextDecorationType.None
color: Color.Black
}
Since API version 9, this API is supported in ArkTS widgets.| +| letterSpacing | number \| string | Letter spacing. A negative value tightens the spacing; a positive value loosens the spacing, and the letters are spread farther apart with the value.
Since API version 9, this API is supported in ArkTS widgets. | +| textCase | [TextCase](ts-appendix-enums.md#textcase) | Text case.
Default value: **TextCase.Normal**
Since API version 9, this API is supported in ArkTS widgets.| ## Events -Among all the [universal events](ts-universal-attributes-click.md), only the click event is supported. +Among all the universal events, only the [click event](ts-universal-attributes-click.md) is supported. > **NOTE** > @@ -59,29 +60,59 @@ struct SpanExample { .decoration({ type: TextDecorationType.None, color: Color.Red }) } + // Add a line under the text. Text('Text Decoration').fontSize(9).fontColor(0xCCCCCC) Text() { Span('I am Underline-span').decoration({ type: TextDecorationType.Underline, color: Color.Red }).fontSize(12) } + Text() { - Span('I am LineThrough-span').decoration({ type: TextDecorationType.LineThrough, color: Color.Red }).fontSize(12) + Span('I am LineThrough-span') + .decoration({ type: TextDecorationType.LineThrough, color: Color.Red }) + .fontSize(12) } + Text() { Span('I am Overline-span').decoration({ type: TextDecorationType.Overline, color: Color.Red }).fontSize(12) } + // Set the letter spacing. + Text('LetterSpacing').fontSize(9).fontColor(0xCCCCCC) + Text() { + Span('span letter spacing') + .letterSpacing(0) + .fontSize(12) + } + + Text() { + Span('span letter spacing') + .letterSpacing(-2) + .fontSize(12) + } + + Text() { + Span('span letter spacing') + .letterSpacing(3) + .fontSize(12) + } + + + // Set the text case. Text('Text Case').fontSize(9).fontColor(0xCCCCCC) Text() { - Span('I am Lower-span').textCase(TextCase.LowerCase).fontSize(12) - .decoration({ type: TextDecorationType.None, color: Color.Red }) + Span('I am Lower-span').fontSize(12) + .textCase(TextCase.LowerCase) + .decoration({ type: TextDecorationType.None }) } + Text() { - Span('I am Upper-span').textCase(TextCase.UpperCase).fontSize(12) - .decoration({ type: TextDecorationType.None, color: Color.Red }) + Span('I am Upper-span').fontSize(12) + .textCase(TextCase.UpperCase) + .decoration({ type: TextDecorationType.None }) } }.width('100%').height(250).padding({ left: 35, right: 35, top: 35 }) } } ``` -![en-us_image_0000001257138363](figures/en-us_image_0000001257138363.gif) +![span](figures/span.png) diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-text.md b/en/application-dev/reference/arkui-ts/ts-basic-components-text.md index 67eedfeb76158d1cd94e57196811406d46dcbf3b..9f2fdd7b839eaa85f8900968ce42a7e7d5304a40 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-text.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-text.md @@ -16,6 +16,8 @@ This component can contain the [\](ts-basic-components-span.md) child comp Text(content?: string | Resource) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** | Name| Type| Mandatory| Description| @@ -28,17 +30,17 @@ In addition to the [universal attributes](ts-universal-attributes-size.md), the | Name | Type | Description | | ----------------------- | ----------------------------------- | ------------------------------------------- | -| textAlign | [TextAlign](ts-appendix-enums.md#textalign) | Horizontal alignment mode of the text.
Default value: **TextAlign.Start**
**NOTE**
The text takes up the full width of the **\** component. To set the vertical alignment for the text, use the [align](ts-universal-attributes-location.md) attribute.| -| textOverflow | {overflow: [TextOverflow](ts-appendix-enums.md#textoverflow)} | Display mode when the text is too long.
Default value: **{overflow: TextOverflow.Clip}**
**NOTE**
Text is clipped at the transition between words. To clip text in the middle of a word, add **\u200B** between characters.
This attribute must be used with `maxLines` to take effect. | -| maxLines | number | Maximum number of lines in the text.
Default value: **Infinity**
**NOTE**
By default, text is automatically folded. If this attribute is specified, the text will not exceed the specified number of lines. If there is extra text, you can use **textOverflow** to specify how it is displayed. | -| lineHeight | string \| number \| [Resource](ts-types.md#resource) | Text line height. If the value is less than or equal to **0**, the line height is not limited and the font size is adaptive. If the value of the number type, the unit fp is used.| -| decoration | {
type: [TextDecorationType](ts-appendix-enums.md#textdecorationtype),
color?: [ResourceColor](ts-types.md#resourcecolor)
} | Style and color of the text decorative line.
Default value: {
type: TextDecorationType.None,
color: Color.Black
} | -| baselineOffset | number \| string | Baseline offset of the text. The default value is **0**. | -| letterSpacing | number \| string | Letter spacing. | -| minFontSize | number \| string \| [Resource](ts-types.md#resource) | Minimum font size.
For the setting to take effect, this attribute must be used together with **maxFontSize**, **maxline**, or a layout size constraint. | -| maxFontSize | number \| string \| [Resource](ts-types.md#resource) | Maximum font size.
For the setting to take effect, this attribute must be used together with **minFontSize**, **maxline**, or a layout size constraint. | -| textCase | [TextCase](ts-appendix-enums.md#textcase) | Text case.
Default value: **TextCase.Normal**| -| copyOption9+ | [CopyOptions](ts-appendix-enums.md#copyoptions9) | Whether copy and paste is allowed.
Default value: **CopyOptions.None**| +| textAlign | [TextAlign](ts-appendix-enums.md#textalign) | Horizontal alignment mode of the text.
Default value: **TextAlign.Start**
**NOTE**
The text takes up the full width of the **\** component. To set the vertical alignment for the text, use the [align](ts-universal-attributes-location.md) attribute.
Since API version 9, this API is supported in ArkTS widgets.| +| textOverflow | {overflow: [TextOverflow](ts-appendix-enums.md#textoverflow)} | Display mode when the text is too long.
Default value: **{overflow: TextOverflow.Clip}**
**NOTE**
Text is clipped at the transition between words. To clip text in the middle of a word, add **\u200B** between characters.
This attribute must be used with `maxLines` to take effect.
Since API version 9, this API is supported in ArkTS widgets.| +| maxLines | number | Maximum number of lines in the text.
Default value: **Infinity**
**NOTE**
By default, text is automatically folded. If this attribute is specified, the text will not exceed the specified number of lines. If there is extra text, you can use **textOverflow** to specify how it is displayed.
Since API version 9, this API is supported in ArkTS widgets.| +| lineHeight | string \| number \| [Resource](ts-types.md#resource) | Text line height. If the value is less than or equal to **0**, the line height is not limited and the font size is adaptive. If the value of the number type, the unit fp is used.
Since API version 9, this API is supported in ArkTS widgets.| +| decoration | {
type: [TextDecorationType](ts-appendix-enums.md#textdecorationtype),
color?: [ResourceColor](ts-types.md#resourcecolor)
} | Style and color of the text decorative line.
Default value: {
type: TextDecorationType.None,
color: Color.Black
}
Since API version 9, this API is supported in ArkTS widgets.| +| baselineOffset | number \| string | Baseline offset of the text. The default value is **0**.
Since API version 9, this API is supported in ArkTS widgets. | +| letterSpacing | number \| string | Letter spacing.
Since API version 9, this API is supported in ArkTS widgets. | +| minFontSize | number \| string \| [Resource](ts-types.md#resource) | Minimum font size.
For the setting to take effect, this attribute must be used together with **maxFontSize**, **maxline**, or a layout size constraint.
Since API version 9, this API is supported in ArkTS widgets. | +| maxFontSize | number \| string \| [Resource](ts-types.md#resource) | Maximum font size.
For the setting to take effect, this attribute must be used together with **minFontSize**, **maxline**, or a layout size constraint.
Since API version 9, this API is supported in ArkTS widgets. | +| textCase | [TextCase](ts-appendix-enums.md#textcase) | Text case.
Default value: **TextCase.Normal**
Since API version 9, this API is supported in ArkTS widgets.| +| copyOption9+ | [CopyOptions](ts-appendix-enums.md#copyoptions9) | Whether copy and paste is allowed.
Default value: **CopyOptions.None**
This API is supported in ArkTS widgets.| > **NOTE** > diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md b/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md index 12e1dd5287c21a12499361c6acae498ad11671f6..7c3994074a9bf4124800346196515150f020ffc6 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md @@ -6,6 +6,10 @@ The **\** component provides a clickable element in the check box, butto > > This component is supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version. + + + + ## Child Components This component can contain child components only when **ToggleType** is set to **Button**. @@ -15,6 +19,8 @@ This component can contain child components only when **ToggleType** is set to * Toggle(options: { type: ToggleType, isOn?: boolean }) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** | Name| Type| Mandatory | Description | @@ -24,26 +30,29 @@ Toggle(options: { type: ToggleType, isOn?: boolean }) ## ToggleType + +Since API version 9, this API is supported in ArkTS widgets. + | Name | Description | | -------- | ---------------- | -| Checkbox | Check box type.
> **NOTE**
> The default value of the universal attribute [padding](ts-universal-attributes-size.md) is as follows:
{
top: 14 vp,
right: 6 vp,
bottom: 14 vp,
left: 6 vp
} | +| Checkbox | Check box type.
**NOTE**
The default value of the universal attribute [padding](ts-universal-attributes-size.md) is as follows:
{
top: 14 vp,
right: 6 vp,
bottom: 14 vp,
left: 6 vp
} | | Button | Button type. The set string, if any, will be displayed inside the button. | -| Switch | Switch type.
> **NOTE**
> The default value of the universal attribute [padding](ts-universal-attributes-size.md) is as follows:
{
top: 12 vp,
right: 12 vp,
bottom: 12 vp,
left: 12 vp
} | +| Switch | Switch type.
**NOTE**
The default value of the universal attribute [padding](ts-universal-attributes-size.md) is as follows:
{
top: 12 vp,
right: 12 vp,
bottom: 12 vp,
left: 12 vp
} | ## Attributes | Name | Parameter | Description | | ---------------- | --------------------------- | ---------------------- | -| selectedColor | [ResourceColor](ts-types.md#resourcecolor) | Background color of the component when it is turned on.| -| switchPointColor | [ResourceColor](ts-types.md#resourcecolor) | Color of the circular slider when the component is of the **Switch** type.
> **NOTE**
> This attribute is valid only when **type** is set to **ToggleType.Switch**.| +| selectedColor | [ResourceColor](ts-types.md#resourcecolor) | Background color of the component when it is turned on.
Since API version 9, this API is supported in ArkTS widgets.| +| switchPointColor | [ResourceColor](ts-types.md#resourcecolor) | Color of the circular slider when the component is of the **Switch** type.
**NOTE**
This attribute is valid only when **type** is set to **ToggleType.Switch**.
Since API version 9, this API is supported in ArkTS widgets.| ## Events | Name| Description| | -------- | -------- | -| onChange(callback: (isOn: boolean) => void) | Triggered when the toggle status changes.| +| onChange(callback: (isOn: boolean) => void) | Triggered when the toggle status changes.
Since API version 9, this API is supported in ArkTS widgets.| ## Example diff --git a/en/application-dev/reference/arkui-ts/ts-container-relativecontainer.md b/en/application-dev/reference/arkui-ts/ts-container-relativecontainer.md index f0e9f85f122e630c6f73f5443d0d4260abaaf5cf..77f136b9f2c9de3a7e59cb69c017ba33df6b6a10 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-relativecontainer.md +++ b/en/application-dev/reference/arkui-ts/ts-container-relativecontainer.md @@ -31,6 +31,8 @@ Multiple child components are supported. RelativeContainer() +Since API version 9, this API is supported in ArkTS widgets. + ## Example ```ts diff --git a/en/application-dev/reference/arkui-ts/ts-container-row.md b/en/application-dev/reference/arkui-ts/ts-container-row.md index 6e7d1843e0222844d5fdf46cd537dfda346d9958..9f0627c73701f69e3afdb457fc2403e7688c6ed3 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-row.md +++ b/en/application-dev/reference/arkui-ts/ts-container-row.md @@ -16,19 +16,21 @@ Supported Row(value?:{space?: number | string }) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** | Name| Type| Mandatory| Description| | -------- | -------- | -------- | -------- | -| space | string \| number | No| Horizontal spacing between two adjacent child components.
Since API version 9, this parameter does not take effect when it is set to a negative number.
Default value: **0**, in vp| +| space | string \| number | No| Horizontal spacing between two adjacent child components.
Since API version 9, this parameter does not take effect when it is set to a negative number.
Default value: **0**, in vp | ## Attributes | Name| Type| Description| | -------- | -------- | -------- | -| alignItems | [VerticalAlign](ts-appendix-enums.md#verticalalign) | Alignment mode of child components in the vertical direction.
Default value: **VerticalAlign.Center**| -| justifyContent8+ | [FlexAlign](ts-appendix-enums.md#flexalign) | Alignment mode of the child components in the horizontal direction.
FlexAlign.Start | +| alignItems | [VerticalAlign](ts-appendix-enums.md#verticalalign) | Alignment mode of child components in the vertical direction.
Default value: **VerticalAlign.Center**
Since API version 9, this API is supported in ArkTS widgets.| +| justifyContent8+ | [FlexAlign](ts-appendix-enums.md#flexalign) | Alignment mode of the child components in the horizontal direction.
FlexAlign.Start
Since API version 9, this API is supported in ArkTS widgets.| ## Example diff --git a/en/application-dev/reference/arkui-ts/ts-container-stack.md b/en/application-dev/reference/arkui-ts/ts-container-stack.md index 66dcd7deb957887e5ca627464de88148b1897fe7..b880ffd0dd908189de23a1e972c3f8e38b2744af 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-stack.md +++ b/en/application-dev/reference/arkui-ts/ts-container-stack.md @@ -16,11 +16,13 @@ Supported Stack(value?: { alignContent?: Alignment }) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** -| Name| Type| Mandatory| Description| -| -------- | -------- | -------- | -------- | -| alignContent | [Alignment](ts-appendix-enums.md#alignment) | No| Alignment of child components in the container.
Default value: **Alignment.Center**| +| Name | Type | Mandatory| Description | +| ------------ | ------------------------------------------- | ---- | ----------------------------------------------------------- | +| alignContent | [Alignment](ts-appendix-enums.md#alignment) | No | Alignment of child components in the container.
Default value: **Alignment.Center**| ## Example diff --git a/en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md b/en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md index 5cb117bb123247c736fc870db245c59f6187e41a..0444767799d78e070b7d2bb1aec631189587c5b2 100644 --- a/en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md +++ b/en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md @@ -21,6 +21,8 @@ The following child components are supported: **[\](ts-drawing-components- Shape(value?: PixelMap) +Since API version 9, this API is supported in ArkTS widgets. + **Parameters** | Name| Type| Mandatory| Default Value| Description| @@ -34,19 +36,19 @@ In addition to the [universal attributes](ts-universal-attributes-size.md), the | Name| Type| Default Value| Description| | -------- | -------- | -------- | -------- | -| viewPort | {
x?: number \| string,
y?: number \| string,
width?: number \| string,
height?: number \| string
} | { x:0, y:0, width:0, height:0 } | View port of the shape.| -| fill | [ResourceColor](ts-types.md) | Color.Black | Color of the fill area.| -| fillOpacity | number \| string \| [Resource](ts-types.md#resource)| 1 | Opacity of the fill area.| -| stroke | [ResourceColor](ts-types.md) | - | Stroke color. If this attribute is not set, the component does not have any stroke.| -| strokeDashArray | Array<Length> | [] | Stroke dashes.| -| strokeDashOffset | number \| string | 0 | Offset of the start point for drawing the stroke.| -| strokeLineCap | [LineCapStyle](ts-appendix-enums.md#linecapstyle) | LineCapStyle.Butt | Cap style of the stroke.| -| strokeLineJoin | [LineJoinStyle](ts-appendix-enums.md#linejoinstyle) | LineJoinStyle.Miter | Join style of the stroke.| -| strokeMiterLimit | number \| string | 4 | Limit on the ratio of the miter length to the value of **strokeWidth** used to draw a miter join. The miter length indicates the distance from the outer tip to the inner corner of the miter.
**NOTE**
This attribute must be set to a value greater than or equal to 1 and takes effect when **strokeLineJoin** is set to **LineJoinStyle.Miter**.| -| strokeOpacity | number \| string \| [Resource](ts-types.md#resource)| 1 | Stroke opacity.
**NOTE**
The value range is [0.0, 1.0]. If the set value is less than 0.0, **0.0** will be used. If the set value is greater than 1.0, **1.0** will be used.| -| strokeWidth | number \| string | 1 | Stroke width.| -| antiAlias | boolean | true | Whether anti-aliasing is enabled.| -| mesh8+ | Array<number>,number,number | [],0,0 | Mesh effect. The first parameter is an array of lengths (column + 1) * (row + 1) * 2, which records the position of each vertex of the distorted bitmap. The second parameter is the number of columns in the mesh matrix. The third parameter is the number of rows in the mesh matrix.| +| viewPort | {
x?: number \| string,
y?: number \| string,
width?: number \| string,
height?: number \| string
} | { x:0, y:0, width:0, height:0 } | View port of the shape.
Since API version 9, this API is supported in ArkTS widgets.| +| fill | [ResourceColor](ts-types.md) | Color.Black | Color of the fill area.
Since API version 9, this API is supported in ArkTS widgets.| +| fillOpacity | number \| string \| [Resource](ts-types.md#resource)| 1 | Opacity of the fill area.
Since API version 9, this API is supported in ArkTS widgets.| +| stroke | [ResourceColor](ts-types.md) | - | Stroke color. If this attribute is not set, the component does not have any stroke.
Since API version 9, this API is supported in ArkTS widgets.| +| strokeDashArray | Array<Length> | [] | Stroke dashes.
Since API version 9, this API is supported in ArkTS widgets.| +| strokeDashOffset | number \| string | 0 | Offset of the start point for drawing the stroke.
Since API version 9, this API is supported in ArkTS widgets.| +| strokeLineCap | [LineCapStyle](ts-appendix-enums.md#linecapstyle) | LineCapStyle.Butt | Cap style of the stroke.
Since API version 9, this API is supported in ArkTS widgets.| +| strokeLineJoin | [LineJoinStyle](ts-appendix-enums.md#linejoinstyle) | LineJoinStyle.Miter | Join style of the stroke.
Since API version 9, this API is supported in ArkTS widgets.| +| strokeMiterLimit | number \| string | 4 | Limit on the ratio of the miter length to the value of **strokeWidth** used to draw a miter join. The miter length indicates the distance from the outer tip to the inner corner of the miter.
**NOTE**
This attribute must be set to a value greater than or equal to 1 and takes effect when **strokeLineJoin** is set to **LineJoinStyle.Miter**.
Since API version 9, this API is supported in ArkTS widgets.| +| strokeOpacity | number \| string \| [Resource](ts-types.md#resource)| 1 | Stroke opacity.
**NOTE**
The value range is [0.0, 1.0]. If the set value is less than 0.0, **0.0** will be used. If the set value is greater than 1.0, **1.0** will be used.
Since API version 9, this API is supported in ArkTS widgets.| +| strokeWidth | number \| string | 1 | Stroke width.
Since API version 9, this API is supported in ArkTS widgets.| +| antiAlias | boolean | true | Whether anti-aliasing is enabled.
Since API version 9, this API is supported in ArkTS widgets.| +| mesh8+ | Array<number>,number,number | [],0,0 | Mesh effect. The first parameter is an array of lengths (column + 1) * (row + 1) * 2, which records the position of each vertex of the distorted bitmap. The second parameter is the number of columns in the mesh matrix. The third parameter is the number of rows in the mesh matrix.
Since API version 9, this API is supported in ArkTS widgets.| ## Example diff --git a/zh-cn/application-dev/IDL/idl-guidelines.md b/zh-cn/application-dev/IDL/idl-guidelines.md index 5f9989698ce60c86c3614cb7389346e84d0a9b40..c3155816c67515b993e6dd2f24be5f1036303cb8 100644 --- a/zh-cn/application-dev/IDL/idl-guidelines.md +++ b/zh-cn/application-dev/IDL/idl-guidelines.md @@ -158,9 +158,9 @@ OpenHarmony IDL容器数据类型与Ts数据类型、C++数据类型的对应关 > **注意**:请保证使用最新版的SDK,版本老旧可能导致部分语句报错。 -若不存在,可对应版本前往[docs仓版本目录](https://gitee.com/openharmony/docs/tree/master/zh-cn/release-notes)下载SDK包,以[3.2Beta3版本](../../release-notes/OpenHarmony-v3.2-beta3.md#%E4%BB%8E%E9%95%9C%E5%83%8F%E7%AB%99%E7%82%B9%E8%8E%B7%E5%8F%96)为例,可通过镜像站点获取。 +若不存在,可对应版本前往[docs仓版本目录](https://gitee.com/openharmony/docs/tree/master/zh-cn/release-notes)下载SDK包,以[3.2Beta5版本](../../release-notes/OpenHarmony-v3.2-beta5.md#从镜像站点获取)为例,可通过镜像站点获取。 -关于如何替换DevEco Studio的SDK包具体操作,参考[full-SDK替换指南](../quick-start/full-sdk-switch-guide.md#full-sdk%E6%9B%BF%E6%8D%A2%E6%8C%87%E5%8D%97)中的替换方法。 +关于如何替换DevEco Studio的SDK包具体操作,参考[full-SDK替换指南](../quick-start/full-sdk-switch-guide.md)中的替换方法。 得到idl工具的可执行文件后,根据具体场景进行后续开发步骤。 diff --git a/zh-cn/application-dev/application-models/fa-model-development-overview.md b/zh-cn/application-dev/application-models/fa-model-development-overview.md index f4c1c8726362ef938d2738e1bf36850822ff1f0b..1e664edf8f65e47bc5538eea37f6c3d3b7dcce13 100644 --- a/zh-cn/application-dev/application-models/fa-model-development-overview.md +++ b/zh-cn/application-dev/application-models/fa-model-development-overview.md @@ -12,4 +12,4 @@ | 进程间通信 | 本章节介绍了FA模型的进程模型以及几种常用的进程间通信方式。 | [公共事件](common-event-fa.md)
[后台服务](rpc.md) | | 线程间通信 | 本章节介绍了FA模型的线程模型以及几种常用的线程间通信方式。 | [线程间通信](itc-fa-overview.md) | | 任务管理 | 本章节介绍了FA模型中任务管理的基本概念和典型场景。 | [任务管理](mission-management-fa.md) | -| 应用配置文件 | 本章节介绍FA模型中应用配置文件的开发要求。 | [FA模型应用配置文件](config-file-fa.md) | +| 应用配置文件 | 本章节介绍FA模型中应用配置文件的开发要求。 | [FA模型应用配置文件](../quick-start/application-configuration-file-overview-fa.md) | diff --git a/zh-cn/application-dev/application-models/stage-model-development-overview.md b/zh-cn/application-dev/application-models/stage-model-development-overview.md index deff8839ac2790d20043dd820a60a75271e93738..7cb45ca0a766dae71bc67c94c2367642e629ccd2 100644 --- a/zh-cn/application-dev/application-models/stage-model-development-overview.md +++ b/zh-cn/application-dev/application-models/stage-model-development-overview.md @@ -40,4 +40,4 @@ | 进程间通信 | 本章节介绍了Stage模型的进程模型以及几种常用的进程间通信方式。 | - [公共事件](common-event-overview.md)
- [后台服务](background-services.md) | | 线程间通信 | 本章节介绍了Stage模型的线程模型以及几种常用的线程间通信方式。 | - [Emitter](itc-with-emitter.md)
- [Worker](itc-with-worker.md) | | 任务管理 | 本章节介绍了Stage模型中任务管理的基本概念和典型场景。 | - [任务管理场景介绍](mission-management-overview.md)
- [任务管理与启动模式](mission-management-launch-type.md)
- [页面栈和任务链](page-mission-stack.md) | -| 应用配置文件 | 本章节介绍Stage模型中应用配置文件的开发要求。 | [Stage模型应用配置文件](config-file-stage.md) | +| 应用配置文件 | 本章节介绍Stage模型中应用配置文件的开发要求。 | [Stage模型应用配置文件](../quick-start/application-configuration-file-overview-stage.md) | diff --git a/zh-cn/application-dev/connectivity/Readme-CN.md b/zh-cn/application-dev/connectivity/Readme-CN.md index 1a28dc8b9883f6579bdf232b594d48125e3faf12..66559b901db68f9270beaed9fce0d2849e762ed0 100755 --- a/zh-cn/application-dev/connectivity/Readme-CN.md +++ b/zh-cn/application-dev/connectivity/Readme-CN.md @@ -5,6 +5,7 @@ - [HTTP数据请求](http-request.md) - [WebSocket连接](websocket-connection.md) - [Socket连接](socket-connection.md) + - [网络共享](net-sharing.md) - IPC与RPC通信 - [IPC与RPC通信概述](ipc-rpc-overview.md) - [IPC与RPC通信开发指导](ipc-rpc-development-guideline.md) diff --git a/zh-cn/application-dev/connectivity/net-sharing.md b/zh-cn/application-dev/connectivity/net-sharing.md old mode 100755 new mode 100644 diff --git a/zh-cn/application-dev/dfx/apprecovery-guidelines.md b/zh-cn/application-dev/dfx/apprecovery-guidelines.md index b7e0d4fedbdc0a2c3a43c9b8e5b1bb7dd8f3e58b..b6c28c82d8c062d46dd209b454ad8e64017464f9 100644 --- a/zh-cn/application-dev/dfx/apprecovery-guidelines.md +++ b/zh-cn/application-dev/dfx/apprecovery-guidelines.md @@ -33,7 +33,7 @@ 故障管理是应用提升用户体验的重要手段。应用程序框架为开发者提供了故障监听、故障恢复、以及故障查询三种方式来管理应用的故障。 -- 故障监听指的是通过[errorManager](../reference/apis/js-apis-application-errorManager.md)注册[ErrorObserver](../reference/apis/js-apis-application-errorManager.md#errorobserver),监听故障的发生,并通知到监听方。 +- 故障监听指的是通过[errorManager](../reference/apis/js-apis-app-ability-errorManager.md)注册[ErrorObserver](../reference/apis/js-apis-inner-application-errorObserver.md),监听故障的发生,并通知到监听方。 - 故障恢复指的是[appRecovery](../reference/apis/js-apis-app-ability-appRecovery.md),及故障发生后,将应用重启恢复到故障之前的状态。 @@ -41,8 +41,8 @@ 下图中并没有标记[faultLogger](../reference/apis/js-apis-faultLogger.md)的调用时机,开发者可以根据应用启动时传入的[LastExitReason](../reference/apis/js-apis-application-abilityConstant.md#abilityconstantlastexitreason)来决定是否调用[faultLogger](../reference/apis/js-apis-faultLogger.md)查询上次的故障信息。 ![故障处理流程示意](./figures/20221106203527.png) -这里建议应用开发者使用[errorManager](../reference/apis/js-apis-application-errorManager.md)对应用的异常进行处理,处理完成后开发者可以选择调用状态保存接口并主动重启应用。 -如果开发者没有注册[ErrorObserver](../reference/apis/js-apis-application-errorManager.md#errorobserver)也没有使能自动恢复,则按照系统的默认逻辑执行进程退出。用户可以选择从启动器再次打开应用。 +这里建议应用开发者使用[errorManager](../reference/apis/js-apis-app-ability-errorManager.md)对应用的异常进行处理,处理完成后开发者可以选择调用状态保存接口并主动重启应用。 +如果开发者没有注册[ErrorObserver](../reference/apis/js-apis-inner-application-errorObserver.md)也没有使能自动恢复,则按照系统的默认逻辑执行进程退出。用户可以选择从启动器再次打开应用。 如果开发者使能了自动恢复,框架会首先检查当前故障是否支持状态保存以及开发者是否配置了状态保存,如果支持则会回调[Ability](../reference/apis/js-apis-application-ability.md#ability)的[onSaveState](../reference/apis/js-apis-application-ability.md#abilityonsavestate)的接口。最后重启应用。 ### 应用故障管理接口支持场景 @@ -94,7 +94,7 @@ import AbilityConstant from '@ohos.app.ability.AbilityConstant' #### 主动触发保存和恢复 -- 定义和注册[ErrorObserver](../reference/apis/js-apis-application-errorManager.md#errorobserver) callback +- 定义和注册[ErrorObserver](../reference/apis/js-apis-inner-application-errorObserver.md) callback ```ts var registerId = -1; diff --git a/zh-cn/application-dev/internationalization/intl-guidelines.md b/zh-cn/application-dev/internationalization/intl-guidelines.md index f25468eff42c8db7ac25c5f119c957b36c4ef1c2..4ccc814049ea0e24ac5cf3ccfd0b6feefa35d4d5 100644 --- a/zh-cn/application-dev/internationalization/intl-guidelines.md +++ b/zh-cn/application-dev/internationalization/intl-guidelines.md @@ -111,7 +111,7 @@ let dateTimeFormat = new Intl.DateTimeFormat(); ``` - 另一种方法是使用开发者提供的Locale和格式化参数来创建日期时间格式化对象。其中,格式化参数是可选的,完整的格式化参数列表见[DateTimeOptions](../reference/apis/js-apis-intl.md#datetimeoptions)。 + 另一种方法是使用开发者提供的Locale和格式化参数来创建日期时间格式化对象。其中,格式化参数是可选的,完整的格式化参数列表见[DateTimeOptions](../reference/apis/js-apis-intl.md#datetimeoptions9)。 ```js let options = {dateStyle: "full", timeStyle: "full"}; @@ -181,7 +181,7 @@ let numberFormat = new Intl.NumberFormat(); ``` - 另一种方法是使用开发者提供的Locale和格式化参数来创建数字格式化对象。其中,格式化参数是可选的,完整的格式化参数列表参见[NumberOptions](../reference/apis/js-apis-intl.md#numberoptions)。 + 另一种方法是使用开发者提供的Locale和格式化参数来创建数字格式化对象。其中,格式化参数是可选的,完整的格式化参数列表参见[NumberOptions](../reference/apis/js-apis-intl.md#NumberOptions9)。 ```js let options = {compactDisplay: "short", notation: "compact"}; @@ -240,7 +240,7 @@ let collator = new Intl.Collator(); ``` - 另一种方法是使用开发者提供的Locale和其他相关参数来创建Collator对象,完整的参数列表参见[CollatorOptions](../reference/apis/js-apis-intl.md#collatoroptions8)。 + 另一种方法是使用开发者提供的Locale和其他相关参数来创建Collator对象,完整的参数列表参见[CollatorOptions](../reference/apis/js-apis-intl.md#collatoroptions9)。 其中,sensitivity参数用于控制哪些级别的差异会被用于比较两个字符串。取值"base"表示,仅比较字符本身,不考虑重音符号、大小写差异。例如,'a' != 'b','a' == 'á','a' == 'A'。取值"accent"表示考虑重音符号,不考虑大小写的差异。例如,'a' != 'b','a' != 'á','a' == 'A'。取值"case"表示考虑大小写的差异,不考虑重音符号的差异。例如,'a' != 'b','a' == 'á','a' != 'A'。取值"variant"表示考虑重音符号、大小写等方面差异。例如'a' != 'b','a' != 'á','a' != 'A'。 ```js @@ -301,7 +301,7 @@ let pluralRules = new Intl.PluralRules(); ``` - 另一种方法是使用开发者提供的Locale和其他相关参数来创建单复数对象。完整的参数列表参见[PluralRulesOptions](../reference/apis/js-apis-intl.md#pluralrulesoptions8)。 + 另一种方法是使用开发者提供的Locale和其他相关参数来创建单复数对象。完整的参数列表参见[PluralRulesOptions](../reference/apis/js-apis-intl.md#pluralrulesoptions9)。 ```js let pluralRules = new Intl.PluralRules("zh-CN", {localeMatcher: "best fit", type: "cardinal"}); @@ -349,7 +349,7 @@ let relativeTimeFormat = new Intl.RelativeTimeFormat(); ``` - 另一种方法是使用开发者提供的Locale和格式化参数来创建相对时间格式化对象。其中,格式化参数是可选的,完整的参数列表参见[ RelativeTimeFormatInputOptions](../reference/apis/js-apis-intl.md#relativetimeformatinputoptions8)。 + 另一种方法是使用开发者提供的Locale和格式化参数来创建相对时间格式化对象。其中,格式化参数是可选的,完整的参数列表参见[ RelativeTimeFormatInputOptions](../reference/apis/js-apis-intl.md#relativetimeformatinputoptions9)。 ```js let relativeTimeFormat = new Intl.RelativeTimeFormat("zh-CN", {numeric: "always", style: "long"}); diff --git a/zh-cn/application-dev/notification/notification-with-wantagent.md b/zh-cn/application-dev/notification/notification-with-wantagent.md index 51e2029aa0cbfc209d3f2567741e4b8a9fb4d6b6..737e7fd14460c004501ec23bd8f080be5e1b8a0f 100644 --- a/zh-cn/application-dev/notification/notification-with-wantagent.md +++ b/zh-cn/application-dev/notification/notification-with-wantagent.md @@ -6,18 +6,16 @@ WantAgent提供了封装行为意图的能力,这里所说的行为意图主 为通知添加行为意图的实现方式如下图所示:发布通知的应用向应用组件管理服务AMS(Ability Manager Service)申请WantAgent,然后随其他通知信息一起发送给桌面,当用户在桌面通知栏上点击通知时,触发WantAgent动作。 - **图1** 携带行为意图的通知运行机制 ![notification-with-wantagent](figures/notification-with-wantagent.png) ## 接口说明 -具体接口描述,详见[WantAgent接口文档](../reference/apis/js-apis-wantAgent.md#wantagent%E6%A8%A1%E5%9D%97)。 +具体接口描述,详见[WantAgent接口文档](../reference/apis/js-apis-wantAgent.md)。 -| | | -| -------- | -------- | | **接口名** | **描述** | +| -------- | -------- | | getWantAgent(info: WantAgentInfo, callback: AsyncCallback<WantAgent>): void | 创建WantAgent。 | | trigger(agent: WantAgent, triggerInfo: TriggerInfo, callback?: Callback<CompleteData>): void | 触发WantAgent意图。 | | cancel(agent: WantAgent, callback: AsyncCallback<void>): void | 取消WantAgent。 | diff --git a/zh-cn/application-dev/notification/progress-bar-notification.md b/zh-cn/application-dev/notification/progress-bar-notification.md index 732cafe7b72298248236f59ab1c43b9006dfd812..6c09173b2b7a434e64146c85c87ff3728ce0df88 100644 --- a/zh-cn/application-dev/notification/progress-bar-notification.md +++ b/zh-cn/application-dev/notification/progress-bar-notification.md @@ -3,7 +3,7 @@ 进度条通知也是常见的通知类型,主要应用于文件下载、事务处理进度显示。OpenHarmony提供了进度条模板,发布通知应用设置好进度条模板的属性值,如模板名、模板数据,通过通知子系统发送到通知栏显示。 -目前系统模板仅支持进度条模板,通知模板[NotificationTemplate](../reference/apis/js-apis-notificationManager.md#notificationtemplate)中的data参数为用户自定义数据,用于显示与模块相关的数据,效果示意如下图所示。 +目前系统模板仅支持进度条模板,通知模板[NotificationTemplate](../reference/apis/js-apis-inner-notification-notificationTemplate.md)中的data参数为用户自定义数据,用于显示与模块相关的数据,效果示意如下图所示。 ![zh-cn_image_0000001416903138](figures/zh-cn_image_0000001416903138.png) diff --git a/zh-cn/application-dev/reference/apis/Readme-CN.md b/zh-cn/application-dev/reference/apis/Readme-CN.md index 152db94759a5ed7ed71f3cc63685b57883c63371..8425f7656d5ff64ab81190592f453500856927b1 100755 --- a/zh-cn/application-dev/reference/apis/Readme-CN.md +++ b/zh-cn/application-dev/reference/apis/Readme-CN.md @@ -18,13 +18,6 @@ - [@ohos.app.form.FormExtensionAbility (FormExtensionAbility)](js-apis-app-form-formExtensionAbility.md) - [@ohos.application.DataShareExtensionAbility (数据共享扩展能力)](js-apis-application-dataShareExtensionAbility.md) - [@ohos.application.StaticSubscriberExtensionAbility (StaticSubscriberExtensionAbility)](js-apis-application-staticSubscriberExtensionAbility.md) - - Stage模型能力的接口(待停用) - - [@ohos.application.AbilityConstant (AbilityConstant)](js-apis-application-abilityConstant.md) - - [@ohos.application.AbilityStage (AbilityStage)](js-apis-application-abilityStage.md) - - [@ohos.application.EnvironmentCallback (EnvironmentCallback)](js-apis-application-environmentCallback.md) - - [@ohos.application.FormExtension (FormExtension)](js-apis-application-formExtension.md) - - [@ohos.application.ServiceExtensionAbility (ServiceExtensionAbility)](js-apis-application-serviceExtensionAbility.md) - - [@ohos.application.StartOptions (StartOptions)](js-apis-application-startOptions.md) - FA模型能力的接口 - [@ohos.ability.ability (Ability)](js-apis-ability-ability.md) - [@ohos.ability.featureAbility (FeatureAbility模块)](js-apis-ability-featureAbility.md) @@ -36,6 +29,8 @@ - [@ohos.app.ability.appRecovery (appRecovery)](js-apis-app-ability-appRecovery.md) - [@ohos.app.ability.Configuration (Configuration)](js-apis-app-ability-configuration.md) - [@ohos.app.ability.ConfigurationConstant (ConfigurationConstant)](js-apis-app-ability-configurationConstant.md) + - [@ohos.app.ability.dataUriUtils (DataUriUtils模块)](js-apis-app-ability-dataUriUtils.md) + - [@ohos.app.ability.dialogRequest (dialogRequest模块)](js-apis-app-ability-dialogRequest.md) - [@ohos.app.ability.errorManager (ErrorManager)](js-apis-app-ability-errorManager.md) - [@ohos.app.ability.missionManager (missionManager)](js-apis-app-ability-missionManager.md) - [@ohos.app.ability.quickFixManager (quickFixManager)](js-apis-app-ability-quickFixManager.md) @@ -241,12 +236,12 @@ - [@ohos.file.fileExtensionInfo (公共文件访问与管理属性信息)](js-apis-fileExtensionInfo.md) - [@ohos.file.fs (文件管理)](js-apis-file-fs.md) - [@ohos.file.hash (文件哈希处理)](js-apis-file-hash.md) + - [@ohos.file.picker (选择器)](js-apis-file-picker.md) - [@ohos.file.securityLabel (数据标签)](js-apis-file-securityLabel.md) - [@ohos.file.statvfs (文件系统空间统计)](js-apis-file-statvfs.md) - [@ohos.file.storageStatistics (应用空间统计)](js-apis-file-storage-statistics.md) - [@ohos.file.volumeManager (卷管理)](js-apis-file-volumemanager.md) - [@ohos.filemanagement.userFileManager (用户数据管理)](js-apis-userFileManager.md) - - [@ohos.multimedia.medialibrary (媒体库管理)](js-apis-medialibrary.md) - 电话服务 - [@ohos.contact (联系人)](js-apis-contact.md) @@ -261,13 +256,14 @@ - [@ohos.net.connection (网络连接管理)](js-apis-net-connection.md) - [@ohos.net.ethernet (以太网连接管理)](js-apis-net-ethernet.md) - [@ohos.net.http (数据请求)](js-apis-http.md) + - [@ohos.net.policy (网络策略管理)](js-apis-net-policy.md) - [@ohos.net.sharing (网络共享管理)](js-apis-net-sharing.md) - [@ohos.net.socket (Socket连接)](js-apis-socket.md) - [@ohos.net.webSocket (WebSocket连接)](js-apis-webSocket.md) - [@ohos.request (上传下载)](js-apis-request.md) - 通信与连接 - - [@ohos.bluetooth (蓝牙)](js-apis-bluetooth.md) + - [@ohos.bluetoothManager (蓝牙)](js-apis-bluetoothManager.md) - [@ohos.connectedTag (有源标签)](js-apis-connectedTag.md) - [@ohos.nfc.cardEmulation (标准NFC-cardEmulation)](js-apis-cardEmulation.md) - [@ohos.nfc.controller (标准NFC)](js-apis-nfcController.md) @@ -383,6 +379,7 @@ - 已停止维护的接口 - [@ohos.backgroundTaskManager (后台任务管理)](js-apis-backgroundTaskManager.md) + - [@ohos.bluetooth (蓝牙)](js-apis-bluetooth.md) - [@ohos.bundle (Bundle模块)](js-apis-Bundle.md) - [@ohos.bundle.innerBundleManager (innerBundleManager模块)](js-apis-Bundle-InnerBundleManager.md) - [@ohos.bundleState (设备使用信息统计)](js-apis-deviceUsageStatistics.md) @@ -411,6 +408,7 @@ - [@system.fetch (数据请求)](js-apis-system-fetch.md) - [@system.file (文件存储)](js-apis-system-file.md) - [@system.geolocation (地理位置)](js-apis-system-location.md) + - [@ohos.multimedia.medialibrary (媒体库管理)](js-apis-medialibrary.md) - [@system.mediaquery (媒体查询)](js-apis-system-mediaquery.md) - [@system.network (网络状态)](js-apis-system-network.md) - [@system.notification (通知消息)](js-apis-system-notification.md) diff --git a/zh-cn/application-dev/reference/apis/js-apis-ability-featureAbility.md b/zh-cn/application-dev/reference/apis/js-apis-ability-featureAbility.md index 8d12235a119f975a73fa23905411bfd115bee8fb..eed71d969771b698c751d7093c5a5697253d99d5 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-ability-featureAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-ability-featureAbility.md @@ -812,7 +812,7 @@ featureAbility.AbilityStartSetting.BOUNDS_KEY | FLAG_ABILITY_CONTINUATION_REVERSIBLE | 0x00000400 | 表示迁移是否是可反向的。 | | FLAG_INSTALL_ON_DEMAND | 0x00000800 | 表示如果未安装指定的Ability,将安装该Ability。 | | FLAG_INSTALL_WITH_BACKGROUND_MODE | 0x80000000 | 表示如果未安装指定的Ability,将在后台安装该Ability。 | -| FLAG_ABILITY_CLEAR_MISSION | 0x00008000 | 表示清除其他任务的操作。可以为传递给 **[ohos.app.Context](js-apis-ability-context.md)** 中**startAbility**方法的**Want**设置此标志,并且必须与**flag_ABILITY_NEW_MISSION**一起使用。 | +| FLAG_ABILITY_CLEAR_MISSION | 0x00008000 | 表示清除其他任务的操作。可以为传递给 **FeatureAbility** 中[startAbility](#featureabilitystartability)方法的参数对象[parameter](js-apis-inner-ability-startAbilityParameter.md)下的[Want](js-apis-application-want.md)设置此标志,并且必须与**flag_ABILITY_NEW_MISSION**一起使用。 | | FLAG_ABILITY_NEW_MISSION | 0x10000000 | 表示在已有的任务栈上创建任务的操作。 | | FLAG_ABILITY_MISSION_TOP | 0x20000000 | 表示如果启动的Ability的现有实例已位于任务栈顶,则将重用该实例。否则,将创建一个新的Ability实例。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-ability-wantConstant.md b/zh-cn/application-dev/reference/apis/js-apis-ability-wantConstant.md index c8bea07c956706ab0546173aad3078f12efb2e1e..496dd285d6bea35f8862387d841338ae8c3b15ae 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-ability-wantConstant.md +++ b/zh-cn/application-dev/reference/apis/js-apis-ability-wantConstant.md @@ -84,6 +84,6 @@ Flags说明。 | FLAG_ABILITY_CONTINUATION_REVERSIBLE | 0x00000400 | 表示迁移是可拉回的。
**系统API**: 此接口为系统接口,三方应用不支持调用。 | | FLAG_INSTALL_ON_DEMAND | 0x00000800 | 如果未安装指定的功能,请安装该功能。 | | FLAG_INSTALL_WITH_BACKGROUND_MODE | 0x80000000 | 如果未安装,使用后台模式安装该功能。 | -| FLAG_ABILITY_CLEAR_MISSION | 0x00008000 | 指示清除其他任务的操作。可以为传递给 **[ohos.app.Context](js-apis-ability-context.md)** 中**startAbility**方法的**Want**设置此标志,并且必须与**flag_ABILITY_NEW_MISSION**一起使用。 | +| FLAG_ABILITY_CLEAR_MISSION | 0x00008000 | 指示清除其他任务的操作。可以为传递给 **FeatureAbility** 中[startAbility](js-apis-ability-featureAbility.md#startability)方法的**Want**设置此标志,并且必须与**flag_ABILITY_NEW_MISSION**一起使用。 | | FLAG_ABILITY_NEW_MISSION | 0x10000000 | 指示在历史任务堆栈上创建任务的操作。 | | FLAG_ABILITY_MISSION_TOP | 0x20000000 | 指示如果启动能力的现有实例已位于任务堆栈的顶部,则将重用该实例。否则,将创建一个新的能力实例。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityConstant.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityConstant.md index 2d20bb09725bc12dbe0d3ffefb11ce05021dfe91..d34d7553e15a5f606ccd3c5a7debb8f59a968b71 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityConstant.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-abilityConstant.md @@ -23,8 +23,8 @@ import AbilityConstant from '@ohos.app.ability.AbilityConstant'; | 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| launchReason | [LaunchReason](#abilityconstantlaunchreason)| 是 | 是 | 指示启动原因。 | -| lastExitReason | [LastExitReason](#abilityconstantlastexitreason) | 是 | 是 | 表示最后退出原因。 | +| launchReason | [LaunchReason](#abilityconstantlaunchreason)| 是 | 是 | 枚举类型,表示启动原因。 | +| lastExitReason | [LastExitReason](#abilityconstantlastexitreason) | 是 | 是 | 枚举类型,表示最后退出原因。 | ## AbilityConstant.LaunchReason @@ -35,8 +35,8 @@ Ability初次启动原因,该类型为枚举,可配合[Ability](js-apis-app- | 名称 | 值 | 说明 | | ----------------------------- | ---- | ------------------------------------------------------------ | | UNKNOWN | 0 | 未知原因。 | -| START_ABILITY | 1 | 通过[startAbility](js-apis-ability-context.md#abilitycontextstartability)接口启动ability。 | -| CALL | 2 | 通过[startAbilityByCall](js-apis-ability-context.md#abilitycontextstartabilitybycall)接口启动ability。 | +| START_ABILITY | 1 | 通过[startAbility](js-apis-inner-application-uiAbilityContext.md#uiabilitycontextstartability)接口启动ability。 | +| CALL | 2 | 通过[startAbilityByCall](js-apis-inner-application-uiAbilityContext.md#uiabilitycontextstartabilitybycall)接口启动ability。 | | CONTINUATION | 3 | 跨端设备迁移启动ability。 | | APP_RECOVERY | 4 | 设置应用恢复后,应用故障时自动恢复启动ability。 | @@ -124,8 +124,8 @@ class MyAbility extends UIAbility { ```ts let want = { - bundleName: 'com.test.example', - abilityName: 'MainAbility' + bundleName: 'com.example.myapplication', + abilityName: 'EntryAbility' }; let option = { windowMode: AbilityConstant.WindowMode.WINDOW_MODE_FULLSCREEN @@ -135,7 +135,7 @@ let option = { this.context.startAbility(want, option).then(()=>{ console.log('Succeed to start ability.'); }).catch((error)=>{ - console.log('Failed to start ability with error: ' + JSON.stringify(error)); + console.error('Failed to start ability with error: ${JSON.stringify(error)}'); }); ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-common.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-common.md index 4c49b588f2ec64569323eda71fcc02520bfa7d4f..bd6bccb49048fc3cdc49075e4b22f59a9e2c784c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-common.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-common.md @@ -15,20 +15,20 @@ import common from '@ohos.app.ability.common'; **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityBase -| 名称 | 类型 | 必填 | 说明 | -| ----------- | -------------------- | ---- | ------------------------------------------------------------ | -| UIAbilityContext | [UIAbilityContext](js-apis-inner-application-uiAbilityContext.md) | 否 | UIAbilityContext二级模块。 | -| AbilityStageContext | [AbilityStageContext](js-apis-inner-application-abilityStageContext.md) | 否 | AbilityStageContext二级模块。 | -| ApplicationContext | [ApplicationContext](js-apis-inner-application-applicationContext.md) | 否 | ApplicationContext二级模块。 | -| BaseContext | [BaseContext](js-apis-inner-application-baseContext.md) | 否 | BaseContext二级模块。 | -| Context | [Context](js-apis-inner-application-context.md) | 否 | Context二级模块。 | -| ExtensionContext | [ExtensionContext](js-apis-inner-application-extensionContext.md) | 否 | ExtensionContext二级模块。 | -| FormExtensionContext | [FormExtensionContext](js-apis-inner-application-formExtensionContext.md) | 否 | FormExtensionContext二级模块。 | -| EventHub | [EventHub](js-apis-inner-application-eventHub.md) | 否 | EventHub二级模块。 | -| PermissionRequestResult | [PermissionRequestResult](js-apis-inner-application-permissionRequestResult.md) | 否 | PermissionRequestResult二级模块。 | -| PacMap | [PacMap](js-apis-inner-ability-dataAbilityHelper.md#PacMap) | 否 | PacMap二级模块。 | -| AbilityResult | [AbilityResult](js-apis-inner-ability-abilityResult.md) | 否 | AbilityResult二级模块。 | -| ConnectOptions | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | 否 | ConnectOptions二级模块。 | +| 名称 | 类型 | 说明 | +| ----------- | -------------------- | ------------------------------------------------------------ | +| UIAbilityContext | [UIAbilityContext](js-apis-inner-application-uiAbilityContext.md) | UIAbilityContext二级模块。 | +| AbilityStageContext | [AbilityStageContext](js-apis-inner-application-abilityStageContext.md) | AbilityStageContext二级模块。 | +| ApplicationContext | [ApplicationContext](js-apis-inner-application-applicationContext.md) | ApplicationContext二级模块。 | +| BaseContext | [BaseContext](js-apis-inner-application-baseContext.md) | BaseContext二级模块。 | +| Context | [Context](js-apis-inner-application-context.md) | Context二级模块。 | +| ExtensionContext | [ExtensionContext](js-apis-inner-application-extensionContext.md) | ExtensionContext二级模块。 | +| FormExtensionContext | [FormExtensionContext](js-apis-inner-application-formExtensionContext.md) | FormExtensionContext二级模块。 | +| ServiceExtensionContext | [ServiceExtensionContext](js-apis-inner-application-serviceExtensionContext.md) | ServiceExtensionContext二级模块。 | +| EventHub | [EventHub](js-apis-inner-application-eventHub.md) | EventHub二级模块。 | +| PacMap | [PacMap](js-apis-inner-ability-dataAbilityHelper.md#PacMap) | PacMap二级模块。 | +| AbilityResult | [AbilityResult](js-apis-inner-ability-abilityResult.md) | AbilityResult二级模块。 | +| ConnectOptions | [ConnectOptions](js-apis-inner-ability-connectOptions.md) | ConnectOptions二级模块。 | **示例:** ```ts @@ -42,19 +42,7 @@ let context: common.Context; let extensionContext: common.ExtensionContext; let formExtensionContext: common.FormExtensionContext; let eventHub: common.EventHub; -let permissionRequestResult: common.PermissionRequestResult; let pacMap: common.PacMap; let abilityResult: common.AbilityResult; let connectOptions: common.ConnectOptions; ``` - -## AreaMode - -访问的文件分区,每个文件分区有对应自己的内容。 - -**系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core - -| 名称 | 值 | 说明 | -| --------------- | ---- | --------------- | -| EL1 | 0 | 设备级加密区。 | -| EL2 | 1 | 用户凭据加密区。默认为EL2。 | \ No newline at end of file diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-contextConstant.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-contextConstant.md index bd26f19fd954c7efd40dac5a30afb2f86e6ff831..7e1d461c0f594cbe7fa2719e72ba855eb49a0a9c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-contextConstant.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-contextConstant.md @@ -1,6 +1,6 @@ # @ohos.app.ability.contextConstant (ContextConstant) -ContextConstant模块提供数据加密等级定义的能力。 +ContextConstant提供Context相关的枚举,当前仅包含数据加密等级的枚举。 > **说明:** > @@ -19,7 +19,7 @@ import contextConstant from '@ohos.app.ability.contextConstant'; **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.Core -| 名称 | 值 | 说明 | +| 名称 | 值 | 说明 | | -------- | -------- | -------- | -| EL1 | 0 | 设备级加密区。 | -| EL2 | 1 | 用户凭据加密区。 | +| EL1 | 0 | 设备级加密区,设备开机后可访问的数据区。 | +| EL2 | 1 | 用户级加密区,设备开机,首次输入密码后才能够访问的数据区。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-extensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-extensionAbility.md index ce4b0804fdd44bb423c57d4bf5db47095a7a8230..00f29740f754294aba76d816eb465a01c873f8a5 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-extensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-extensionAbility.md @@ -1,6 +1,6 @@ # @ohos.app.ability.ExtensionAbility (扩展能力基类) -ExtensionAbility模块提供对ExtensionAbility生命周期、上下文环境等调用管理的能力,包括ExtensionAbility创建、销毁、转储客户端信息等。 +ExtensionAbility是特定场景扩展能力的基类,提供系统配置更新回调和系统内存调整回调。。 > **说明:** > @@ -16,7 +16,7 @@ import ExtensionAbility from '@ohos.app.ability.ExtensionAbility'; **系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore **示例:** - + ```ts class MyExtensionAbility extends ExtensionAbility { onConfigurationUpdated(config) { @@ -28,3 +28,4 @@ import ExtensionAbility from '@ohos.app.ability.ExtensionAbility'; } } ``` + diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-serviceExtensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-serviceExtensionAbility.md index 6e293f30d4b68adfe449b868d1fe784759394fd8..810e624043a8f2cbdf9255ba884b232ce6d0df52 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-serviceExtensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-serviceExtensionAbility.md @@ -1,6 +1,6 @@ # @ohos.app.ability.ServiceExtensionAbility (ServiceExtensionAbility) -ServiceExtensionAbility模块提供ServiceExtension服务扩展相关接口的能力。 +ServiceExtensionAbility模块提供后台服务相关扩展能力,提供后台服务创建、销毁、连接、断开等生命周期回调。 > **说明:** > @@ -23,9 +23,9 @@ import ServiceExtension from '@ohos.app.ability.ServiceExtensionAbility'; **系统API**: 此接口为系统接口,三方应用不支持调用。 -| 名称 | 类型 | 可读 | 可写 | 说明 | +| 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| context | [ServiceExtensionContext](js-apis-inner-application-serviceExtensionContext.md) | 是 | 否 | ServiceExtension的上下文环境,继承自ExtensionContext。 | +| context | [ServiceExtensionContext](js-apis-inner-application-serviceExtensionContext.md) | 是 | 否 | ServiceExtension的上下文环境,继承自ExtensionContext。 | ## ServiceExtensionAbility.onCreate @@ -40,9 +40,9 @@ Extension生命周期回调,在创建时回调,执行初始化业务逻辑 **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | want | [Want](js-apis-app-ability-want.md) | 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| want | [Want](js-apis-app-ability-want.md) | 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | **示例:** @@ -88,10 +88,10 @@ Extension生命周期回调,如果是startAbility或者startServiceExtensionAb **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | want | [Want](js-apis-app-ability-want.md) | 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | - | startId | number | 是 | 返回拉起次数。首次拉起初始值返回1,多次之后自动递增。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| want | [Want](js-apis-app-ability-want.md) | 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | +| startId | number | 是 | 返回拉起次数。首次拉起初始值返回1,多次之后自动递增。 | **示例:** @@ -116,15 +116,15 @@ Extension生命周期回调,如果是connectAbility拉起的服务,会在onC **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | want | [Want](js-apis-app-ability-want.md)| 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| want | [Want](js-apis-app-ability-want.md)| 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | **返回值:** - | 类型 | 说明 | - | -------- | -------- | - | rpc.RemoteObject | 一个RemoteObject对象,用于和客户端进行通信。 | +| 类型 | 说明 | +| -------- | -------- | +| rpc.RemoteObject | 一个RemoteObject对象,用于和客户端进行通信。 | **示例:** @@ -158,9 +158,9 @@ Extension的生命周期,断开服务连接时回调。 **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | want |[Want](js-apis-app-ability-want.md)| 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| want |[Want](js-apis-app-ability-want.md)| 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | **示例:** @@ -184,9 +184,9 @@ onReconnect(want: Want): void; **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | want |[Want](js-apis-app-ability-want.md)| 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| want |[Want](js-apis-app-ability-want.md)| 是 | 当前Extension相关的Want类型信息,包括ability名称、bundle名称等。 | **示例:** @@ -210,9 +210,9 @@ onConfigurationUpdate(newConfig: Configuration): void; **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | newConfig | [Configuration](js-apis-app-ability-configuration.md) | 是 | 表示需要更新的配置信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| newConfig | [Configuration](js-apis-app-ability-configuration.md) | 是 | 表示需要更新的配置信息。 | **示例:** @@ -236,9 +236,9 @@ onDump(params: Array\): Array\; **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | params | Array\ | 是 | 表示命令形式的参数。| +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| params | Array\ | 是 | 表示命令形式的参数。| **示例:** diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-startOptions.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-startOptions.md index f32b859180961bcd100ed7be967738ea1455bf26..8ea09e71638fb2c82e31f9329c1bceead1d2ba13 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-startOptions.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-startOptions.md @@ -1,6 +1,6 @@ # @ohos.app.ability.StartOptions (StartOptions) -StartOptions模块对系统的基本通信组件进行查询和设置的能力。 +StartOptions可以作为[startAbility](js-apis-inner-application-uiAbilityContext.md#uiabilitycontextstartability-1)的入参,用于指定目标Ability的窗口模式。 > **说明:** > diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-ability-uiAbility.md b/zh-cn/application-dev/reference/apis/js-apis-app-ability-uiAbility.md index 091c2e49aa2485af06c2faaa9131c31eb83f1f89..b8139df9173bde05073e67ff38050d29f9f26bf0 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-ability-uiAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-ability-uiAbility.md @@ -1,11 +1,9 @@ # @ohos.app.ability.UIAbility (UIAbility) -Ability模块提供对Ability生命周期、上下文环境等调用管理的能力,包括Ability创建、销毁、转储客户端信息等。 +UIAbility是包含UI界面的应用组件,提供组件创建、销毁、前后台切换等生命周期回调,同时也具备组件协同的能力,组件协同主要提供如下常用功能: -该模块提供以下Ability相关的常用功能: - -- [Caller](#caller):通用组件Caller通信客户端调用接口, 用来向通用组件服务端发送约定数据。 -- [Callee](#callee):通用组件服务端注册和解除客户端caller通知送信的callback接口。 +- [Caller](#caller):由[startAbilityByCall](js-apis-inner-application-uiAbilityContext.md#uiabilitycontextstartabilitybycall)接口返回,CallerAbility(调用者)可使用Caller与CalleeAbility(被调用者)进行通信。 +- [Callee](#callee):UIAbility的内部对象,CalleeAbility(被调用者)可以通过Callee与Caller进行通信。 > **说明:** > @@ -22,14 +20,14 @@ import Ability from '@ohos.app.ability.UIAbility'; **系统能力**:以下各项对应的系统能力均为SystemCapability.Ability.AbilityRuntime.AbilityCore -| 名称 | 类型 | 可读 | 可写 | 说明 | +| 名称 | 类型 | 可读 | 可写 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| context | [UIAbilityContext](js-apis-inner-application-uiAbilityContext.md) | 是 | 否 | 上下文。 | -| launchWant | [Want](js-apis-app-ability-want.md) | 是 | 否 | Ability启动时的参数。 | -| lastRequestWant | [Want](js-apis-app-ability-want.md) | 是 | 否 | Ability最后请求时的参数。| -| callee | [Callee](#callee) | 是 | 否 | 调用Stub(桩)服务对象。| +| context | [UIAbilityContext](js-apis-inner-application-uiAbilityContext.md) | 是 | 否 | 上下文。 | +| launchWant | [Want](js-apis-app-ability-want.md) | 是 | 否 | UIAbility启动时的参数。 | +| lastRequestWant | [Want](js-apis-app-ability-want.md) | 是 | 否 | UIAbility最后请求时的参数。 | +| callee | [Callee](#callee) | 是 | 否 | 调用Stub(桩)服务对象。| -## Ability.onCreate +## UIAbility.onCreate onCreate(want: Want, param: AbilityConstant.LaunchParam): void; @@ -39,10 +37,10 @@ Ability创建时回调,执行初始化业务逻辑操作。 **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | want | [Want](js-apis-app-ability-want.md) | 是 | 当前Ability的Want类型信息,包括ability名称、bundle名称等。 | - | param | [AbilityConstant.LaunchParam](js-apis-app-ability-abilityConstant.md#abilityconstantlaunchparam) | 是 | 创建 ability、上次异常退出的原因信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| want | [Want](js-apis-app-ability-want.md) | 是 | 当前UIAbility的Want类型信息,包括ability名称、bundle名称等。 | +| param | [AbilityConstant.LaunchParam](js-apis-app-ability-abilityConstant.md#abilityconstantlaunchparam) | 是 | 创建UIAbility、上次异常退出的原因信息。 | **示例:** @@ -55,7 +53,7 @@ Ability创建时回调,执行初始化业务逻辑操作。 ``` -## Ability.onWindowStageCreate +## UIAbility.onWindowStageCreate onWindowStageCreate(windowStage: window.WindowStage): void @@ -65,9 +63,9 @@ onWindowStageCreate(windowStage: window.WindowStage): void **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | WindowStage相关信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | WindowStage相关信息。 | **示例:** @@ -80,7 +78,7 @@ onWindowStageCreate(windowStage: window.WindowStage): void ``` -## Ability.onWindowStageDestroy +## UIAbility.onWindowStageDestroy onWindowStageDestroy(): void @@ -99,7 +97,7 @@ onWindowStageDestroy(): void ``` -## Ability.onWindowStageRestore +## UIAbility.onWindowStageRestore onWindowStageRestore(windowStage: window.WindowStage): void @@ -109,9 +107,9 @@ onWindowStageRestore(windowStage: window.WindowStage): void **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | WindowStage相关信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| windowStage | [window.WindowStage](js-apis-window.md#windowstage9) | 是 | WindowStage相关信息。 | **示例:** @@ -124,7 +122,7 @@ onWindowStageRestore(windowStage: window.WindowStage): void ``` -## Ability.onDestroy +## UIAbility.onDestroy onDestroy(): void | Promise<void>; @@ -143,7 +141,7 @@ Ability生命周期回调,在销毁时回调,执行资源清理等操作。 ``` -## Ability.onForeground +## UIAbility.onForeground onForeground(): void; @@ -162,7 +160,7 @@ Ability生命周期回调,当应用从后台转到前台时触发。 ``` -## Ability.onBackground +## UIAbility.onBackground onBackground(): void; @@ -181,7 +179,7 @@ Ability生命周期回调,当应用从前台转到后台时触发。 ``` -## Ability.onContinue +## UIAbility.onContinue onContinue(wantParam: { [key: string]: Object }): AbilityConstant.OnContinueResult; @@ -191,15 +189,15 @@ onContinue(wantParam: { [key: string]: Object }): AbilityConstant.OnContinueResu **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | wantParam | {[key: string]: any} | 是 | want相关参数。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| wantParam | {[key: string]: any} | 是 | want相关参数。 | **返回值:** - | 类型 | 说明 | - | -------- | -------- | - | [AbilityConstant.OnContinueResult](js-apis-app-ability-abilityConstant.md#abilityconstantoncontinueresult) | 继续的结果。 | +| 类型 | 说明 | +| -------- | -------- | +| [AbilityConstant.OnContinueResult](js-apis-app-ability-abilityConstant.md#abilityconstantoncontinueresult) | 继续的结果。 | **示例:** @@ -215,7 +213,7 @@ onContinue(wantParam: { [key: string]: Object }): AbilityConstant.OnContinueResu ``` -## Ability.onNewWant +## UIAbility.onNewWant onNewWant(want: Want, launchParams: AbilityConstant.LaunchParam): void; @@ -225,10 +223,10 @@ onNewWant(want: Want, launchParams: AbilityConstant.LaunchParam): void; **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | want | [Want](js-apis-app-ability-want.md) | 是 | Want类型参数,如ability名称,包名等。 | - | launchParams | [AbilityConstant.LaunchParam](js-apis-app-ability-abilityConstant.md#abilityconstantlaunchparam) | 是 | UIAbility启动的原因、上次异常退出的原因信息。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| want | [Want](js-apis-app-ability-want.md) | 是 | Want类型参数,如ability名称,包名等。 | +| launchParams | [AbilityConstant.LaunchParam](js-apis-app-ability-abilityConstant.md#abilityconstantlaunchparam) | 是 | UIAbility启动的原因、上次异常退出的原因信息。 | **示例:** @@ -241,7 +239,7 @@ onNewWant(want: Want, launchParams: AbilityConstant.LaunchParam): void; } ``` -## Ability.onDump +## UIAbility.onDump onDump(params: Array\): Array\; @@ -251,9 +249,9 @@ onDump(params: Array\): Array\; **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | params | Array\ | 是 | 表示命令形式的参数。| +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| params | Array\ | 是 | 表示命令形式的参数。| **示例:** @@ -267,7 +265,7 @@ onDump(params: Array\): Array\; ``` -## Ability.onSaveState +## UIAbility.onSaveState onSaveState(reason: AbilityConstant.StateType, wantParam : {[key: string]: Object}): AbilityConstant.OnSaveResult; @@ -277,16 +275,16 @@ onSaveState(reason: AbilityConstant.StateType, wantParam : {[key: string]: Objec **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | reason | [AbilityConstant.StateType](js-apis-application-abilityConstant.md#abilityconstantstatetype) | 是 | 回调保存状态的原因。 | - | wantParam | {[key: string]: any} | 是 | want相关参数。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| reason | [AbilityConstant.StateType](js-apis-application-abilityConstant.md#abilityconstantstatetype) | 是 | 回调保存状态的原因。 | +| wantParam | {[key: string]: any} | 是 | want相关参数。 | **返回值:** - | 类型 | 说明 | - | -------- | -------- | - | AbilityConstant.OnSaveResult | 是否同意保存当前Ability的状态。 | +| 类型 | 说明 | +| -------- | -------- | +| AbilityConstant.OnSaveResult | 是否同意保存当前Ability的状态。 | **示例:** @@ -325,9 +323,9 @@ call(method: string, data: rpc.Parcelable): Promise<void>; **返回值:** - | 类型 | 说明 | - | -------- | -------- | - | Promise<void> | Promise形式返回应答。 | +| 类型 | 说明 | +| -------- | -------- | +| Promise<void> | Promise形式返回应答。 | **错误码:** @@ -476,7 +474,7 @@ release(): void; 主动释放通用组件服务端的通信接口。 -**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore +**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore **错误码:** @@ -523,9 +521,9 @@ release(): void; **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | callback | [OnReleaseCallback](#onreleasecallback) | 是 | 返回onRelease回调结果。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| callback | [OnReleaseCallback](#onreleasecallback) | 是 | 返回onRelease回调结果。 | **示例:** @@ -565,10 +563,10 @@ release(): void; **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | type | string | 是 | 监听releaseCall事件,固定为'release'。 | - | callback | [OnReleaseCallback](#onreleasecallback) | 是 | 返回onRelease回调结果。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| type | string | 是 | 监听releaseCall事件,固定为'release'。 | +| callback | [OnReleaseCallback](#onreleasecallback) | 是 | 返回onRelease回调结果。 | **错误码:** @@ -784,13 +782,13 @@ off(method: string): void; 解除通用组件服务端注册消息通知callback。 -**系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore +**系统能力**:SystemCapability.UIAbility.UIAbilityRuntime.UIAbilityCore **参数:** - | 参数名 | 类型 | 必填 | 说明 | - | -------- | -------- | -------- | -------- | - | method | string | 是 | 已注册的通知事件字符串。 | +| 参数名 | 类型 | 必填 | 说明 | +| -------- | -------- | -------- | -------- | +| method | string | 是 | 已注册的通知事件字符串。 | **错误码:** @@ -823,9 +821,9 @@ off(method: string): void; **系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore -| 名称 | 可读 | 可写 | 类型 | 说明 | +| 名称 | 可读 | 可写 | 类型 | 说明 | | -------- | -------- | -------- | -------- | -------- | -| (msg: string) | 是 | 否 | function | 调用者注册的侦听器函数接口的原型。 | +| (msg: string) | 是 | 否 | function | 调用者注册的侦听器函数接口的原型。 | ## CalleeCallback @@ -833,6 +831,6 @@ off(method: string): void; **系统能力**:SystemCapability.Ability.AbilityRuntime.AbilityCore -| 名称 | 可读 | 可写 | 类型 | 说明 | +| 名称 | 可读 | 可写 | 类型 | 说明 | | -------- | -------- | -------- | -------- | -------- | | (indata: [rpc.MessageSequence](js-apis-rpc.md#messagesequence9)) | 是 | 否 | [rpc.Parcelable](js-apis-rpc.md#parcelable9) | 被调用方注册的消息侦听器函数接口的原型。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-app-form-formExtensionAbility.md b/zh-cn/application-dev/reference/apis/js-apis-app-form-formExtensionAbility.md index 0ce7ae017d36acd9b7a18268178aa16a5c8e3983..d99f38fbfca047b4e800e92fad151f700af733f0 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-app-form-formExtensionAbility.md +++ b/zh-cn/application-dev/reference/apis/js-apis-app-form-formExtensionAbility.md @@ -1,6 +1,6 @@ # @ohos.app.form.FormExtensionAbility (FormExtensionAbility) -FormExtensionAbility模块提供了卡片扩展相关接口。 +FormExtensionAbility为卡片扩展模块,提供卡片创建、销毁、刷新等生命周期回调。 > **说明:** > @@ -17,9 +17,9 @@ import FormExtensionAbility from '@ohos.app.form.FormExtensionAbility'; **系统能力**:SystemCapability.Ability.Form -| 名称 | 类型 | 可读 | 可写 | 说明 | -| ------- | ------------------------------------------------------- | ---- | ---- | --------------------------------------------------- | -| context | [FormExtensionContext](js-apis-inner-application-formExtensionContext.md) | 是 | 否 | FormExtensionAbility的上下文环境,继承自ExtensionContext。 | +| 名称 | 类型 | 可读 | 可写 | 说明 | +| ------- | ------------------------------------------------------------ | ---- | ---- | ------------------------------------------------------------ | +| context | [FormExtensionContext](js-apis-inner-application-formExtensionContext.md) | 是 | 否 | FormExtensionAbility的上下文环境,继承自[ExtensionContext](js-apis-inner-application-extensionContext.md)。 | ## onAddForm diff --git a/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md b/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md index fa4599ed7a537d6f4bc802e10e0ad9777b19645c..cdc35d368ceb4980166dfe93d493129365f97ed4 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-backgroundTaskManager.md @@ -161,7 +161,7 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-application-context.md)。 | | bgMode | [BackgroundMode](#backgroundmode8) | 是 | 向系统申请的后台模式。 | | wantAgent | [WantAgent](js-apis-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击后跳转的界面。 | | callback | AsyncCallback<void> | 是 | callback形式返回启动长时任务的结果。 | @@ -253,7 +253,7 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-application-context.md)。 | | bgMode | [BackgroundMode](#backgroundmode8) | 是 | 向系统申请的后台模式。 | | wantAgent | [WantAgent](js-apis-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击跳转的界面。 | @@ -339,7 +339,7 @@ stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): vo | 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-application-context.md)。 | | callback | AsyncCallback<void> | 是 | callback形式返回启动长时任务的结果。 | **示例**: @@ -395,7 +395,7 @@ stopBackgroundRunning(context: Context): Promise<void> | 参数名 | 类型 | 必填 | 说明 | | ------- | ------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-application-context.md)。 | **返回值**: diff --git a/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md b/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md index 28ab08ee63ca43fe7e34fce781ee3ba8282241b3..12c7ff4f5e0fa234c19ac6dc05b65e5b468f94ed 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md +++ b/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md @@ -31,7 +31,7 @@ getRdbStore(context: Context, config: StoreConfig, version: number, callback: As | 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------------------------ | ---- | ------------------------------------------------------------ | -| context | Context | 是 | 应用的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-app-context.md)。 | | config | [StoreConfig](#storeconfig) | 是 | 与此RDB存储相关的数据库配置。 | | version | number | 是 | 数据库版本。
目前暂不支持通过version自动识别数据库升级降级操作,只能由开发者自行维护。 | | callback | AsyncCallback<[RdbStore](#rdbstore)> | 是 | 指定callback回调函数,返回RdbStore对象。 | @@ -92,7 +92,7 @@ getRdbStore(context: Context, config: StoreConfig, version: number): Promise< | 参数名 | 类型 | 必填 | 说明 | | ------- | --------------------------- | ---- | ------------------------------------------------------------ | -| context | Context | 是 | 应用的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-app-context.md)。 | | config | [StoreConfig](#storeconfig) | 是 | 与此RDB存储相关的数据库配置。 | | version | number | 是 | 数据库版本。
目前暂不支持通过version自动识别数据库升级降级操作,只能由开发者自行维护。 | @@ -156,7 +156,7 @@ deleteRdbStore(context: Context, name: string, callback: AsyncCallback<void&g | 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------- | ---- | ------------------------------------------------------------ | -| context | Context | 是 | 应用的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-app-context.md)。 | | name | string | 是 | 数据库名称。 | | callback | AsyncCallback<void> | 是 | 指定callback回调函数。 | @@ -214,7 +214,7 @@ deleteRdbStore(context: Context, name: string): Promise<void> | 参数名 | 类型 | 必填 | 说明 | | ------- | ------- | ---- | ------------------------------------------------------------ | -| context | Context | 是 | 应用的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-app-context.md)。 | | name | string | 是 | 数据库名称。 | **返回值**: diff --git a/zh-cn/application-dev/reference/apis/js-apis-file-fs.md b/zh-cn/application-dev/reference/apis/js-apis-file-fs.md index b762b859519ea36a068b84b13c7bbaf97a54dfdf..46e2ab7f0234a148844cf33a58cf9f396e524e23 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-file-fs.md +++ b/zh-cn/application-dev/reference/apis/js-apis-file-fs.md @@ -65,7 +65,7 @@ stat(file: string|number): Promise<Stat> **示例:** ```js - let filePath = pathDir + "test.txt"; + let filePath = pathDir + "/test.txt"; fs.stat(filePath).then((stat) => { console.info("get file info succeed, the size of file is " + stat.size); }).catch((err) => { @@ -330,8 +330,8 @@ copyFile(src: string|number, dest: string|number, mode?: number): Promise<voi **示例:** ```js - let srcPath = pathDir + "srcDir/test.txt"; - let dstPath = pathDir + "dstDir/test.txt"; + let srcPath = pathDir + "/srcDir/test.txt"; + let dstPath = pathDir + "/dstDir/test.txt"; fs.copyFile(srcPath, dstPath).then(() => { console.info("copy file succeed"); }).catch((err) => { @@ -359,8 +359,8 @@ copyFile(src: string|number, dest: string|number, mode?: number, callback: Async **示例:** ```js - let srcPath = pathDir + "srcDir/test.txt"; - let dstPath = pathDir + "dstDir/test.txt"; + let srcPath = pathDir + "/srcDir/test.txt"; + let dstPath = pathDir + "/dstDir/test.txt"; fs.copyFile(srcPath, dstPath, (err) => { if (err) { console.info("copy file failed with error message: " + err.message + ", error code: " + err.code); @@ -390,8 +390,8 @@ copyFileSync(src: string|number, dest: string|number, mode?: number): void **示例:** ```js - let srcPath = pathDir + "srcDir/test.txt"; - let dstPath = pathDir + "dstDir/test.txt"; + let srcPath = pathDir + "/srcDir/test.txt"; + let dstPath = pathDir + "/dstDir/test.txt"; fs.copyFileSync(srcPath, dstPath); ``` @@ -419,7 +419,7 @@ mkdir(path: string): Promise<void> **示例:** ```js - let dirPath = pathDir + '/testDir'; + let dirPath = pathDir + "/testDir"; fs.mkdir(dirPath).then(() => { console.info("mkdir succeed"); }).catch((err) => { @@ -446,7 +446,7 @@ mkdir(path: string, callback: AsyncCallback<void>): void **示例:** ```js - let dirPath = pathDir + '/testDir'; + let dirPath = pathDir + "/testDir"; fs.mkdir(dirPath, (err) => { if (err) { console.info("mkdir failed with error message: " + err.message + ", error code: " + err.code); @@ -474,7 +474,7 @@ mkdirSync(path: string): void **示例:** ```js - let dirPath = pathDir + '/testDir'; + let dirPath = pathDir + "/testDir"; fs.mkdirSync(dirPath); ``` @@ -698,7 +698,7 @@ rmdir(path: string): Promise<void> **示例:** ```js - let dirPath = pathDir + '/testDir'; + let dirPath = pathDir + "/testDir"; fs.rmdir(dirPath).then(() => { console.info("rmdir succeed"); }).catch((err) => { @@ -725,7 +725,7 @@ rmdir(path: string, callback: AsyncCallback<void>): void **示例:** ```js - let dirPath = pathDir + '/testDir'; + let dirPath = pathDir + "/testDir"; fs.rmdir(dirPath, (err) => { if (err) { console.info("rmdir failed with error message: " + err.message + ", error code: " + err.code); @@ -753,7 +753,7 @@ rmdirSync(path: string): void **示例:** ```js - let dirPath = pathDir + '/testDir'; + let dirPath = pathDir + "/testDir"; fs.rmdirSync(dirPath); ``` @@ -1235,7 +1235,7 @@ rename(oldPath: string, newPath: string): Promise<void> ```js let srcFile = pathDir + "/test.txt"; - let dstFile = pathDir + '/new.txt'; + let dstFile = pathDir + "/new.txt"; fs.rename(srcFile, dstFile).then(() => { console.info("rename succeed"); }).catch((err) => { @@ -1263,7 +1263,7 @@ rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): v ```js let srcFile = pathDir + "/test.txt"; - let dstFile = pathDir + '/new.txt'; + let dstFile = pathDir + "/new.txt"; fs.rename(srcFile, dstFile, (err) => { if (err) { console.info("rename failed with error message: " + err.message + ", error code: " + err.code); @@ -1292,7 +1292,7 @@ renameSync(oldPath: string, newPath: string): void ```js let srcFile = pathDir + "/test.txt"; - let dstFile = pathDir + '/new.txt'; + let dstFile = pathDir + "/new.txt"; fs.renameSync(srcFile, dstFile); ``` @@ -1498,7 +1498,7 @@ symlink(target: string, srcPath: string): Promise<void> ```js let srcFile = pathDir + "/test.txt"; - let dstFile = pathDir + '/test'; + let dstFile = pathDir + "/test"; fs.symlink(srcFile, dstFile).then(() => { console.info("symlink succeed"); }).catch((err) => { @@ -1526,7 +1526,7 @@ symlink(target: string, srcPath: string, callback: AsyncCallback<void>): v ```js let srcFile = pathDir + "/test.txt"; - let dstFile = pathDir + '/test'; + let dstFile = pathDir + "/test"; fs.symlink(srcFile, dstFile, (err) => { if (err) { console.info("symlink failed with error message: " + err.message + ", error code: " + err.code); @@ -1555,7 +1555,7 @@ symlinkSync(target: string, srcPath: string): void ```js let srcFile = pathDir + "/test.txt"; - let dstFile = pathDir + '/test'; + let dstFile = pathDir + "/test"; fs.symlinkSync(srcFile, dstFile); ``` @@ -1733,8 +1733,8 @@ moveFile(src: string, dest: string, mode?: number): Promise; **示例:** ```js - let srcPath = pathDir + '/source.txt'; - let destPath = pathDir + '/dest.txt'; + let srcPath = pathDir + "/source.txt"; + let destPath = pathDir + "/dest.txt"; fs.moveFile(srcPath, destPath, 0).then(() => { console.info("move file succeed"); }).catch((err) => { @@ -1762,8 +1762,8 @@ moveFile(src: string, dest: string, mode?: number, callback: AsyncCallback **示例:** ```js - let srcPath = pathDir + '/source.txt'; - let destPath = pathDir + '/dest.txt'; + let srcPath = pathDir + "/source.txt"; + let destPath = pathDir + "/dest.txt"; fs.moveFile(srcPath, destPath, 0, (err) => { if (err) { console.info("move file failed with error message: " + err.message + ", error code: " + err.code); @@ -1792,8 +1792,8 @@ moveFile(src: string, dest: string, mode?: number): void; **示例:** ```js - let srcPath = pathDir + '/source.txt'; - let destPath = pathDir + '/dest.txt'; + let srcPath = pathDir + "/source.txt"; + let destPath = pathDir + "/dest.txt"; fs.moveFileSync(srcPath, destPath, 0); console.info("move file succeed"); ``` diff --git a/zh-cn/application-dev/reference/apis/js-apis-fileio.md b/zh-cn/application-dev/reference/apis/js-apis-fileio.md index 92fece4af5cb285df3ad0b7878ce7a75c946f39c..ce434656c0d46ee6a0cfbdcc28aa48845184ad63 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-fileio.md +++ b/zh-cn/application-dev/reference/apis/js-apis-fileio.md @@ -2,9 +2,9 @@ 该模块提供文件存储管理能力,包括文件基本管理、文件目录管理、文件信息统计、文件流式读写等常用功能。 -> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:** +> **说明:** > 本模块首批接口从API version 6开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 -> 本模块自API 9开始废弃,建议使用[@ohos.file.fs](./js-apis-file-fs.md)替代。 +> 本模块自API 9开始废弃,建议使用[@ohos.file.fs](js-apis-file-fs.md)替代。 ## 导入模块 @@ -29,7 +29,7 @@ class MainAbility extends Ability { } ``` - Stage模型context的具体获取方法参见[Stage模型](js-apis-ability-context.md#abilitycontext)。 + Stage模型context的具体获取方法参见[Stage模型](js-apis-inner-application-uiabilitycontext.md)。 **FA模型** diff --git a/zh-cn/application-dev/reference/apis/js-apis-http.md b/zh-cn/application-dev/reference/apis/js-apis-http.md index 6f7463c1f4acb976f0f89265527f626cc05f9a17..3eada2b92b5d61165b5010f2f6c60f3d7be88974 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-http.md +++ b/zh-cn/application-dev/reference/apis/js-apis-http.md @@ -96,6 +96,9 @@ request(url: string, callback: AsyncCallback\):void 根据URL地址,发起HTTP网络请求,使用callback方式作为异步方法。 +>**说明:** +>此接口仅支持数据大小为5M以内的数据传输。 + **需要权限**:ohos.permission.INTERNET **系统能力**:SystemCapability.Communication.NetStack @@ -144,6 +147,9 @@ request(url: string, options: HttpRequestOptions, callback: AsyncCallback\**说明:** +>此接口仅支持数据大小为5M以内的数据传输。 + **需要权限**:ohos.permission.INTERNET **系统能力**:SystemCapability.Communication.NetStack @@ -227,6 +233,9 @@ request(url: string, options? : HttpRequestOptions): Promise\ 根据URL地址,发起HTTP网络请求,使用Promise方式作为异步方法。 +>**说明:** +>此接口仅支持数据大小为5M以内的数据传输。 + **需要权限**:ohos.permission.INTERNET **系统能力**:SystemCapability.Communication.NetStack @@ -530,7 +539,7 @@ on(type: 'headerReceive', callback: AsyncCallback\): void 订阅HTTP Response Header 事件。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >此接口已废弃,建议使用[on('headersReceive')8+](#onheadersreceive8)替代。 **系统能力**:SystemCapability.Communication.NetStack @@ -556,7 +565,7 @@ off(type: 'headerReceive', callback?: AsyncCallback\): void 取消订阅HTTP Response Header 事件。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** > >1. 此接口已废弃,建议使用[off('headersReceive')8+](#offheadersreceive8)替代。 > @@ -606,7 +615,7 @@ off(type: 'headersReceive', callback?: Callback\): void 取消订阅HTTP Response Header 事件。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -675,7 +684,7 @@ off(type: 'dataReceive', callback?: Callback\): void 取消订阅HTTP流式响应数据接收事件。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -722,7 +731,7 @@ off(type: 'dataEnd', callback?: Callback\): void 取消订阅HTTP流式响应数据接收完毕事件。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -769,7 +778,7 @@ off(type: 'dataProgress', callback?: Callback\<{ receiveSize: number, totalSize: 取消订阅HTTP流式响应数据接收进度事件。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack diff --git a/zh-cn/application-dev/reference/apis/js-apis-notificationSubscribe.md b/zh-cn/application-dev/reference/apis/js-apis-notificationSubscribe.md index 7dcf55b24147daf24d409057e68b7c59eb32236e..cfc61dacf914744662371b7530e785f3d0e97474 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-notificationSubscribe.md +++ b/zh-cn/application-dev/reference/apis/js-apis-notificationSubscribe.md @@ -372,7 +372,7 @@ remove(hashCode: string, reason: RemoveReason, callback: AsyncCallback\): | 参数名 | 类型 | 必填 | 说明 | | -------- | --------------------- | ---- | -------------------- | -| hashCode | string | 是 | 通知唯一ID。可以通过[onConsume](#onconsume)回调的入参[SubscribeCallbackData](js-apis-notification.md#subscribecallbackdata)获取其内部[NotificationRequest](#notificationrequest)对象中的hashCode。 | +| hashCode | string | 是 | 通知唯一ID。可以通过[onConsume](#onconsume)回调的入参[SubscribeCallbackData](js-apis-notification.md#subscribecallbackdata)获取其内部[NotificationRequest](js-apis-inner-notification-notificationRequest.md#notificationrequest)对象中的hashCode。 | | reason | [RemoveReason](#removereason) | 是 | 通知删除原因。 | | callback | AsyncCallback\ | 是 | 删除指定通知回调函数。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md b/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md index b9d826798fdd2de5aa9351200412daa06de9d1bf..94e747f0b742b1492bf7d61ee1fdfa698860224c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md +++ b/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-backgroundTaskManager.md @@ -233,7 +233,7 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-application-context.md)。 | | bgMode | [BackgroundMode](#backgroundmode) | 是 | 向系统申请的后台模式。 | | wantAgent | [WantAgent](js-apis-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击后跳转的界面。 | | callback | AsyncCallback<void> | 是 | callback形式返回启动长时任务的结果。 | @@ -311,7 +311,7 @@ startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: Want | 参数名 | 类型 | 必填 | 说明 | | --------- | ---------------------------------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-application-context.md)。 | | bgMode | [BackgroundMode](#backgroundmode) | 是 | 向系统申请的后台模式。 | | wantAgent | [WantAgent](js-apis-wantAgent.md) | 是 | 通知参数,用于指定长时任务通知点击跳转的界面。 | @@ -388,7 +388,7 @@ stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): vo | 参数名 | 类型 | 必填 | 说明 | | -------- | ------------------------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-application-context.md)。 | | callback | AsyncCallback<void> | 是 | callback形式返回启动长时任务的结果。 | **错误码**: @@ -444,7 +444,7 @@ stopBackgroundRunning(context: Context): Promise<void> | 参数名 | 类型 | 必填 | 说明 | | ------- | ------- | ---- | ---------------------------------------- | -| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-ability-context.md)。 | +| context | Context | 是 | 应用运行的上下文。
FA模型的应用Context定义见[Context](js-apis-inner-app-context.md)。
Stage模型的应用Context定义见[Context](js-apis-inner-application-context.md)。 | **返回值**: diff --git a/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md b/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md index 338d09c0e92a0feb4b64a5867b5aacff60638259..2e5cc8af91a295ee016572a9df116a1634b9f465 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md +++ b/zh-cn/application-dev/reference/apis/js-apis-resourceschedule-workScheduler.md @@ -346,6 +346,7 @@ isLastWorkTimeOut(workId: number, callback : AsyncCallback\): boolean | 9700001 | Memory operation failed. | | 9700002 | Parcel operation failed. | | 9700003 | System service operation failed. | +| 9700004 | Check workInfo failed. | **示例**: @@ -391,6 +392,7 @@ isLastWorkTimeOut(workId: number): Promise\ | 9700001 | Memory operation failed. | | 9700002 | Parcel operation failed. | | 9700003 | System service operation failed. | +| 9700004 | Check workInfo failed. | **示例**: diff --git a/zh-cn/application-dev/reference/apis/js-apis-socket.md b/zh-cn/application-dev/reference/apis/js-apis-socket.md index 3418ad2107436ef39e6ad8a2c2bb8834540de54f..532cde6b6ef44a6097fed6c0cad2feccce0635d9 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-socket.md +++ b/zh-cn/application-dev/reference/apis/js-apis-socket.md @@ -281,7 +281,7 @@ getState(callback: AsyncCallback\): void 获取UDPSocket状态。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -327,7 +327,7 @@ getState(): Promise\ 获取UDPSocket状态。使用Promise方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -366,7 +366,7 @@ setExtraOptions(options: UDPExtraOptions, callback: AsyncCallback\): void 设置UDPSocket连接的其他属性。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -420,7 +420,7 @@ setExtraOptions(options: UDPExtraOptions): Promise\ 设置UDPSocket连接的其他属性。使用Promise方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -502,7 +502,7 @@ off(type: 'message', callback?: Callback\<{message: ArrayBuffer, remoteInfo: Soc 取消订阅UDPSocket连接的接收消息事件。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -562,7 +562,7 @@ off(type: 'listening' | 'close', callback?: Callback\): void 取消订阅UDPSocket连接的数据包消息事件或关闭事件。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -626,7 +626,7 @@ off(type: 'error', callback?: ErrorCallback): void 取消订阅UDPSocket连接的error事件。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -831,7 +831,7 @@ connect(options: TCPConnectOptions, callback: AsyncCallback\): void 连接到指定的IP地址和端口。使用callback方法作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >bind方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -914,7 +914,7 @@ send(options: TCPSendOptions, callback: AsyncCallback\): void 通过TCPSocket连接发送数据。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -963,7 +963,7 @@ send(options: TCPSendOptions): Promise\ 通过TCPSocket连接发送数据。使用Promise方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1087,7 +1087,7 @@ getRemoteAddress(callback: AsyncCallback\): void 获取对端Socket地址。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1132,7 +1132,7 @@ getRemoteAddress(): Promise\ 获取对端Socket地址。使用Promise方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1176,7 +1176,7 @@ getState(callback: AsyncCallback\): void 获取TCPSocket状态。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >bind或connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1221,7 +1221,7 @@ getState(): Promise\ 获取TCPSocket状态。使用Promise方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >bind或connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1265,7 +1265,7 @@ setExtraOptions(options: TCPExtraOptions, callback: AsyncCallback\): void 设置TCPSocket连接的其他属性。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >bind或connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1321,7 +1321,7 @@ setExtraOptions(options: TCPExtraOptions): Promise\ 设置TCPSocket连接的其他属性,使用Promise方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >bind或connect方法调用成功后,才可调用此方法。 **需要权限**:ohos.permission.INTERNET @@ -1406,7 +1406,7 @@ off(type: 'message', callback?: Callback<{message: ArrayBuffer, remoteInfo: Sock 取消订阅TCPSocket连接的接收消息事件。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -1466,7 +1466,7 @@ off(type: 'connect' | 'close', callback?: Callback\): void 取消订阅TCPSocket的连接事件或关闭事件。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -1530,7 +1530,7 @@ off(type: 'error', callback?: ErrorCallback): void 取消订阅TCPSocket连接的error事件。使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack diff --git a/zh-cn/application-dev/reference/apis/js-apis-stationary.md b/zh-cn/application-dev/reference/apis/js-apis-stationary.md index 04ee61e5860902c76818753ade4c4e863d89c3d4..2ea3413e0ce3ca6d00a0f86aa13e895dd9d48b68 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-stationary.md +++ b/zh-cn/application-dev/reference/apis/js-apis-stationary.md @@ -32,7 +32,7 @@ import stationary from '@ohos.stationary' **系统能力**:SystemCapability.Msdp.DeviceStatus.Stationary -| 名称 | 描述说明 | +| 名称 | 说明 | | -------- | -------- | | still | 绝对静止。 | | relativeStill | 相对静止。 | diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md b/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md index 145c978a7b6fd508ebdc774edbbab5587a64e696..9234a74ac9faad720ed5d42bdd40c4cf0f095680 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-parameter.md @@ -5,7 +5,7 @@ [系统参数](../../../device-dev/subsystems/subsys-boot-init-sysparam.md)。 > ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:** -> - 本模块接口从API version 9开始不再维护,建议使用新接口[`@ohos.systemParameterV9`](js-apis-system-parameterV9.md)替代。 +> - 本模块接口从API version 9开始不再维护,建议使用新接口[`@ohos.systemParameterEnhance`](js-apis-system-parameterEnhance.md)替代。 > - 本模块首批接口从API version 6开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 > - 本模块接口为系统接口。 > - 由于系统参数都是各个系统服务的内部信息和控制参数,每个系统参数都有各自不同的DAC和MAC访问控制权限,三方应用不能使用此类接口。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-webSocket.md b/zh-cn/application-dev/reference/apis/js-apis-webSocket.md index 0bf162425ec749ca7a9e1d31e96e753d687cd706..44f660731b199285cc744066b702934a6513c17f 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-webSocket.md +++ b/zh-cn/application-dev/reference/apis/js-apis-webSocket.md @@ -459,7 +459,7 @@ off(type: 'open', callback?: AsyncCallback\): void 取消订阅WebSocket的打开事件,使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -490,7 +490,7 @@ on(type: 'message', callback: AsyncCallback\): void 订阅WebSocket的接收到服务器消息事件,使用callback方式作为异步方法。每个消息最大长度为4K,超过4K自动分片。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >AsyncCallback中的数据可以是字符串(API 6)或ArrayBuffer(API 8)。 **系统能力**:SystemCapability.Communication.NetStack @@ -518,7 +518,7 @@ off(type: 'message', callback?: AsyncCallback\): void 取消订阅WebSocket的接收到服务器消息事件,使用callback方式作为异步方法。每个消息最大长度为4K,超过4K自动分片。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >AsyncCallback中的数据可以是字符串(API 6)或ArrayBuffer(API 8)。 >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 @@ -570,7 +570,7 @@ off(type: 'close', callback?: AsyncCallback\<{ code: number, reason: string }\>) 取消订阅WebSocket的关闭事件,使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack @@ -621,7 +621,7 @@ off(type: 'error', callback?: ErrorCallback): void 取消订阅WebSocket的Error事件,使用callback方式作为异步方法。 ->![](public_sys-resources/icon-note.gif) **说明:** +>**说明:** >可以指定传入on中的callback取消一个订阅,也可以不指定callback清空所有订阅。 **系统能力**:SystemCapability.Communication.NetStack diff --git a/zh-cn/application-dev/reference/errorcodes/Readme-CN.md b/zh-cn/application-dev/reference/errorcodes/Readme-CN.md index a0dc6f7a964e5438bbca61bb26a0055f962e780d..0ff9625c2ba4e3e8583142f206a17f45bf390f5a 100644 --- a/zh-cn/application-dev/reference/errorcodes/Readme-CN.md +++ b/zh-cn/application-dev/reference/errorcodes/Readme-CN.md @@ -59,6 +59,7 @@ - 通信与连接 - [NFC错误码](errorcode-nfc.md) - [RPC错误码](errorcode-rpc.md) + - [蓝牙服务子系统错误码](errorcode-bluetoothManager.md) - 系统基础能力 - [无障碍子系统错误码](errorcode-accessibility.md) - [Faultlogger错误码](errorcode-faultlogger.md) diff --git a/zh-cn/application-dev/security/accesstoken-overview.md b/zh-cn/application-dev/security/accesstoken-overview.md index a712cc0a6c635c2a415c4e7b7ac9b35fb0e1ecdc..aad84e46328813bf8c93ec6eeed26ece60f2123f 100644 --- a/zh-cn/application-dev/security/accesstoken-overview.md +++ b/zh-cn/application-dev/security/accesstoken-overview.md @@ -153,7 +153,7 @@ ATM (AccessTokenManager) 是OpenHarmony上基于AccessToken构建的统一的应 - 权限申请 - 开发者需要在配置文件中[声明目标权限](accesstoken-guidelines.md#权限申请声明)。 + 开发者需要在配置文件中[声明目标权限](accesstoken-guidelines.md#配置文件权限声明)。 - 权限授权 diff --git a/zh-cn/application-dev/security/figures/permission-read_calendar.png b/zh-cn/application-dev/security/figures/permission-read_calendar.png new file mode 100644 index 0000000000000000000000000000000000000000..19b33a4fb12cd16d5c19be51b5bf903e1955fe27 Binary files /dev/null and b/zh-cn/application-dev/security/figures/permission-read_calendar.png differ diff --git a/zh-cn/application-dev/website.md b/zh-cn/application-dev/website.md index ad9fe726673795f06bd7709acc7ebd3cfde93ad9..af95fe30ac1fa2d3d688514253bb5088796f0064 100644 --- a/zh-cn/application-dev/website.md +++ b/zh-cn/application-dev/website.md @@ -5,7 +5,7 @@ - [开发准备](quick-start/start-overview.md) - [使用ArkTS语言开发(Stage模型)](quick-start/start-with-ets-stage.md) - [使用ArkTS语言开发(FA模型)](quick-start/start-with-ets-fa.md) - - [使用JS语言开发(FA模型)](quick-start/start-with-js-fa.md) + - [使用JS语言开发(FA模型)](quick-start/start-with-js-fa.md) - 开发基础知识 - 应用程序包基础知识 - [应用程序包概述](quick-start/application-package-overview.md) @@ -20,408 +20,465 @@ - [多HAP使用规则](quick-start/multi-hap-rules.md) - [多HAP运行机制及数据通信方式](quick-start/multi-hap-principles.md) - [应用程序包安装和卸载流程](quick-start/application-package-install-uninstall.md) + - [应用程序包更新流程](quick-start/application-package-update.md) + - 应用程序包快速修复 + - [快速修复概述](quick-start/quickfix-principles.md) + - [快速修复调试指导](quick-start/quickfix-debug.md) - 应用配置文件(Stage模型) - - [应用配置文件概述(Stage模型)](quick-start/application-configuration-file-overview-stage.md) - - [app.json5配置文件](quick-start/app-configuration-file.md) - - [module.json5配置文件](quick-start/module-configuration-file.md) - - 应用配置文件(FA模型) - - [应用配置文件概述(FA模型)](quick-start/application-configuration-file-overview-fa.md) - - [app对象内部结构](quick-start/app-structure.md) - - [deviceConfig内部结构](quick-start/deviceconfig-structure.md) - - [module对象内部结构](quick-start/module-structure.md) - - [资源分类与访问](quick-start/resource-categories-and-access.md) - - 学习ArkTS语言 - - [初识ArkTS语言](quick-start/arkts-get-started.md) - - ArkTS语法(声明式UI) - - [基本UI描述](quick-start/arkts-basic-ui-description.md) - - 状态管理 - - [基本概念](quick-start/arkts-state-mgmt-concepts.md) - - [页面级变量的状态管理](quick-start/arkts-state-mgmt-page-level.md) - - [应用级变量的状态管理](quick-start/arkts-state-mgmt-application-level.md) - - [动态构建UI元素](quick-start/arkts-dynamic-ui-elememt-building.md) - - [渲染控制](quick-start/arkts-rendering-control.md) - - [使用限制与扩展](quick-start/arkts-restrictions-and-extensions.md) + - [应用配置文件概述(Stage模型)](quick-start/application-configuration-file-overview-stage.md) + - [app.json5配置文件](quick-start/app-configuration-file.md) + - [module.json5配置文件](quick-start/module-configuration-file.md) + - 应用配置文件(FA模型) + - [应用配置文件概述(FA模型)](quick-start/application-configuration-file-overview-fa.md) + - [app对象内部结构](quick-start/app-structure.md) + - [deviceConfig内部结构](quick-start/deviceconfig-structure.md) + - [module对象内部结构](quick-start/module-structure.md) + - [资源分类与访问](quick-start/resource-categories-and-access.md) + - 学习ArkTS语言 + - [初识ArkTS语言](quick-start/arkts-get-started.md) + - ArkTS语法(声明式UI) + - [基本UI描述](quick-start/arkts-basic-ui-description.md) + - 状态管理 + - [基本概念](quick-start/arkts-state-mgmt-concepts.md) + - [页面级变量的状态管理](quick-start/arkts-state-mgmt-page-level.md) + - [应用级变量的状态管理](quick-start/arkts-state-mgmt-application-level.md) + - [动态构建UI元素](quick-start/arkts-dynamic-ui-elememt-building.md) + - [渲染控制](quick-start/arkts-rendering-control.md) + - [使用限制与扩展](quick-start/arkts-restrictions-and-extensions.md) - 开发 - 应用模型 - - 应用模型概述 - - [OpenHarmony应用模型的构成要素](application-models/application-model-composition.md) - - [OpenHarmony应用模型解读](application-models/application-model-description.md) - - Stage模型开发指导 - - [Stage模型开发概述](application-models/stage-model-development-overview.md) - - Stage模型应用组件 - - [应用/组件级配置](application-models/application-component-configuration-stage.md) - - UIAbility组件 - - [UIAbility组件概述](application-models/uiability-overview.md) - - [UIAbility组件生命周期](application-models/uiability-lifecycle.md) - - [UIAbility组件启动模式](application-models/uiability-launch-type.md) - - [UIAbility组件基本用法](application-models/uiability-usage.md) - - [UIAbility组件与UI的数据同步](application-models/uiability-data-sync-with-ui.md) - - [UIAbility组件间交互(设备内)](application-models/uiability-intra-device-interaction.md) - - ExtensionAbility组件 - - [ExtensionAbility组件概述](application-models/extensionability-overview.md) - - [ServiceExtensionAbility](application-models/serviceextensionability.md) - - [DataShareExtensionAbility(仅对系统应用开放)](application-models/datashareextensionability.md) - - [FormExtensionAbility(服务卡片)](application-models/widget-development-stage.md) - - [AccessibilityExtensionAbility](application-models/accessibilityextensionability.md) - - [InputMethodExtensionAbility](application-models/inputmethodextentionability.md) - - [WindowExtensionAbility](application-models/windowextensionability.md) - - [AbilityStage组件容器](application-models/abilitystage.md) - - [应用上下文Context](application-models/application-context-stage.md) - - 信息传递载体Want - - [Want概述](application-models/want-overview.md) - - [显式Want与隐式Want匹配规则](application-models/explicit-implicit-want-mappings.md) - - [常见action与entities](application-models/actions-entities.md) - - [使用显式Want启动Ability](application-models/ability-startup-with-explicit-want.md) - - [使用隐式Want打开网址](application-models/ability-startup-with-implicit-want.md) - - [应用间使用Want分享数据](application-models/data-share-via-want.md) - - [组件启动规则](application-models/component-startup-rules.md) - - 应用组件跨设备交互(流转) - - [流转概述](application-models/inter-device-interaction-hop-overview.md) - - [跨端迁移(仅对系统应用开放)](application-models/hop-cross-device-migration.md) - - [多端协同(仅对系统应用开放)](application-models/hop-multi-device-collaboration.md) - - 进程间通信 - - [进程模型](application-models/process-model-stage.md) - - 公共事件 - - [公共事件简介](application-models/common-event-overview.md) - - [公共事件订阅](application-models/common-event-subscription.md) - - [公共事件发布](application-models/common-event-publish.md) - - [公共事件取消订阅](application-models/common-event-unsubscription.md) - - [后台服务](application-models/background-services.md) - - 线程间通信 - - [线程模型](application-models/thread-model-stage.md) - - [使用Emitter进行线程间通信](application-models/itc-with-emitter.md) - - [使用Worker进行线程间通信](application-models/itc-with-worker.md) - - 后台任务管理 - - [任务管理场景介绍](application-models/mission-management-overview.md) - - [任务管理与启动模式](application-models/mission-management-launch-type.md) - - [页面栈及任务链](application-models/page-mission-stack.md) - - FA模型开发指导 - - [FA模型开发概述](application-models/fa-model-development-overview.md) - - FA模型应用组件 - - [应用/组件级配置](application-models/application-component-configuration-fa.md) - - PageAbility组件开发指导 - - [PageAbility组件概述](application-models/pageability-overview.md) - - [PageAbility组件配置](application-models/pageability-configuration.md) - - [PageAbility的生命周期](application-models/pageability-lifecycle.md) - - [PageAbility的启动模式](application-models/pageability-launch-type.md) - - [创建PageAbility](application-models/create-pageability.md) - - [启动本地PageAbility](application-models/start-local-pageability.md) - - [停止PageAbility](application-models/stop-pageability.md) - - [启动远程PageAbility(仅对系统应用开放)](application-models/start-remote-pageability.md) - - [启动指定页面](application-models/start-page.md) - - [窗口属性](application-models/window-properties.md) - - [申请授权](application-models/request-permissions.md) - - [跳转规则](application-models/redirection-rules.md) - - ServiceAbility组件开发指导 - - [ServiceAbility组件概述](application-models/serviceability-overview.md) - - [ServiceAbility组件配置](application-models/serviceability-configuration.md) - - [ServiceAbility的生命周期](application-models/serviceability-lifecycle.md) - - [创建ServiceAbility](application-models/create-serviceability.md) - - [启动ServiceAbility](application-models/start-serviceability.md) - - [连接ServiceAbility](application-models/connect-serviceability.md) - - DataAbility组件开发指导 - - [DataAbility组件概述](application-models/dataability-overview.md) - - [DataAbility组件配置](application-models/dataability-configuration.md) - - [DataAbility的生命周期](application-models/dataability-lifecycle.md) - - [创建DataAbility](application-models/create-dataability.md) - - [启动DataAbility](application-models/start-dataability.md) - - [访问DataAbility](application-models/access-dataability.md) - - [DataAbility权限控制](application-models/dataability-permission-control.md) - - [服务卡片开发指导](application-models/widget-development-fa.md) - - [FA模型的Context](application-models/application-context-fa.md) - - [信息传递载体Want](application-models/want-fa.md) - - 进程间通信 - - [进程模型](application-models/process-model-fa.md) - - [公共事件](application-models/common-event-fa.md) - - [后台服务](application-models/rpc.md) - - 线程间通信 - - [线程模型](application-models/thread-model-fa.md) - - [线程间通信](application-models/itc-fa-overview.md) - - [任务管理](application-models/mission-management-fa.md) - - FA模型与Stage模型应用组件互通指导 - - [FA模型与Stage模型应用组件互通综述](application-models/fa-stage-interaction-overview.md) - - [FA模型启动Stage模型UIAbility](application-models/start-uiability-from-fa.md) - - [FA模型绑定Stage模型ServiceExtensionAbility](application-models/bind-serviceextensionability-from-fa.md) - - [FA模型访问Stage模型DataShareExtensionAbility](application-models/access-datashareextensionability-from-fa.md) - - [Stage模型启动FA模型PageAbility](application-models/start-pageability-from-stage.md) - - [Stage模型绑定FA模型ServiceAbility](application-models/bind-serviceability-from-stage.md) - - FA模型切换Stage模型指导 - - [模型切换概述](application-models/model-switch-overview.md) - - 配置文件切换 - - [配置文件的差异](application-models/configuration-file-diff.md) - - [app和deviceConfig的切换](application-models/app-deviceconfig-switch.md) - - [module的切换](application-models/module-switch.md) - - 组件切换 - - [PageAbility切换](application-models/pageability-switch.md) - - [ServiceAbility切换](application-models/serviceability-switch.md) - - [DataAbility切换](application-models/dataability-switch.md) - - [卡片切换](application-models/widget-switch.md) - - API切换 - - [API切换概述](application-models/api-switch-overview.md) - - [Context接口切换](application-models/context-switch.md) - - [featureAbility接口切换](application-models/featureability-switch.md) - - [particleAbility接口切换](application-models/particleability-switch.md) - - [LifecycleForm接口切换](application-models/lifecycleform-switch.md) - - [LifecycleApp接口切换](application-models/lifecycleapp-switch.md) - - [LifecycleService接口切换](application-models/lifecycleservice-switch.md) - - [LifecycleData接口切换](application-models/lifecycledata-switch.md) - - [DataAbilityHelper接口切换](application-models/dataabilityhelper-switch.md) - - [mediaLibrary接口切换](application-models/medialibrary-switch.md) - - [request接口切换](application-models/request-switch.md) - - [resourceManager接口切换](application-models/resourcemanager-switch.md) - - [window接口切换](application-models/window-switch.md) - - [Storage接口切换](application-models/storage-switch.md) + - 应用模型概述 + - [OpenHarmony应用模型的构成要素](application-models/application-model-composition.md) + - [OpenHarmony应用模型解读](application-models/application-model-description.md) + - Stage模型开发指导 + - [Stage模型开发概述](application-models/stage-model-development-overview.md) + - Stage模型应用组件 + - [应用/组件级配置](application-models/application-component-configuration-stage.md) + - UIAbility组件 + - [UIAbility组件概述](application-models/uiability-overview.md) + - [UIAbility组件生命周期](application-models/uiability-lifecycle.md) + - [UIAbility组件启动模式](application-models/uiability-launch-type.md) + - [UIAbility组件基本用法](application-models/uiability-usage.md) + - [UIAbility组件与UI的数据同步](application-models/uiability-data-sync-with-ui.md) + - [UIAbility组件间交互(设备内)](application-models/uiability-intra-device-interaction.md) + - ExtensionAbility组件 + - [ExtensionAbility组件概述](application-models/extensionability-overview.md) + - [ServiceExtensionAbility](application-models/serviceextensionability.md) + - [DataShareExtensionAbility(仅对系统应用开放)](application-models/datashareextensionability.md) + - [FormExtensionAbility(服务卡片)](application-models/widget-development-stage.md) + - [AccessibilityExtensionAbility](application-models/accessibilityextensionability.md) + - [EnterpriseAdminExtensionAbility](application-models/enterprise-extensionAbility.md) + - [InputMethodExtensionAbility](application-models/inputmethodextentionability.md) + - [WindowExtensionAbility](application-models/windowextensionability.md) + - [AbilityStage组件容器](application-models/abilitystage.md) + - [应用上下文Context](application-models/application-context-stage.md) + - 信息传递载体Want + - [Want概述](application-models/want-overview.md) + - [显式Want与隐式Want匹配规则](application-models/explicit-implicit-want-mappings.md) + - [常见action与entities](application-models/actions-entities.md) + - [使用显式Want启动Ability](application-models/ability-startup-with-explicit-want.md) + - [使用隐式Want打开网址](application-models/ability-startup-with-implicit-want.md) + - [应用间使用Want分享数据](application-models/data-share-via-want.md) + - [组件启动规则(Stage模型)](application-models/component-startup-rules.md) + - 应用组件跨设备交互(流转) + - [流转概述](application-models/inter-device-interaction-hop-overview.md) + - [跨端迁移(仅对系统应用开放)](application-models/hop-cross-device-migration.md) + - [多端协同(仅对系统应用开放)](application-models/hop-multi-device-collaboration.md) + - 进程间通信 + - [进程模型](application-models/process-model-stage.md) + - 公共事件 + - [公共事件简介](application-models/common-event-overview.md) + - 公共事件订阅 + - [公共事件订阅概述](application-models/common-event-subscription-overview.md) + - [动态订阅公共事件](application-models/common-event-subscription.md) + - [静态订阅公共事件(仅对系统应用开放)](application-models/common-event-static-subscription.md) + - [取消动态订阅公共事件](application-models/common-event-unsubscription.md) + - [公共事件发布](application-models/common-event-publish.md) + - [后台服务](application-models/background-services.md) + - 线程间通信 + - [线程模型](application-models/thread-model-stage.md) + - [使用Emitter进行线程间通信](application-models/itc-with-emitter.md) + - [使用Worker进行线程间通信](application-models/itc-with-worker.md) + - 任务管理 + - [任务管理场景介绍](application-models/mission-management-overview.md) + - [任务管理与启动模式](application-models/mission-management-launch-type.md) + - [页面栈及任务链](application-models/page-mission-stack.md) + - FA模型开发指导 + - [FA模型开发概述](application-models/fa-model-development-overview.md) + - FA模型应用组件 + - [应用/组件级配置](application-models/application-component-configuration-fa.md) + - PageAbility组件开发指导 + - [PageAbility组件概述](application-models/pageability-overview.md) + - [PageAbility组件配置](application-models/pageability-configuration.md) + - [PageAbility的生命周期](application-models/pageability-lifecycle.md) + - [PageAbility的启动模式](application-models/pageability-launch-type.md) + - [创建PageAbility](application-models/create-pageability.md) + - [启动本地PageAbility](application-models/start-local-pageability.md) + - [停止PageAbility](application-models/stop-pageability.md) + - [启动远程PageAbility(仅对系统应用开放)](application-models/start-remote-pageability.md) + - [启动指定页面](application-models/start-page.md) + - [窗口属性](application-models/window-properties.md) + - [申请授权](application-models/request-permissions.md) + - [跳转规则](application-models/redirection-rules.md) + - ServiceAbility组件开发指导 + - [ServiceAbility组件概述](application-models/serviceability-overview.md) + - [ServiceAbility组件配置](application-models/serviceability-configuration.md) + - [ServiceAbility的生命周期](application-models/serviceability-lifecycle.md) + - [创建ServiceAbility](application-models/create-serviceability.md) + - [启动ServiceAbility](application-models/start-serviceability.md) + - [连接ServiceAbility](application-models/connect-serviceability.md) + - DataAbility组件开发指导 + - [DataAbility组件概述](application-models/dataability-overview.md) + - [DataAbility组件配置](application-models/dataability-configuration.md) + - [DataAbility的生命周期](application-models/dataability-lifecycle.md) + - [创建DataAbility](application-models/create-dataability.md) + - [启动DataAbility](application-models/start-dataability.md) + - [访问DataAbility](application-models/access-dataability.md) + - [DataAbility权限控制](application-models/dataability-permission-control.md) + - [服务卡片开发指导](application-models/widget-development-fa.md) + - [FA模型的Context](application-models/application-context-fa.md) + - [信息传递载体Want](application-models/want-fa.md) + - [组件启动规则(FA模型)](application-models/component-startup-rules-fa.md) + - 进程间通信 + - [进程模型](application-models/process-model-fa.md) + - [公共事件](application-models/common-event-fa.md) + - [后台服务](application-models/rpc.md) + - 线程间通信 + - [线程模型](application-models/thread-model-fa.md) + - [线程间通信](application-models/itc-fa-overview.md) + - [任务管理](application-models/mission-management-fa.md) + - FA模型与Stage模型应用组件互通指导 + - [FA模型与Stage模型应用组件互通综述](application-models/fa-stage-interaction-overview.md) + - [FA模型启动Stage模型UIAbility](application-models/start-uiability-from-fa.md) + - [FA模型绑定Stage模型ServiceExtensionAbility](application-models/bind-serviceextensionability-from-fa.md) + - [FA模型访问Stage模型DataShareExtensionAbility](application-models/access-datashareextensionability-from-fa.md) + - [Stage模型启动FA模型PageAbility](application-models/start-pageability-from-stage.md) + - [Stage模型绑定FA模型ServiceAbility](application-models/bind-serviceability-from-stage.md) + - FA模型切换Stage模型指导 + - [模型切换概述](application-models/model-switch-overview.md) + - 配置文件切换 + - [配置文件的差异](application-models/configuration-file-diff.md) + - [app和deviceConfig的切换](application-models/app-deviceconfig-switch.md) + - [module的切换](application-models/module-switch.md) + - 组件切换 + - [PageAbility切换](application-models/pageability-switch.md) + - [ServiceAbility切换](application-models/serviceability-switch.md) + - [DataAbility切换](application-models/dataability-switch.md) + - [卡片切换](application-models/widget-switch.md) + - API切换 + - [API切换概述](application-models/api-switch-overview.md) + - [Context接口切换](application-models/context-switch.md) + - [featureAbility接口切换](application-models/featureability-switch.md) + - [particleAbility接口切换](application-models/particleability-switch.md) + - [LifecycleForm接口切换](application-models/lifecycleform-switch.md) + - [LifecycleApp接口切换](application-models/lifecycleapp-switch.md) + - [LifecycleService接口切换](application-models/lifecycleservice-switch.md) + - [LifecycleData接口切换](application-models/lifecycledata-switch.md) + - [DataAbilityHelper接口切换](application-models/dataabilityhelper-switch.md) + - [mediaLibrary接口切换](application-models/medialibrary-switch.md) + - [request接口切换](application-models/request-switch.md) + - [resourceManager接口切换](application-models/resourcemanager-switch.md) + - [window接口切换](application-models/window-switch.md) + - [Storage接口切换](application-models/storage-switch.md) - UI开发 - - [方舟开发框架(ArkUI)概述](ui/arkui-overview.md) - - 基于ArkTS的声明式开发范式 - - [概述](ui/ui-ts-overview.md) - - [声明式UI开发指导](ui/ui-ts-developing-intro.md) - - 声明式UI开发实例 - - [创建简单视图](ui/ui-ts-creating-simple-page.md) - - 构建完整实例 - - [构建食物数据模型](ui/ui-ts-building-data-model.md) - - [构建食物列表List布局](ui/ui-ts-building-category-list-layout.md) - - [构建食物分类Grid布局](ui/ui-ts-building-category-grid-layout.md) - - [页面跳转与数据传递](ui/ui-ts-page-redirection-data-transmission.md) - - 添加闪屏动画 - - [绘制图像](ui/ui-ts-drawing-feature.md) - - [添加动画效果](ui/ui-ts-animation-feature.md) - - [常用组件说明](ui/ui-ts-components-intro.md) - - 常见布局开发指导 - - 自适应布局 - - [线性布局](ui/ui-ts-layout-linear.md) - - [层叠布局](ui/ui-ts-layout-stack.md) - - [弹性布局](ui/ui-ts-layout-flex.md) - - [网格布局](ui/ui-ts-layout-grid.md) - - 响应式布局 - - [栅格布局](ui/ui-ts-layout-grid-container-new.md) - - [媒体查询](ui/ui-ts-layout-mediaquery.md) - - [自定义组件的生命周期](ui/ui-ts-custom-component-lifecycle-callbacks.md) - - [Web组件开发指导](ui/ui-ts-components-web.md) - - [性能提升的推荐方法](ui/ui-ts-performance-improvement-recommendation.md) - - 兼容JS的类Web开发范式 - - [概述](ui/ui-js-overview.md) - - 框架说明 - - [文件组织](ui/js-framework-file.md) - - [js标签配置](ui/js-framework-js-tag.md) - - [app.js](ui/js-framework-js-file.md) - - 语法 - - [HML语法参考](ui/js-framework-syntax-hml.md) - - [CSS语法参考](ui/js-framework-syntax-css.md) - - [JS语法参考](ui/js-framework-syntax-js.md) - - [生命周期](ui/js-framework-lifecycle.md) - - [资源限定与访问](ui/js-framework-resource-restriction.md) - - [多语言支持](ui/js-framework-multiple-languages.md) - - 构建用户界面 - - [组件介绍](ui/ui-js-building-ui-component.md) - - 构建布局 - - [布局说明](ui/ui-js-building-ui-layout-intro.md) - - [添加标题行和文本区域](ui/ui-js-building-ui-layout-text.md) - - [添加图片区域](ui/ui-js-building-ui-layout-image.md) - - [添加留言区域](ui/ui-js-building-ui-layout-comment.md) - - [添加容器](ui/ui-js-building-ui-layout-external-container.md) - - [添加交互](ui/ui-js-building-ui-interactions.md) - - [动画](ui/ui-js-building-ui-animation.md) - - [手势事件](ui/ui-js-building-ui-event.md) - - [页面路由](ui/ui-js-building-ui-routes.md) - - 常见组件开发指导 - - 容器组件 - - [List开发指导](ui/ui-js-components-list.md) - - [Dialog开发指导](ui/ui-js-components-dialog.md) - - [Form开发指导](ui/ui-js-components-form.md) - - [Stepper开发指导](ui/ui-js-components-stepper.md) - - [Tabs开发指导](ui/ui-js-component-tabs.md) - - [Swiper开发指导](ui/ui-js-components-swiper.md) - - 基础组件 - - [Text开发指导](ui/ui-js-components-text.md) - - [Input开发指导](ui/ui-js-components-input.md) - - [Button开发指导](ui/ui-js-components-button.md) - - [Picker开发指导](ui/ui-js-components-picker.md) - - [Image开发指导](ui/ui-js-components-images.md) - - [Image-animator开发指导](ui/ui-js-components-image-animator.md) - - [Rating开发指导](ui/ui-js-components-rating.md) - - [Slider开发指导](ui/ui-js-components-slider.md) - - [Chart开发指导](ui/ui-js-components-chart.md) - - [Switch开发指导](ui/ui-js-components-switch.md) - - [Toolbar开发指导](ui/ui-js-components-toolbar.md) - - [Menu开发指导](ui/ui-js-components-menu.md) - - [Marquee开发指导](ui/ui-js-components-marquee.md) - - [Qrcode开发指导](ui/ui-js-components-qrcode.md) - - [Search开发指导](ui/ui-js-components-search.md) - - Canvas开发指导 - - [Canvas对象](ui/ui-js-components-canvas.md) - - [CanvasRenderingContext2D对象](ui/ui-js-components-canvasrenderingcontext2d.md) - - [Path2D对象](ui/ui-js-components-path2d.md) - - [OffscreenCanvas对象](ui/ui-js-components-offscreencanvas.md) - - [栅格布局](ui/ui-js-components-grid.md) - - Svg开发指导 - - [基础知识](ui/ui-js-components-svg-overview.md) - - [绘制图形](ui/ui-js-components-svg-graphics.md) - - [绘制路径](ui/ui-js-components-svg-path.md) - - [绘制文本](ui/ui-js-components-svg-text.md) - - 动效开发指导 - - CSS动画 - - [属性样式动画](ui/ui-js-animate-attribute-style.md) - - [transform样式动画](ui/ui-js-animate-transform.md) - - [background-position样式动画](ui/ui-js-animate-background-position-style.md) - - [svg动画](ui/ui-js-animate-svg.md) - - JS动画 - - [组件动画](ui/ui-js-animate-component.md) - - 插值器动画 - - [动画动效](ui/ui-js-animate-dynamic-effects.md) - - [动画帧](ui/ui-js-animate-frame.md) - - [自定义组件](ui/ui-js-custom-components.md) + - [方舟开发框架(ArkUI)概述](ui/arkui-overview.md) + - 基于ArkTS的声明式开发范式 + - [概述](ui/ui-ts-overview.md) + - [声明式UI开发指导](ui/ui-ts-developing-intro.md) + - 声明式UI开发实例 + - [创建简单视图](ui/ui-ts-creating-simple-page.md) + - 构建完整实例 + - [构建食物数据模型](ui/ui-ts-building-data-model.md) + - [构建食物列表List布局](ui/ui-ts-building-category-list-layout.md) + - [构建食物分类Grid布局](ui/ui-ts-building-category-grid-layout.md) + - [页面跳转与数据传递](ui/ui-ts-page-redirection-data-transmission.md) + - 添加闪屏动画 + - [绘制图像](ui/ui-ts-drawing-feature.md) + - [添加动画效果](ui/ui-ts-animation-feature.md) + - [常用组件说明](ui/ui-ts-components-intro.md) + - 常见布局开发指导 + - 自适应布局 + - [线性布局](ui/ui-ts-layout-linear.md) + - [层叠布局](ui/ui-ts-layout-stack.md) + - [弹性布局](ui/ui-ts-layout-flex.md) + - [网格布局](ui/ui-ts-layout-grid.md) + - 响应式布局 + - [栅格布局](ui/ui-ts-layout-grid-container-new.md) + - [媒体查询](ui/ui-ts-layout-mediaquery.md) + - [自定义组件的生命周期](ui/ui-ts-custom-component-lifecycle-callbacks.md) + - [Web组件开发指导](ui/ui-ts-components-web.md) + - [性能提升的推荐方法](ui/ui-ts-performance-improvement-recommendation.md) + - 兼容JS的类Web开发范式 + - [概述](ui/ui-js-overview.md) + - 框架说明 + - [文件组织](ui/js-framework-file.md) + - [js标签配置](ui/js-framework-js-tag.md) + - [app.js](ui/js-framework-js-file.md) + - 语法 + - [HML语法参考](ui/js-framework-syntax-hml.md) + - [CSS语法参考](ui/js-framework-syntax-css.md) + - [JS语法参考](ui/js-framework-syntax-js.md) + - [生命周期](ui/js-framework-lifecycle.md) + - [资源限定与访问](ui/js-framework-resource-restriction.md) + - [多语言支持](ui/js-framework-multiple-languages.md) + - 构建用户界面 + - [组件介绍](ui/ui-js-building-ui-component.md) + - 构建布局 + - [布局说明](ui/ui-js-building-ui-layout-intro.md) + - [添加标题行和文本区域](ui/ui-js-building-ui-layout-text.md) + - [添加图片区域](ui/ui-js-building-ui-layout-image.md) + - [添加留言区域](ui/ui-js-building-ui-layout-comment.md) + - [添加容器](ui/ui-js-building-ui-layout-external-container.md) + - [添加交互](ui/ui-js-building-ui-interactions.md) + - [动画](ui/ui-js-building-ui-animation.md) + - [手势事件](ui/ui-js-building-ui-event.md) + - [页面路由](ui/ui-js-building-ui-routes.md) + - 常见组件开发指导 + - 容器组件 + - [List开发指导](ui/ui-js-components-list.md) + - [Dialog开发指导](ui/ui-js-components-dialog.md) + - [Form开发指导](ui/ui-js-components-form.md) + - [Stepper开发指导](ui/ui-js-components-stepper.md) + - [Tabs开发指导](ui/ui-js-component-tabs.md) + - [Swiper开发指导](ui/ui-js-components-swiper.md) + - 基础组件 + - [Text开发指导](ui/ui-js-components-text.md) + - [Input开发指导](ui/ui-js-components-input.md) + - [Button开发指导](ui/ui-js-components-button.md) + - [Picker开发指导](ui/ui-js-components-picker.md) + - [Image开发指导](ui/ui-js-components-images.md) + - [Image-animator开发指导](ui/ui-js-components-image-animator.md) + - [Rating开发指导](ui/ui-js-components-rating.md) + - [Slider开发指导](ui/ui-js-components-slider.md) + - [Chart开发指导](ui/ui-js-components-chart.md) + - [Switch开发指导](ui/ui-js-components-switch.md) + - [Toolbar开发指导](ui/ui-js-components-toolbar.md) + - [Menu开发指导](ui/ui-js-components-menu.md) + - [Marquee开发指导](ui/ui-js-components-marquee.md) + - [Qrcode开发指导](ui/ui-js-components-qrcode.md) + - [Search开发指导](ui/ui-js-components-search.md) + - Canvas开发指导 + - [Canvas对象](ui/ui-js-components-canvas.md) + - [CanvasRenderingContext2D对象](ui/ui-js-components-canvasrenderingcontext2d.md) + - [Path2D对象](ui/ui-js-components-path2d.md) + - [OffscreenCanvas对象](ui/ui-js-components-offscreencanvas.md) + - [栅格布局](ui/ui-js-components-grid.md) + - Svg开发指导 + - [基础知识](ui/ui-js-components-svg-overview.md) + - [绘制图形](ui/ui-js-components-svg-graphics.md) + - [绘制路径](ui/ui-js-components-svg-path.md) + - [绘制文本](ui/ui-js-components-svg-text.md) + - 动效开发指导 + - CSS动画 + - [属性样式动画](ui/ui-js-animate-attribute-style.md) + - [transform样式动画](ui/ui-js-animate-transform.md) + - [background-position样式动画](ui/ui-js-animate-background-position-style.md) + - [svg动画](ui/ui-js-animate-svg.md) + - JS动画 + - [组件动画](ui/ui-js-animate-component.md) + - 插值器动画 + - [动画动效](ui/ui-js-animate-dynamic-effects.md) + - [动画帧](ui/ui-js-animate-frame.md) + - [自定义组件](ui/ui-js-custom-components.md) - 通知 - - [通知概述](notification/notification-overview.md) - - [订阅通知(仅对系统应用开放)](notification/notification-subscription.md) - - [使能通知开关](notification/notification-enable.md) - - 发布通知 - - [发布基础类型通知](notification/text-notification.md) - - [发布进度条类型通知](notification/progress-bar-notification.md) - - [为通知添加行为意图](notification/notification-with-wantagent.md) + - [通知概述](notification/notification-overview.md) + - [订阅通知(仅对系统应用开放)](notification/notification-subscription.md) + - [使能通知开关](notification/notification-enable.md) + - 发布通知 + - [发布基础类型通知](notification/text-notification.md) + - [发布进度条类型通知](notification/progress-bar-notification.md) + - [为通知添加行为意图](notification/notification-with-wantagent.md) - 窗口管理 - - [窗口开发概述](windowmanager/window-overview.md) - - [管理应用窗口(Stage模型)](windowmanager/application-window-stage.md) - - [管理应用窗口(FA模型)](windowmanager/application-window-fa.md) - - [管理系统窗口(仅Stage模型支持)](windowmanager/system-window-stage.md) + - [窗口开发概述](windowmanager/window-overview.md) + - [管理应用窗口(Stage模型)](windowmanager/application-window-stage.md) + - [管理应用窗口(FA模型)](windowmanager/application-window-fa.md) + - [管理系统窗口(仅Stage模型支持)](windowmanager/system-window-stage.md) - WebGL - - [WebGL开发概述](webgl/webgl-overview.md) - - [WebGL开发指导](webgl/webgl-guidelines.md) + - [WebGL开发概述](webgl/webgl-overview.md) + - [WebGL开发指导](webgl/webgl-guidelines.md) - 媒体 - - 音视频 - - [音频开发概述](media/audio-overview.md) - - [音频渲染开发指导](media/audio-renderer.md) - - [音频流管理开发指导](media/audio-stream-manager.md) - - [音频采集开发指导](media/audio-capturer.md) - - [OpenSL ES播放开发指导](media/opensles-playback.md) - - [OpenSL ES录音开发指导](media/opensles-capture.md) - - [音频焦点模式开发指导](media/audio-interruptmode.md) - - [音量管理开发指导](media/audio-volume-manager.md) - - [路由、设备管理开发指导](media/audio-routing-manager.md) - - [音视频播放器开发指导(推荐使用)](media/avplayer-playback.md) - - [音视频录制开发指导(推荐使用)](media/avrecorder.md) - - [音频播放开发指导(待停用)](media/audio-playback.md) - - [音频录制开发指导(待停用)](media/audio-recorder.md) - - [视频播放开发指导(待停用)](media/video-playback.md) - - [视频录制开发指导(待停用)](media/video-recorder.md) - - 媒体会话 - - [AVSession开发概述](media/avsession-overview.md) - - [AVSession开发指导](media/avsession-guidelines.md) - - 图片 - - [图片开发指导](media/image.md) - - 相机 - - [相机开发指导](media/camera.md) - - [分布式相机开发指导](media/remote-camera.md) + - 音视频 + - [音频开发概述](media/audio-overview.md) + - [音频渲染开发指导](media/audio-renderer.md) + - [音频流管理开发指导](media/audio-stream-manager.md) + - [音频采集开发指导](media/audio-capturer.md) + - [OpenSL ES播放开发指导](media/opensles-playback.md) + - [OpenSL ES录音开发指导](media/opensles-capture.md) + - [音频焦点模式开发指导](media/audio-interruptmode.md) + - [音量管理开发指导](media/audio-volume-manager.md) + - [路由、设备管理开发指导](media/audio-routing-manager.md) + - [音视频播放器开发指导(推荐使用)](media/avplayer-playback.md) + - [音视频录制开发指导(推荐使用)](media/avrecorder.md) + - [音频播放开发指导(待停用)](media/audio-playback.md) + - [音频录制开发指导(待停用)](media/audio-recorder.md) + - [视频播放开发指导(待停用)](media/video-playback.md) + - [视频录制开发指导(待停用)](media/video-recorder.md) + - 媒体会话 + - [AVSession开发概述](media/avsession-overview.md) + - [AVSession开发指导](media/avsession-guidelines.md) + - 图片 + - [图片开发指导](media/image.md) + - 相机 + - [相机开发指导](media/camera.md) + - [分布式相机开发指导](media/remote-camera.md) - 安全 - - 访问控制 - - [访问控制(权限)开发概述](security/accesstoken-overview.md) - - [访问控制授权申请指导](security/accesstoken-guidelines.md) - - [访问控制权限校验指导](security/permission-verify-guidelines.md) - - [应用权限列表](security/permission-list.md) - - 用户认证 - - [用户认证开发概述](security/userauth-overview.md) - - [用户认证开发指导](security/userauth-guidelines.md) - - 密钥管理 - - [HUKS开发概述](security/huks-overview.md) - - [HUKS开发指导](security/huks-guidelines.md) - - 加解密算法库框架 - - [加解密算法库框架概述](security/cryptoFramework-overview.md) - - [加解密算法框架开发指导](security/cryptoFramework-guidelines.md) - - 证书 - - [证书概述](security/cert-overview.md) - - [证书开发指导](security/cert-guidelines.md) - - Hap包签名工具 - - [Hap包签名工具概述](security/hapsigntool-overview.md) - - [Hap包签名工具指导](security/hapsigntool-guidelines.md) - - [HarmonyAppProvision配置文件](security/app-provision-structure.md) + - 访问控制 + - [访问控制(权限)开发概述](security/accesstoken-overview.md) + - [访问控制授权申请指导](security/accesstoken-guidelines.md) + - [访问控制权限校验指导](security/permission-verify-guidelines.md) + - [应用权限列表](security/permission-list.md) + - 用户认证 + - [用户认证开发概述](security/userauth-overview.md) + - [用户认证开发指导](security/userauth-guidelines.md) + - 密钥管理 + - [HUKS开发概述](security/huks-overview.md) + - [HUKS开发指导](security/huks-guidelines.md) + - 加解密算法库框架 + - [加解密算法库框架概述](security/cryptoFramework-overview.md) + - [加解密算法框架开发指导](security/cryptoFramework-guidelines.md) + - 证书 + - [证书概述](security/cert-overview.md) + - [证书开发指导](security/cert-guidelines.md) + - Hap包签名工具 + - [Hap包签名工具概述](security/hapsigntool-overview.md) + - [Hap包签名工具指导](security/hapsigntool-guidelines.md) + - [HarmonyAppProvision配置文件](security/app-provision-structure.md) - 网络与连接 - - 网络管理 - - [网络管理开发概述](connectivity/net-mgmt-overview.md) - - [HTTP数据请求](connectivity/http-request.md) - - [WebSocket连接](connectivity/websocket-connection.md) - - [Socket连接](connectivity/socket-connection.md) - - IPC与RPC通信 - - [IPC与RPC通信概述](connectivity/ipc-rpc-overview.md) - - [IPC与RPC通信开发指导](connectivity/ipc-rpc-development-guideline.md) - - [远端状态订阅开发实例](connectivity/subscribe-remote-state.md) + - 网络管理 + - [网络管理开发概述](connectivity/net-mgmt-overview.md) + - [HTTP数据请求](connectivity/http-request.md) + - [WebSocket连接](connectivity/websocket-connection.md) + - [Socket连接](connectivity/socket-connection.md) + - [网络共享](connectivity/net-sharing.md) + - IPC与RPC通信 + - [IPC与RPC通信概述](connectivity/ipc-rpc-overview.md) + - [IPC与RPC通信开发指导](connectivity/ipc-rpc-development-guideline.md) + - [远端状态订阅开发实例](connectivity/subscribe-remote-state.md) - 电话服务 - - [电话服务开发概述](telephony/telephony-overview.md) - - [跳转拨号界面](telephony/jumping-to-the-dial-screen.md) - - [获取当前蜂窝网络信号信息](telephony/cellular-network-signal-info.md) + - [电话服务开发概述](telephony/telephony-overview.md) + - [跳转拨号界面](telephony/jumping-to-the-dial-screen.md) + - [获取当前蜂窝网络信号信息](telephony/cellular-network-signal-info.md) - 数据管理 - - 分布式数据服务 - - [分布式数据服务概述](database/database-mdds-overview.md) - - [分布式数据服务开发指导](database/database-mdds-guidelines.md) - - 关系型数据库 - - [关系型数据库概述](database/database-relational-overview.md) - - [关系型数据库开发指导](database/database-relational-guidelines.md) - - 首选项 - - [首选项概述](database/database-preference-overview.md) - - [首选项开发指导](database/database-preference-guidelines.md) - - 分布式数据对象 - - [分布式数据对象概述](database/database-distributedobject-overview.md) - - [分布式数据对象开发指导](database/database-distributedobject-guidelines.md) - - 数据共享 - - [数据共享概述](database/database-datashare-overview.md) - - [数据共享开发指导](database/database-datashare-guidelines.md) + - 分布式数据服务 + - [分布式数据服务概述](database/database-mdds-overview.md) + - [分布式数据服务开发指导](database/database-mdds-guidelines.md) + - 关系型数据库 + - [关系型数据库概述](database/database-relational-overview.md) + - [关系型数据库开发指导](database/database-relational-guidelines.md) + - 首选项 + - [首选项概述](database/database-preference-overview.md) + - [首选项开发指导](database/database-preference-guidelines.md) + - 分布式数据对象 + - [分布式数据对象概述](database/database-distributedobject-overview.md) + - [分布式数据对象开发指导](database/database-distributedobject-guidelines.md) + - 数据共享 + - [数据共享概述](database/database-datashare-overview.md) + - [数据共享开发指导](database/database-datashare-guidelines.md) - 文件管理 - - 媒体库管理 - - [媒体库开发概述](file-management/medialibrary-overview.md) - - [媒体资源使用指导](file-management/medialibrary-resource-guidelines.md) - - [文件路径使用指导](file-management/medialibrary-filepath-guidelines.md) - - [相册资源使用指导](file-management/medialibrary-album-guidelines.md) - - 文件访问框架 - - [用户公共文件访问框架概述](file-management/file-access-framework-overview.md) - - [文件选择器使用指导](file-management/filepicker-guidelines.md) + - 媒体库管理 + - [媒体库开发概述](file-management/medialibrary-overview.md) + - [媒体资源使用指导](file-management/medialibrary-resource-guidelines.md) + - [文件路径使用指导](file-management/medialibrary-filepath-guidelines.md) + - [相册资源使用指导](file-management/medialibrary-album-guidelines.md) + - 文件访问框架 + - [用户公共文件访问框架概述](file-management/file-access-framework-overview.md) + - [文件选择器使用指导](file-management/filepicker-guidelines.md) - 任务管理 - - 后台任务 - - [后台任务概述](task-management/background-task-overview.md) - - [短时任务开发指导](task-management/transient-task-dev-guide.md) - - [长时任务开发指导](task-management/continuous-task-dev-guide.md) - - [延迟任务开发指导](task-management/work-scheduler-dev-guide.md) - - [延迟任务回调能力开发指导](task-management/workscheduler-extensionability.md) - - [申请能效资源开发指导](task-management/efficiency-resources-apply-dev-guide.md) - - 后台代理提醒 - - [后台代理提醒概述](task-management/reminder-agent-overview.md) - - [后台代理提醒开发指导](task-management/reminder-agent-development.md) + - 后台任务 + - [后台任务概述](task-management/background-task-overview.md) + - [短时任务开发指导](task-management/transient-task-dev-guide.md) + - [长时任务开发指导](task-management/continuous-task-dev-guide.md) + - [延迟任务开发指导](task-management/work-scheduler-dev-guide.md) + - [延迟任务回调能力开发指导](task-management/workscheduler-extensionability.md) + - [申请能效资源开发指导](task-management/efficiency-resources-apply-dev-guide.md) + - 后台代理提醒 + - [后台代理提醒概述](task-management/reminder-agent-overview.md) + - [后台代理提醒开发指导](task-management/reminder-agent-development.md) - 设备管理 - - USB服务 - - [USB服务开发概述](device/usb-overview.md) - - [USB服务开发指导](device/usb-guidelines.md) - - 位置服务 - - [位置开发指南](device/location-guidelines.md) - - 传感器 - - [传感器开发概述](device/sensor-overview.md) - - [传感器开发指导](device/sensor-guidelines.md) - - 振动 - - [振动开发概述](device/vibrator-overview.md) - - [振动开发指导](device/vibrator-guidelines.md) - - 多模输入 - - [输入设备开发指导](device/inputdevice-guidelines.md) - - [鼠标光标开发指导](device/pointerstyle-guidelines.md) - - 升级服务 - - [示例服务器开发概述](device/sample-server-overview.md) - - [示例服务器开发指导](device/sample-server-guidelines.md) - - 设备状态 - - [设备状态开发指导](device/stationary-guidelines.md) + - USB服务 + - [USB服务开发概述](device/usb-overview.md) + - [USB服务开发指导](device/usb-guidelines.md) + - 位置服务 + - [位置开发指南](device/location-guidelines.md) + - 传感器 + - [传感器开发概述](device/sensor-overview.md) + - [传感器开发指导](device/sensor-guidelines.md) + - 振动 + - [振动开发概述](device/vibrator-overview.md) + - [振动开发指导](device/vibrator-guidelines.md) + - 多模输入 + - [输入设备开发指导](device/inputdevice-guidelines.md) + - [鼠标光标开发指导](device/pointerstyle-guidelines.md) + - 升级服务 + - [示例服务器开发概述](device/sample-server-overview.md) + - [示例服务器开发指导](device/sample-server-guidelines.md) + - 设备状态 + - [设备状态开发指导](device/stationary-guidelines.md) - 设备使用信息统计 - - [设备使用信息统计概述](device-usage-statistics/device-usage-statistics-overview.md) - - [设备使用信息统计开发指导](device-usage-statistics/device-usage-statistics-use-guide.md) + - [设备使用信息统计概述](device-usage-statistics/device-usage-statistics-overview.md) + - [设备使用信息统计开发指导](device-usage-statistics/device-usage-statistics-use-guide.md) - DFX - - [应用事件打点开发指导](dfx/hiappevent-guidelines.md) - - [性能打点跟踪开发指导](dfx/hitracemeter-guidelines.md) - - [分布式跟踪开发指导](dfx/hitracechain-guidelines.md) - - 错误管理 - - [错误管理开发指导](dfx/errormanager-guidelines.md) - - [应用恢复开发指导](dfx/apprecovery-guidelines.md) + - [应用事件打点开发指导](dfx/hiappevent-guidelines.md) + - [性能打点跟踪开发指导](dfx/hitracemeter-guidelines.md) + - [分布式跟踪开发指导](dfx/hitracechain-guidelines.md) + - 错误管理 + - [错误管理开发指导](dfx/errormanager-guidelines.md) + - [应用恢复开发指导](dfx/apprecovery-guidelines.md) - 国际化 - - [国际化开发概述](internationalization/international-overview.md) - - [Intl开发指导](internationalization/intl-guidelines.md) - - [I18n开发指导](internationalization/i18n-guidelines.md) + - [国际化开发概述](internationalization/international-overview.md) + - [Intl开发指导](internationalization/intl-guidelines.md) + - [I18n开发指导](internationalization/i18n-guidelines.md) - 应用测试 - - [自动化测试框架使用指导](application-test/arkxtest-guidelines.md) - - [SmartPerf性能工具使用指导](application-test/smartperf-guidelines.md) - - [wukong稳定性工具使用指导](application-test/wukong-guidelines.md) + - [自动化测试框架使用指导](application-test/arkxtest-guidelines.md) + - [SmartPerf性能工具使用指导](application-test/smartperf-guidelines.md) + - [wukong稳定性工具使用指导](application-test/wukong-guidelines.md) + - 一次开发,多端部署 + - [前言](key-features/multi-device-app-dev/foreword.md) + - [简介](key-features/multi-device-app-dev/introduction.md) + - [从一个例子开始](key-features/multi-device-app-dev/start-with-a-example.md) + - 应用UX设计 + - [设计原则和要点](key-features/multi-device-app-dev/design-principles.md) + - 应用架构设计 + - [应用导航结构设计要求](key-features/multi-device-app-dev/navigation-design.md) + - [应用页面结构设计](key-features/multi-device-app-dev/page-design.md) + - 界面布局 + - [概述](key-features/multi-device-app-dev/interface-layout-design-intro.md) + - 布局基础 + - [栅格系统](key-features/multi-device-app-dev/design-grid.md) + - [自适应布局](key-features/multi-device-app-dev/design-adaptive-layout.md) + - [响应式布局](key-features/multi-device-app-dev/design-responsive-layout.md) + - [布局基础运用案例](key-features/multi-device-app-dev/design-layout-cases.md) + - 人机交互 + - [交互基础](key-features/multi-device-app-dev/interaction-basics.md) + - [常见输入方式](key-features/multi-device-app-dev/common-input-modes.md) + - [交互事件归一](key-features/multi-device-app-dev/design-interaction-event-normalization.md) + - 视觉风格 + - [视觉基础](key-features/multi-device-app-dev/visual-basics.md) + - [色彩](key-features/multi-device-app-dev/visual-style-color.md) + - [字体](key-features/multi-device-app-dev/visual-style-font.md) + - [图标](key-features/multi-device-app-dev/visual-style-icon.md) + - [多态控件](key-features/multi-device-app-dev/design-polymorphic-controls.md) + - [设计自检表](key-features/multi-device-app-dev/design-checklist.md) + - [设计交付](key-features/multi-device-app-dev/design-delivery.md) + - [资源](key-features/multi-device-app-dev/design-resources.md) + - [工程管理](key-features/multi-device-app-dev/ide-using.md) + - 页面开发的一多能力介绍 + - [简介](key-features/multi-device-app-dev/page-development-intro.md) + - 布局能力 + - [布局简介](key-features/multi-device-app-dev/layout-intro.md) + - [自适应布局](key-features/multi-device-app-dev/adaptive-layout.md) + - [响应式布局](key-features/multi-device-app-dev/responsive-layout.md) + - [典型布局场景](key-features/multi-device-app-dev/typical-layout-scenario.md) + - 典型页面场景 + - [应用市场首页](key-features/multi-device-app-dev/appgallery-home-page.md) + - [音乐专辑页](key-features/multi-device-app-dev/music-album-page.md) + - [设置应用页面](key-features/multi-device-app-dev/settings-application-page.md) + - [交互归一](key-features/multi-device-app-dev/interaction-event-normalization.md) + - [多态组件](key-features/multi-device-app-dev/polymorphic-controls.md) + - [资源使用](key-features/multi-device-app-dev/resource-usage.md) + - [功能开发的一多能力介绍](key-features/multi-device-app-dev/development-intro.md) + - [案例应用](key-features/multi-device-app-dev/case.md) + - [常见问题](key-features/multi-device-app-dev/faq.md) - [IDL工具规格及使用说明书](IDL/idl-guidelines.md) - Native API相关指导 - [Native API在应用工程中的使用指导](napi/napi-guidelines.md) @@ -430,989 +487,948 @@ - [NativeWindow开发指导](napi/native-window-guidelines.md) - [使用MindSpore Lite引擎进行模型推理](napi/mindspore-lite-guidelines.md) - [Neural Network Runtime对接AI推理框架开发指导](napi/neural-network-runtime-guidelines.md) - - 一次开发,多端部署 - - [前言](key-features/multi-device-app-dev/foreword.md) - - [简介](key-features/multi-device-app-dev/introduction.md) - - [从一个例子开始](key-features/multi-device-app-dev/start-with-a-example.md) - - 应用UX设计 - - [设计原则和要点](key-features/multi-device-app-dev/design-principles.md) - - 应用架构设计 - - [应用导航结构设计要求](key-features/multi-device-app-dev/navigation-design.md) - - [应用页面结构设计](key-features/multi-device-app-dev/page-design.md) - - 界面布局 - - [概述](key-features/multi-device-app-dev/interface-layout-design-intro.md) - - 布局基础 - - [栅格系统](key-features/multi-device-app-dev/design-grid.md) - - [自适应布局](key-features/multi-device-app-dev/design-adaptive-layout.md) - - [响应式布局](key-features/multi-device-app-dev/design-responsive-layout.md) - - [布局基础运用案例](key-features/multi-device-app-dev/design-layout-cases.md) - - 人机交互 - - [交互基础](key-features/multi-device-app-dev/interaction-basics.md) - - [常见输入方式](key-features/multi-device-app-dev/common-input-modes.md) - - [交互事件归一](key-features/multi-device-app-dev/design-interaction-event-normalization.md) - - 视觉风格 - - [视觉基础](key-features/multi-device-app-dev/visual-basics.md) - - [色彩](key-features/multi-device-app-dev/visual-style-color.md) - - [字体](key-features/multi-device-app-dev/visual-style-font.md) - - [图标](key-features/multi-device-app-dev/visual-style-icon.md) - - [多态控件](key-features/multi-device-app-dev/design-polymorphic-controls.md) - - [设计自检表](key-features/multi-device-app-dev/design-checklist.md) - - [设计交付](key-features/multi-device-app-dev/design-delivery.md) - - [资源](key-features/multi-device-app-dev/design-resources.md) - - [工程管理](key-features/multi-device-app-dev/ide-using.md) - - 页面开发的一多能力介绍 - - [简介](key-features/multi-device-app-dev/page-development-intro.md) - - 布局能力 - - [布局简介](key-features/multi-device-app-dev/layout-intro.md) - - [自适应布局](key-features/multi-device-app-dev/adaptive-layout.md) - - [响应式布局](key-features/multi-device-app-dev/responsive-layout.md) - - [典型布局场景](key-features/multi-device-app-dev/typical-layout-scenario.md) - - 典型页面场景 - - [应用市场首页](key-features/multi-device-app-dev/appgallery-home-page.md) - - [音乐专辑页](key-features/multi-device-app-dev/music-album-page.md) - - [设置应用页面](key-features/multi-device-app-dev/settings-application-page.md) - - [交互归一](key-features/multi-device-app-dev/interaction-event-normalization.md) - - [多态组件](key-features/multi-device-app-dev/polymorphic-controls.md) - - [资源使用](key-features/multi-device-app-dev/resource-usage.md) - - [功能开发的一多能力介绍](key-features/multi-device-app-dev/development-intro.md) - - [案例应用](key-features/multi-device-app-dev/case.md) - - [常见问题](key-features/multi-device-app-dev/faq.md) - 工具 - [DevEco Studio(OpenHarmony)使用指南](quick-start/deveco-studio-user-guide-for-openharmony.md) - 调试工具 - - [aa工具](tools/aa-tool.md) - - [bm工具](tools/bm-tool.md) - - 打包拆包工具 - - [打包工具](tools/packing-tool.md) - - [拆包工具](tools/unpacking-tool.md) - - [anm工具](tools/anm-tool.md) - - [cem工具](tools/cem-tool.md) + - [aa工具](tools/aa-tool.md) + - [bm工具](tools/bm-tool.md) + - 打包拆包工具 + - [打包工具](tools/packing-tool.md) + - [拆包工具](tools/unpacking-tool.md) + - [cem工具](tools/cem-tool.md) + - [anm工具](tools/anm-tool.md) - 示例教程 - - [示例代码](https://gitee.com/openharmony/applications_app_samples/blob/monthly_20221018/README_zh.md) + - [示例代码](https://gitee.com/openharmony/applications_app_samples/blob/OpenHarmony-3.2-Release/README_zh.md) - [Codelabs](https://gitee.com/openharmony/codelabs/blob/master/README.md) - API参考 - [系统能力SystemCapability使用指南](reference/syscap.md) - [系统能力SystemCapability列表](reference/syscap-list.md) - 组件参考(基于ArkTS的声明式开发范式) - - [组件导读](reference/arkui-ts/ts-components-summary.md) - - 组件通用信息 - - 通用事件 - - [点击事件](reference/arkui-ts/ts-universal-events-click.md) - - [触摸事件](reference/arkui-ts/ts-universal-events-touch.md) - - [挂载卸载事件](reference/arkui-ts/ts-universal-events-show-hide.md) - - [拖拽事件](reference/arkui-ts/ts-universal-events-drag-drop.md) - - [按键事件](reference/arkui-ts/ts-universal-events-key.md) - - [焦点事件](reference/arkui-ts/ts-universal-focus-event.md) - - [鼠标事件](reference/arkui-ts/ts-universal-mouse-key.md) - - [组件区域变化事件](reference/arkui-ts/ts-universal-component-area-change-event.md) - - [组件可见区域变化事件](reference/arkui-ts/ts-universal-component-visible-area-change-event.md) - - 通用属性 - - [尺寸设置](reference/arkui-ts/ts-universal-attributes-size.md) - - [位置设置](reference/arkui-ts/ts-universal-attributes-location.md) - - [布局约束](reference/arkui-ts/ts-universal-attributes-layout-constraints.md) - - [Flex布局](reference/arkui-ts/ts-universal-attributes-flex-layout.md) - - [边框设置](reference/arkui-ts/ts-universal-attributes-border.md) - - [图片边框设置](reference/arkui-ts/ts-universal-attributes-border-image.md) - - [背景设置](reference/arkui-ts/ts-universal-attributes-background.md) - - [透明度设置](reference/arkui-ts/ts-universal-attributes-opacity.md) - - [显隐控制](reference/arkui-ts/ts-universal-attributes-visibility.md) - - [禁用控制](reference/arkui-ts/ts-universal-attributes-enable.md) - - [浮层](reference/arkui-ts/ts-universal-attributes-overlay.md) - - [Z序控制](reference/arkui-ts/ts-universal-attributes-z-order.md) - - [图形变换](reference/arkui-ts/ts-universal-attributes-transformation.md) - - [图像效果](reference/arkui-ts/ts-universal-attributes-image-effect.md) - - [形状裁剪](reference/arkui-ts/ts-universal-attributes-sharp-clipping.md) - - [文本样式设置](reference/arkui-ts/ts-universal-attributes-text-style.md) - - [栅格设置](reference/arkui-ts/ts-universal-attributes-grid.md) - - [颜色渐变](reference/arkui-ts/ts-universal-attributes-gradient-color.md) - - [Popup控制](reference/arkui-ts/ts-universal-attributes-popup.md) - - [Menu控制](reference/arkui-ts/ts-universal-attributes-menu.md) - - [点击控制](reference/arkui-ts/ts-universal-attributes-click.md) - - [焦点控制](reference/arkui-ts/ts-universal-attributes-focus.md) - - [悬浮态效果](reference/arkui-ts/ts-universal-attributes-hover-effect.md) - - [组件标识](reference/arkui-ts/ts-universal-attributes-component-id.md) - - [触摸热区设置](reference/arkui-ts/ts-universal-attributes-touch-target.md) - - [多态样式](reference/arkui-ts/ts-universal-attributes-polymorphic-style.md) - - [触摸测试控制](reference/arkui-ts/ts-universal-attributes-hit-test-behavior.md) - - [背景模糊设置](reference/arkui-ts/ts-universal-attributes-backgroundBlurStyle.md) - - [分布式迁移标识](reference/arkui-ts/ts-universal-attributes-restoreId.md) - - 手势处理 - - [绑定手势方法](reference/arkui-ts/ts-gesture-settings.md) - - 基础手势 - - [TapGesture](reference/arkui-ts/ts-basic-gestures-tapgesture.md) - - [LongPressGesture](reference/arkui-ts/ts-basic-gestures-longpressgesture.md) - - [PanGesture](reference/arkui-ts/ts-basic-gestures-pangesture.md) - - [PinchGesture](reference/arkui-ts/ts-basic-gestures-pinchgesture.md) - - [RotationGesture](reference/arkui-ts/ts-basic-gestures-rotationgesture.md) - - [SwipeGesture](reference/arkui-ts/ts-basic-gestures-swipegesture.md) - - [组合手势](reference/arkui-ts/ts-combined-gestures.md) - - 基础组件 - - [Blank](reference/arkui-ts/ts-basic-components-blank.md) - - [Button](reference/arkui-ts/ts-basic-components-button.md) - - [Checkbox](reference/arkui-ts/ts-basic-components-checkbox.md) - - [CheckboxGroup](reference/arkui-ts/ts-basic-components-checkboxgroup.md) - - [DataPanel](reference/arkui-ts/ts-basic-components-datapanel.md) - - [DatePicker](reference/arkui-ts/ts-basic-components-datepicker.md) - - [Divider](reference/arkui-ts/ts-basic-components-divider.md) - - [Formcomponent](reference/arkui-ts/ts-basic-components-formcomponent.md) - - [Gauge](reference/arkui-ts/ts-basic-components-gauge.md) - - [Image](reference/arkui-ts/ts-basic-components-image.md) - - [ImageAnimator](reference/arkui-ts/ts-basic-components-imageanimator.md) - - [LoadingProgress](reference/arkui-ts/ts-basic-components-loadingprogress.md) - - [Marquee](reference/arkui-ts/ts-basic-components-marquee.md) - - [Menu](reference/arkui-ts/ts-basic-components-menu.md) - - [MenuItem](reference/arkui-ts/ts-basic-components-menuitem.md) - - [MenuItemGroup](reference/arkui-ts/ts-basic-components-menuitemgroup.md) - - [Navigation](reference/arkui-ts/ts-basic-components-navigation.md) - - [NavRouter](reference/arkui-ts/ts-basic-components-navrouter.md) - - [NavDestination](reference/arkui-ts/ts-basic-components-navdestination.md) - - [PatternLock](reference/arkui-ts/ts-basic-components-patternlock.md) - - [PluginComponent](reference/arkui-ts/ts-basic-components-plugincomponent.md) - - [Progress](reference/arkui-ts/ts-basic-components-progress.md) - - [QRCode](reference/arkui-ts/ts-basic-components-qrcode.md) - - [Radio](reference/arkui-ts/ts-basic-components-radio.md) - - [Rating](reference/arkui-ts/ts-basic-components-rating.md) - - [RemoteWindow](reference/arkui-ts/ts-basic-components-remotewindow.md) - - [RichText](reference/arkui-ts/ts-basic-components-richtext.md) - - [ScrollBar](reference/arkui-ts/ts-basic-components-scrollbar.md) - - [Search](reference/arkui-ts/ts-basic-components-search.md) - - [Select](reference/arkui-ts/ts-basic-components-select.md) - - [Slider](reference/arkui-ts/ts-basic-components-slider.md) - - [Span](reference/arkui-ts/ts-basic-components-span.md) - - [Stepper](reference/arkui-ts/ts-basic-components-stepper.md) - - [StepperItem](reference/arkui-ts/ts-basic-components-stepperitem.md) - - [Text](reference/arkui-ts/ts-basic-components-text.md) - - [TextArea](reference/arkui-ts/ts-basic-components-textarea.md) - - [TextClock](reference/arkui-ts/ts-basic-components-textclock.md) - - [TextInput](reference/arkui-ts/ts-basic-components-textinput.md) - - [TextPicker](reference/arkui-ts/ts-basic-components-textpicker.md) - - [TextTimer](reference/arkui-ts/ts-basic-components-texttimer.md) - - [TimePicker](reference/arkui-ts/ts-basic-components-timepicker.md) - - [Toggle](reference/arkui-ts/ts-basic-components-toggle.md) - - [Web](reference/arkui-ts/ts-basic-components-web.md) - - [XComponent](reference/arkui-ts/ts-basic-components-xcomponent.md) - - 容器组件 - - [AbilityComponent](reference/arkui-ts/ts-container-ability-component.md) - - [AlphabetIndexer](reference/arkui-ts/ts-container-alphabet-indexer.md) - - [Badge](reference/arkui-ts/ts-container-badge.md) - - [Column](reference/arkui-ts/ts-container-column.md) - - [ColumnSplit](reference/arkui-ts/ts-container-columnsplit.md) - - [Counter](reference/arkui-ts/ts-container-counter.md) - - [Flex](reference/arkui-ts/ts-container-flex.md) - - [FlowItem](reference/arkui-ts/ts-container-flowitem.md) - - [GridCol](reference/arkui-ts/ts-container-gridcol.md) - - [GridRow](reference/arkui-ts/ts-container-gridrow.md) - - [Grid](reference/arkui-ts/ts-container-grid.md) - - [GridItem](reference/arkui-ts/ts-container-griditem.md) - - [List](reference/arkui-ts/ts-container-list.md) - - [ListItem](reference/arkui-ts/ts-container-listitem.md) - - [ListItemGroup](reference/arkui-ts/ts-container-listitemgroup.md) - - [Navigator](reference/arkui-ts/ts-container-navigator.md) - - [Panel](reference/arkui-ts/ts-container-panel.md) - - [Refresh](reference/arkui-ts/ts-container-refresh.md) - - [RelativeContainer](reference/arkui-ts/ts-container-relativecontainer.md) - - [Row](reference/arkui-ts/ts-container-row.md) - - [RowSplit](reference/arkui-ts/ts-container-rowsplit.md) - - [Scroll](reference/arkui-ts/ts-container-scroll.md) - - [SideBarContainer](reference/arkui-ts/ts-container-sidebarcontainer.md) - - [Stack](reference/arkui-ts/ts-container-stack.md) - - [Swiper](reference/arkui-ts/ts-container-swiper.md) - - [Tabs](reference/arkui-ts/ts-container-tabs.md) - - [TabContent](reference/arkui-ts/ts-container-tabcontent.md) - - [WaterFlow](reference/arkui-ts/ts-container-waterflow.md) - - 媒体组件 - - [Video](reference/arkui-ts/ts-media-components-video.md) - - 绘制组件 - - [Circle](reference/arkui-ts/ts-drawing-components-circle.md) - - [Ellipse](reference/arkui-ts/ts-drawing-components-ellipse.md) - - [Line](reference/arkui-ts/ts-drawing-components-line.md) - - [Polyline](reference/arkui-ts/ts-drawing-components-polyline.md) - - [Polygon](reference/arkui-ts/ts-drawing-components-polygon.md) - - [Path](reference/arkui-ts/ts-drawing-components-path.md) - - [Rect](reference/arkui-ts/ts-drawing-components-rect.md) - - [Shape](reference/arkui-ts/ts-drawing-components-shape.md) - - 画布组件 - - [Canvas](reference/arkui-ts/ts-components-canvas-canvas.md) - - [CanvasRenderingContext2D对象](reference/arkui-ts/ts-canvasrenderingcontext2d.md) - - [CanvasGradient对象](reference/arkui-ts/ts-components-canvas-canvasgradient.md) - - [ImageBitmap对象](reference/arkui-ts/ts-components-canvas-imagebitmap.md) - - [ImageData对象](reference/arkui-ts/ts-components-canvas-imagedata.md) - - [OffscreenCanvasRenderingContext2D对象](reference/arkui-ts/ts-offscreencanvasrenderingcontext2d.md) - - [Path2D对象](reference/arkui-ts/ts-components-canvas-path2d.md) - - [Lottie](reference/arkui-ts/ts-components-canvas-lottie.md) - - 动画 - - [属性动画](reference/arkui-ts/ts-animatorproperty.md) - - [显式动画](reference/arkui-ts/ts-explicit-animation.md) - - 转场动画 - - [页面间转场](reference/arkui-ts/ts-page-transition-animation.md) - - [组件内转场](reference/arkui-ts/ts-transition-animation-component.md) - - [共享元素转场](reference/arkui-ts/ts-transition-animation-shared-elements.md) - - [路径动画](reference/arkui-ts/ts-motion-path-animation.md) - - 全局UI方法 - - 弹窗 - - [警告弹窗](reference/arkui-ts/ts-methods-alert-dialog-box.md) - - [列表选择弹窗](reference/arkui-ts/ts-methods-action-sheet.md) - - [自定义弹窗](reference/arkui-ts/ts-methods-custom-dialog-box.md) - - [日期选择弹窗](reference/arkui-ts/ts-methods-datepicker-dialog.md) - - [时间选择弹窗](reference/arkui-ts/ts-methods-timepicker-dialog.md) - - [文本选择弹窗](reference/arkui-ts/ts-methods-textpicker-dialog.md) - - [菜单](reference/arkui-ts/ts-methods-menu.md) - - [应用级变量的状态管理](reference/arkui-ts/ts-state-management.md) - - [像素单位](reference/arkui-ts/ts-pixel-units.md) - - [枚举说明](reference/arkui-ts/ts-appendix-enums.md) - - [类型说明](reference/arkui-ts/ts-types.md) - - 已停止维护的组件 - - [GridContainer](reference/arkui-ts/ts-container-gridcontainer.md) + - [组件导读](reference/arkui-ts/ts-components-summary.md) + - 组件通用信息 + - 通用事件 + - [点击事件](reference/arkui-ts/ts-universal-events-click.md) + - [触摸事件](reference/arkui-ts/ts-universal-events-touch.md) + - [挂载卸载事件](reference/arkui-ts/ts-universal-events-show-hide.md) + - [拖拽事件](reference/arkui-ts/ts-universal-events-drag-drop.md) + - [按键事件](reference/arkui-ts/ts-universal-events-key.md) + - [焦点事件](reference/arkui-ts/ts-universal-focus-event.md) + - [鼠标事件](reference/arkui-ts/ts-universal-mouse-key.md) + - [组件区域变化事件](reference/arkui-ts/ts-universal-component-area-change-event.md) + - [组件可见区域变化事件](reference/arkui-ts/ts-universal-component-visible-area-change-event.md) + - 通用属性 + - [尺寸设置](reference/arkui-ts/ts-universal-attributes-size.md) + - [位置设置](reference/arkui-ts/ts-universal-attributes-location.md) + - [布局约束](reference/arkui-ts/ts-universal-attributes-layout-constraints.md) + - [Flex布局](reference/arkui-ts/ts-universal-attributes-flex-layout.md) + - [边框设置](reference/arkui-ts/ts-universal-attributes-border.md) + - [图片边框设置](reference/arkui-ts/ts-universal-attributes-border-image.md) + - [背景设置](reference/arkui-ts/ts-universal-attributes-background.md) + - [透明度设置](reference/arkui-ts/ts-universal-attributes-opacity.md) + - [显隐控制](reference/arkui-ts/ts-universal-attributes-visibility.md) + - [禁用控制](reference/arkui-ts/ts-universal-attributes-enable.md) + - [浮层](reference/arkui-ts/ts-universal-attributes-overlay.md) + - [Z序控制](reference/arkui-ts/ts-universal-attributes-z-order.md) + - [图形变换](reference/arkui-ts/ts-universal-attributes-transformation.md) + - [图像效果](reference/arkui-ts/ts-universal-attributes-image-effect.md) + - [形状裁剪](reference/arkui-ts/ts-universal-attributes-sharp-clipping.md) + - [文本样式设置](reference/arkui-ts/ts-universal-attributes-text-style.md) + - [栅格设置](reference/arkui-ts/ts-universal-attributes-grid.md) + - [颜色渐变](reference/arkui-ts/ts-universal-attributes-gradient-color.md) + - [Popup控制](reference/arkui-ts/ts-universal-attributes-popup.md) + - [Menu控制](reference/arkui-ts/ts-universal-attributes-menu.md) + - [点击控制](reference/arkui-ts/ts-universal-attributes-click.md) + - [焦点控制](reference/arkui-ts/ts-universal-attributes-focus.md) + - [悬浮态效果](reference/arkui-ts/ts-universal-attributes-hover-effect.md) + - [组件标识](reference/arkui-ts/ts-universal-attributes-component-id.md) + - [触摸热区设置](reference/arkui-ts/ts-universal-attributes-touch-target.md) + - [多态样式](reference/arkui-ts/ts-universal-attributes-polymorphic-style.md) + - [触摸测试控制](reference/arkui-ts/ts-universal-attributes-hit-test-behavior.md) + - [背景模糊设置](reference/arkui-ts/ts-universal-attributes-backgroundBlurStyle.md) + - [分布式迁移标识](reference/arkui-ts/ts-universal-attributes-restoreId.md) + - 手势处理 + - [绑定手势方法](reference/arkui-ts/ts-gesture-settings.md) + - 基础手势 + - [TapGesture](reference/arkui-ts/ts-basic-gestures-tapgesture.md) + - [LongPressGesture](reference/arkui-ts/ts-basic-gestures-longpressgesture.md) + - [PanGesture](reference/arkui-ts/ts-basic-gestures-pangesture.md) + - [PinchGesture](reference/arkui-ts/ts-basic-gestures-pinchgesture.md) + - [RotationGesture](reference/arkui-ts/ts-basic-gestures-rotationgesture.md) + - [SwipeGesture](reference/arkui-ts/ts-basic-gestures-swipegesture.md) + - [组合手势](reference/arkui-ts/ts-combined-gestures.md) + - 基础组件 + - [Blank](reference/arkui-ts/ts-basic-components-blank.md) + - [Button](reference/arkui-ts/ts-basic-components-button.md) + - [Checkbox](reference/arkui-ts/ts-basic-components-checkbox.md) + - [CheckboxGroup](reference/arkui-ts/ts-basic-components-checkboxgroup.md) + - [DataPanel](reference/arkui-ts/ts-basic-components-datapanel.md) + - [DatePicker](reference/arkui-ts/ts-basic-components-datepicker.md) + - [Divider](reference/arkui-ts/ts-basic-components-divider.md) + - [Formcomponent](reference/arkui-ts/ts-basic-components-formcomponent.md) + - [Gauge](reference/arkui-ts/ts-basic-components-gauge.md) + - [Image](reference/arkui-ts/ts-basic-components-image.md) + - [ImageAnimator](reference/arkui-ts/ts-basic-components-imageanimator.md) + - [LoadingProgress](reference/arkui-ts/ts-basic-components-loadingprogress.md) + - [Marquee](reference/arkui-ts/ts-basic-components-marquee.md) + - [Menu](reference/arkui-ts/ts-basic-components-menu.md) + - [MenuItem](reference/arkui-ts/ts-basic-components-menuitem.md) + - [MenuItemGroup](reference/arkui-ts/ts-basic-components-menuitemgroup.md) + - [Navigation](reference/arkui-ts/ts-basic-components-navigation.md) + - [NavRouter](reference/arkui-ts/ts-basic-components-navrouter.md) + - [NavDestination](reference/arkui-ts/ts-basic-components-navdestination.md) + - [PatternLock](reference/arkui-ts/ts-basic-components-patternlock.md) + - [PluginComponent](reference/arkui-ts/ts-basic-components-plugincomponent.md) + - [Progress](reference/arkui-ts/ts-basic-components-progress.md) + - [QRCode](reference/arkui-ts/ts-basic-components-qrcode.md) + - [Radio](reference/arkui-ts/ts-basic-components-radio.md) + - [Rating](reference/arkui-ts/ts-basic-components-rating.md) + - [RemoteWindow](reference/arkui-ts/ts-basic-components-remotewindow.md) + - [RichText](reference/arkui-ts/ts-basic-components-richtext.md) + - [ScrollBar](reference/arkui-ts/ts-basic-components-scrollbar.md) + - [Search](reference/arkui-ts/ts-basic-components-search.md) + - [Select](reference/arkui-ts/ts-basic-components-select.md) + - [Slider](reference/arkui-ts/ts-basic-components-slider.md) + - [Span](reference/arkui-ts/ts-basic-components-span.md) + - [Stepper](reference/arkui-ts/ts-basic-components-stepper.md) + - [StepperItem](reference/arkui-ts/ts-basic-components-stepperitem.md) + - [Text](reference/arkui-ts/ts-basic-components-text.md) + - [TextArea](reference/arkui-ts/ts-basic-components-textarea.md) + - [TextClock](reference/arkui-ts/ts-basic-components-textclock.md) + - [TextInput](reference/arkui-ts/ts-basic-components-textinput.md) + - [TextPicker](reference/arkui-ts/ts-basic-components-textpicker.md) + - [TextTimer](reference/arkui-ts/ts-basic-components-texttimer.md) + - [TimePicker](reference/arkui-ts/ts-basic-components-timepicker.md) + - [Toggle](reference/arkui-ts/ts-basic-components-toggle.md) + - [Web](reference/arkui-ts/ts-basic-components-web.md) + - [XComponent](reference/arkui-ts/ts-basic-components-xcomponent.md) + - 容器组件 + - [AbilityComponent](reference/arkui-ts/ts-container-ability-component.md) + - [AlphabetIndexer](reference/arkui-ts/ts-container-alphabet-indexer.md) + - [Badge](reference/arkui-ts/ts-container-badge.md) + - [Column](reference/arkui-ts/ts-container-column.md) + - [ColumnSplit](reference/arkui-ts/ts-container-columnsplit.md) + - [Counter](reference/arkui-ts/ts-container-counter.md) + - [Flex](reference/arkui-ts/ts-container-flex.md) + - [FlowItem](reference/arkui-ts/ts-container-flowitem.md) + - [GridCol](reference/arkui-ts/ts-container-gridcol.md) + - [GridRow](reference/arkui-ts/ts-container-gridrow.md) + - [Grid](reference/arkui-ts/ts-container-grid.md) + - [GridItem](reference/arkui-ts/ts-container-griditem.md) + - [List](reference/arkui-ts/ts-container-list.md) + - [ListItem](reference/arkui-ts/ts-container-listitem.md) + - [ListItemGroup](reference/arkui-ts/ts-container-listitemgroup.md) + - [Navigator](reference/arkui-ts/ts-container-navigator.md) + - [Panel](reference/arkui-ts/ts-container-panel.md) + - [Refresh](reference/arkui-ts/ts-container-refresh.md) + - [RelativeContainer](reference/arkui-ts/ts-container-relativecontainer.md) + - [Row](reference/arkui-ts/ts-container-row.md) + - [RowSplit](reference/arkui-ts/ts-container-rowsplit.md) + - [Scroll](reference/arkui-ts/ts-container-scroll.md) + - [SideBarContainer](reference/arkui-ts/ts-container-sidebarcontainer.md) + - [Stack](reference/arkui-ts/ts-container-stack.md) + - [Swiper](reference/arkui-ts/ts-container-swiper.md) + - [Tabs](reference/arkui-ts/ts-container-tabs.md) + - [TabContent](reference/arkui-ts/ts-container-tabcontent.md) + - [WaterFlow](reference/arkui-ts/ts-container-waterflow.md) + - 媒体组件 + - [Video](reference/arkui-ts/ts-media-components-video.md) + - 绘制组件 + - [Circle](reference/arkui-ts/ts-drawing-components-circle.md) + - [Ellipse](reference/arkui-ts/ts-drawing-components-ellipse.md) + - [Line](reference/arkui-ts/ts-drawing-components-line.md) + - [Polyline](reference/arkui-ts/ts-drawing-components-polyline.md) + - [Polygon](reference/arkui-ts/ts-drawing-components-polygon.md) + - [Path](reference/arkui-ts/ts-drawing-components-path.md) + - [Rect](reference/arkui-ts/ts-drawing-components-rect.md) + - [Shape](reference/arkui-ts/ts-drawing-components-shape.md) + - 画布组件 + - [Canvas](reference/arkui-ts/ts-components-canvas-canvas.md) + - [CanvasRenderingContext2D对象](reference/arkui-ts/ts-canvasrenderingcontext2d.md) + - [CanvasGradient对象](reference/arkui-ts/ts-components-canvas-canvasgradient.md) + - [ImageBitmap对象](reference/arkui-ts/ts-components-canvas-imagebitmap.md) + - [ImageData对象](reference/arkui-ts/ts-components-canvas-imagedata.md) + - [OffscreenCanvasRenderingContext2D对象](reference/arkui-ts/ts-offscreencanvasrenderingcontext2d.md) + - [Path2D对象](reference/arkui-ts/ts-components-canvas-path2d.md) + - [Lottie](reference/arkui-ts/ts-components-canvas-lottie.md) + - 动画 + - [属性动画](reference/arkui-ts/ts-animatorproperty.md) + - [显式动画](reference/arkui-ts/ts-explicit-animation.md) + - 转场动画 + - [页面间转场](reference/arkui-ts/ts-page-transition-animation.md) + - [组件内转场](reference/arkui-ts/ts-transition-animation-component.md) + - [共享元素转场](reference/arkui-ts/ts-transition-animation-shared-elements.md) + - [路径动画](reference/arkui-ts/ts-motion-path-animation.md) + - 全局UI方法 + - 弹窗 + - [警告弹窗](reference/arkui-ts/ts-methods-alert-dialog-box.md) + - [列表选择弹窗](reference/arkui-ts/ts-methods-action-sheet.md) + - [自定义弹窗](reference/arkui-ts/ts-methods-custom-dialog-box.md) + - [日期选择弹窗](reference/arkui-ts/ts-methods-datepicker-dialog.md) + - [时间选择弹窗](reference/arkui-ts/ts-methods-timepicker-dialog.md) + - [文本选择弹窗](reference/arkui-ts/ts-methods-textpicker-dialog.md) + - [菜单](reference/arkui-ts/ts-methods-menu.md) + - [应用级变量的状态管理](reference/arkui-ts/ts-state-management.md) + - [像素单位](reference/arkui-ts/ts-pixel-units.md) + - [枚举说明](reference/arkui-ts/ts-appendix-enums.md) + - [类型说明](reference/arkui-ts/ts-types.md) + - 已停止维护的组件 + - [GridContainer](reference/arkui-ts/ts-container-gridcontainer.md) - 组件参考(兼容JS的类Web开发范式) - - 组件通用信息 - - [通用属性](reference/arkui-js/js-components-common-attributes.md) - - [通用样式](reference/arkui-js/js-components-common-styles.md) - - [通用事件](reference/arkui-js/js-components-common-events.md) - - [通用方法](reference/arkui-js/js-components-common-methods.md) - - [动画样式](reference/arkui-js/js-components-common-animation.md) - - [渐变样式](reference/arkui-js/js-components-common-gradient.md) - - [转场样式](reference/arkui-js/js-components-common-transition.md) - - [媒体查询](reference/arkui-js/js-components-common-mediaquery.md) - - [自定义字体样式](reference/arkui-js/js-components-common-customizing-font.md) - - [原子布局](reference/arkui-js/js-components-common-atomic-layout.md) - - 容器组件 - - [badge](reference/arkui-js/js-components-container-badge.md) - - [dialog](reference/arkui-js/js-components-container-dialog.md) - - [div](reference/arkui-js/js-components-container-div.md) - - [form](reference/arkui-js/js-components-container-form.md) - - [list](reference/arkui-js/js-components-container-list.md) - - [list-item](reference/arkui-js/js-components-container-list-item.md) - - [list-item-group](reference/arkui-js/js-components-container-list-item-group.md) - - [panel](reference/arkui-js/js-components-container-panel.md) - - [popup](reference/arkui-js/js-components-container-popup.md) - - [refresh](reference/arkui-js/js-components-container-refresh.md) - - [stack](reference/arkui-js/js-components-container-stack.md) - - [stepper](reference/arkui-js/js-components-container-stepper.md) - - [stepper-item](reference/arkui-js/js-components-container-stepper-item.md) - - [swiper](reference/arkui-js/js-components-container-swiper.md) - - [tabs](reference/arkui-js/js-components-container-tabs.md) - - [tab-bar](reference/arkui-js/js-components-container-tab-bar.md) - - [tab-content](reference/arkui-js/js-components-container-tab-content.md) - - 基础组件 - - [button](reference/arkui-js/js-components-basic-button.md) - - [chart](reference/arkui-js/js-components-basic-chart.md) - - [divider](reference/arkui-js/js-components-basic-divider.md) - - [image](reference/arkui-js/js-components-basic-image.md) - - [image-animator](reference/arkui-js/js-components-basic-image-animator.md) - - [input](reference/arkui-js/js-components-basic-input.md) - - [label](reference/arkui-js/js-components-basic-label.md) - - [marquee](reference/arkui-js/js-components-basic-marquee.md) - - [menu](reference/arkui-js/js-components-basic-menu.md) - - [option](reference/arkui-js/js-components-basic-option.md) - - [picker](reference/arkui-js/js-components-basic-picker.md) - - [picker-view](reference/arkui-js/js-components-basic-picker-view.md) - - [piece](reference/arkui-js/js-components-basic-piece.md) - - [progress](reference/arkui-js/js-components-basic-progress.md) - - [qrcode](reference/arkui-js/js-components-basic-qrcode.md) - - [rating](reference/arkui-js/js-components-basic-rating.md) - - [richtext](reference/arkui-js/js-components-basic-richtext.md) - - [search](reference/arkui-js/js-components-basic-search.md) - - [select](reference/arkui-js/js-components-basic-select.md) - - [slider](reference/arkui-js/js-components-basic-slider.md) - - [span](reference/arkui-js/js-components-basic-span.md) - - [switch](reference/arkui-js/js-components-basic-switch.md) - - [text](reference/arkui-js/js-components-basic-text.md) - - [textarea](reference/arkui-js/js-components-basic-textarea.md) - - [toolbar](reference/arkui-js/js-components-basic-toolbar.md) - - [toolbar-item](reference/arkui-js/js-components-basic-toolbar-item.md) - - [toggle](reference/arkui-js/js-components-basic-toggle.md) - - [web](reference/arkui-js/js-components-basic-web.md) - - [xcomponent](reference/arkui-js/js-components-basic-xcomponent.md) - - 媒体组件 - - [video](reference/arkui-js/js-components-media-video.md) - - 画布组件 - - [canvas组件](reference/arkui-js/js-components-canvas-canvas.md) - - [CanvasRenderingContext2D对象](reference/arkui-js/js-components-canvas-canvasrenderingcontext2d.md) - - [Image对象](reference/arkui-js/js-components-canvas-image.md) - - [CanvasGradient对象](reference/arkui-js/js-components-canvas-canvasgradient.md) - - [ImageData对象](reference/arkui-js/js-components-canvas-imagedata.md) - - [Path2D对象](reference/arkui-js/js-components-canvas-path2d.md) - - [ImageBitmap对象](reference/arkui-js/js-components-canvas-imagebitmap.md) - - [OffscreenCanvas对象](reference/arkui-js/js-components-canvas-offscreencanvas.md) - - [OffscreenCanvasRenderingContext2D对象](reference/arkui-js/js-offscreencanvasrenderingcontext2d.md) - - 栅格组件 - - [基本概念](reference/arkui-js/js-components-grid-basic-concepts.md) - - [grid-container](reference/arkui-js/js-components-grid-container.md) - - [grid-row](reference/arkui-js/js-components-grid-row.md) - - [grid-col](reference/arkui-js/js-components-grid-col.md) - - svg组件 - - [通用属性](reference/arkui-js/js-components-svg-common-attributes.md) - - [svg](reference/arkui-js/js-components-svg.md) - - [rect](reference/arkui-js/js-components-svg-rect.md) - - [circle](reference/arkui-js/js-components-svg-circle.md) - - [ellipse](reference/arkui-js/js-components-svg-ellipse.md) - - [path](reference/arkui-js/js-components-svg-path.md) - - [line](reference/arkui-js/js-components-svg-line.md) - - [polyline](reference/arkui-js/js-components-svg-polyline.md) - - [polygon](reference/arkui-js/js-components-svg-polygon.md) - - [text](reference/arkui-js/js-components-svg-text.md) - - [tspan](reference/arkui-js/js-components-svg-tspan.md) - - [textPath](reference/arkui-js/js-components-svg-textpath.md) - - [animate](reference/arkui-js/js-components-svg-animate.md) - - [animateMotion](reference/arkui-js/js-components-svg-animatemotion.md) - - [animateTransform](reference/arkui-js/js-components-svg-animatetransform.md) - - 自定义组件 - - [基本用法](reference/arkui-js/js-components-custom-basic-usage.md) - - [数据传递与处理](reference/arkui-js/js-components-custom-props.md) - - [继承样式](reference/arkui-js/js-components-custom-style.md) - - [slot插槽](reference/arkui-js/js-components-custom-slot.md) - - [生命周期定义](reference/arkui-js/js-components-custom-lifecycle.md) - - [动态创建组件](reference/arkui-js/js-components-create-elements.md) - - [数据类型说明](reference/arkui-js/js-appendix-types.md) + - 组件通用信息 + - [通用属性](reference/arkui-js/js-components-common-attributes.md) + - [通用样式](reference/arkui-js/js-components-common-styles.md) + - [通用事件](reference/arkui-js/js-components-common-events.md) + - [通用方法](reference/arkui-js/js-components-common-methods.md) + - [动画样式](reference/arkui-js/js-components-common-animation.md) + - [渐变样式](reference/arkui-js/js-components-common-gradient.md) + - [转场样式](reference/arkui-js/js-components-common-transition.md) + - [媒体查询](reference/arkui-js/js-components-common-mediaquery.md) + - [自定义字体样式](reference/arkui-js/js-components-common-customizing-font.md) + - [原子布局](reference/arkui-js/js-components-common-atomic-layout.md) + - 容器组件 + - [badge](reference/arkui-js/js-components-container-badge.md) + - [dialog](reference/arkui-js/js-components-container-dialog.md) + - [div](reference/arkui-js/js-components-container-div.md) + - [form](reference/arkui-js/js-components-container-form.md) + - [list](reference/arkui-js/js-components-container-list.md) + - [list-item](reference/arkui-js/js-components-container-list-item.md) + - [list-item-group](reference/arkui-js/js-components-container-list-item-group.md) + - [panel](reference/arkui-js/js-components-container-panel.md) + - [popup](reference/arkui-js/js-components-container-popup.md) + - [refresh](reference/arkui-js/js-components-container-refresh.md) + - [stack](reference/arkui-js/js-components-container-stack.md) + - [stepper](reference/arkui-js/js-components-container-stepper.md) + - [stepper-item](reference/arkui-js/js-components-container-stepper-item.md) + - [swiper](reference/arkui-js/js-components-container-swiper.md) + - [tabs](reference/arkui-js/js-components-container-tabs.md) + - [tab-bar](reference/arkui-js/js-components-container-tab-bar.md) + - [tab-content](reference/arkui-js/js-components-container-tab-content.md) + - 基础组件 + - [button](reference/arkui-js/js-components-basic-button.md) + - [chart](reference/arkui-js/js-components-basic-chart.md) + - [divider](reference/arkui-js/js-components-basic-divider.md) + - [image](reference/arkui-js/js-components-basic-image.md) + - [image-animator](reference/arkui-js/js-components-basic-image-animator.md) + - [input](reference/arkui-js/js-components-basic-input.md) + - [label](reference/arkui-js/js-components-basic-label.md) + - [marquee](reference/arkui-js/js-components-basic-marquee.md) + - [menu](reference/arkui-js/js-components-basic-menu.md) + - [option](reference/arkui-js/js-components-basic-option.md) + - [picker](reference/arkui-js/js-components-basic-picker.md) + - [picker-view](reference/arkui-js/js-components-basic-picker-view.md) + - [piece](reference/arkui-js/js-components-basic-piece.md) + - [progress](reference/arkui-js/js-components-basic-progress.md) + - [qrcode](reference/arkui-js/js-components-basic-qrcode.md) + - [rating](reference/arkui-js/js-components-basic-rating.md) + - [richtext](reference/arkui-js/js-components-basic-richtext.md) + - [search](reference/arkui-js/js-components-basic-search.md) + - [select](reference/arkui-js/js-components-basic-select.md) + - [slider](reference/arkui-js/js-components-basic-slider.md) + - [span](reference/arkui-js/js-components-basic-span.md) + - [switch](reference/arkui-js/js-components-basic-switch.md) + - [text](reference/arkui-js/js-components-basic-text.md) + - [textarea](reference/arkui-js/js-components-basic-textarea.md) + - [toolbar](reference/arkui-js/js-components-basic-toolbar.md) + - [toolbar-item](reference/arkui-js/js-components-basic-toolbar-item.md) + - [toggle](reference/arkui-js/js-components-basic-toggle.md) + - [web](reference/arkui-js/js-components-basic-web.md) + - [xcomponent](reference/arkui-js/js-components-basic-xcomponent.md) + - 媒体组件 + - [video](reference/arkui-js/js-components-media-video.md) + - 画布组件 + - [canvas组件](reference/arkui-js/js-components-canvas-canvas.md) + - [CanvasRenderingContext2D对象](reference/arkui-js/js-components-canvas-canvasrenderingcontext2d.md) + - [Image对象](reference/arkui-js/js-components-canvas-image.md) + - [CanvasGradient对象](reference/arkui-js/js-components-canvas-canvasgradient.md) + - [ImageData对象](reference/arkui-js/js-components-canvas-imagedata.md) + - [Path2D对象](reference/arkui-js/js-components-canvas-path2d.md) + - [ImageBitmap对象](reference/arkui-js/js-components-canvas-imagebitmap.md) + - [OffscreenCanvas对象](reference/arkui-js/js-components-canvas-offscreencanvas.md) + - [OffscreenCanvasRenderingContext2D对象](reference/arkui-js/js-offscreencanvasrenderingcontext2d.md) + - 栅格组件 + - [基本概念](reference/arkui-js/js-components-grid-basic-concepts.md) + - [grid-container](reference/arkui-js/js-components-grid-container.md) + - [grid-row](reference/arkui-js/js-components-grid-row.md) + - [grid-col](reference/arkui-js/js-components-grid-col.md) + - svg组件 + - [通用属性](reference/arkui-js/js-components-svg-common-attributes.md) + - [svg](reference/arkui-js/js-components-svg.md) + - [rect](reference/arkui-js/js-components-svg-rect.md) + - [circle](reference/arkui-js/js-components-svg-circle.md) + - [ellipse](reference/arkui-js/js-components-svg-ellipse.md) + - [path](reference/arkui-js/js-components-svg-path.md) + - [line](reference/arkui-js/js-components-svg-line.md) + - [polyline](reference/arkui-js/js-components-svg-polyline.md) + - [polygon](reference/arkui-js/js-components-svg-polygon.md) + - [text](reference/arkui-js/js-components-svg-text.md) + - [tspan](reference/arkui-js/js-components-svg-tspan.md) + - [textPath](reference/arkui-js/js-components-svg-textpath.md) + - [animate](reference/arkui-js/js-components-svg-animate.md) + - [animateMotion](reference/arkui-js/js-components-svg-animatemotion.md) + - [animateTransform](reference/arkui-js/js-components-svg-animatetransform.md) + - 自定义组件 + - [基本用法](reference/arkui-js/js-components-custom-basic-usage.md) + - [数据传递与处理](reference/arkui-js/js-components-custom-props.md) + - [继承样式](reference/arkui-js/js-components-custom-style.md) + - [slot插槽](reference/arkui-js/js-components-custom-slot.md) + - [生命周期定义](reference/arkui-js/js-components-custom-lifecycle.md) + - [动态创建组件](reference/arkui-js/js-components-create-elements.md) + - [数据类型说明](reference/arkui-js/js-appendix-types.md) - JS服务卡片UI组件参考 - - JS服务卡片UI框架说明 - - [文件组织](reference/js-service-widget-ui/js-service-widget-file.md) - - 语法 - - [HML语法参考](reference/js-service-widget-ui/js-service-widget-syntax-hml.md) - - [CSS语法参考](reference/js-service-widget-ui/js-service-widget-syntax-css.md) - - [多语言支持](reference/js-service-widget-ui/js-service-widget-multiple-languages.md) - - [版本兼容适配](reference/js-service-widget-ui/js-service-widget-version-compatibility.md) - - [设置主题样式](reference/js-service-widget-ui/js-service-widget-theme.md) - - 组件 - - 通用 - - [通用属性](reference/js-service-widget-ui/js-service-widget-common-attributes.md) - - [通用样式](reference/js-service-widget-ui/js-service-widget-common-styles.md) - - [通用事件](reference/js-service-widget-ui/js-service-widget-common-events.md) - - [渐变样式](reference/js-service-widget-ui/js-service-widget-common-gradient.md) - - [媒体查询](reference/js-service-widget-ui/js-service-widget-common-mediaquery.md) - - [自定义字体样式](reference/js-service-widget-ui/js-service-widget-common-customizing-font.md) - - [无障碍](reference/js-service-widget-ui/js-service-widget-common-accessibility.md) - - [原子布局](reference/js-service-widget-ui/js-service-widget-common-atomic-layout.md) - - 容器组件 - - [badge](reference/js-service-widget-ui/js-service-widget-container-badge.md) - - [div](reference/js-service-widget-ui/js-service-widget-container-div.md) - - [list](reference/js-service-widget-ui/js-service-widget-container-list.md) - - [list-item](reference/js-service-widget-ui/js-service-widget-container-list-item.md) - - [stack](reference/js-service-widget-ui/js-service-widget-container-stack.md) - - [swiper](reference/js-service-widget-ui/js-service-widget-container-swiper.md) - - 基础组件 - - [button](reference/js-service-widget-ui/js-service-widget-basic-button.md) - - [calendar](reference/js-service-widget-ui/js-service-widget-basic-calendar.md) - - [chart](reference/js-service-widget-ui/js-service-widget-basic-chart.md) - - [clock](reference/js-service-widget-ui/js-service-widget-basic-clock.md) - - [divider](reference/js-service-widget-ui/js-service-widget-basic-divider.md) - - [image](reference/js-service-widget-ui/js-service-widget-basic-image.md) - - [input](reference/js-service-widget-ui/js-service-widget-basic-input.md) - - [progress](reference/js-service-widget-ui/js-service-widget-basic-progress.md) - - [span](reference/js-service-widget-ui/js-service-widget-basic-span.md) - - [text](reference/js-service-widget-ui/js-service-widget-basic-text.md) - - [自定义组件使用说明](reference/js-service-widget-ui/js-service-widget-custom-basic-usage.md) - - [数据类型说明](reference/js-service-widget-ui/js-service-widget-appendix-types.md) + - JS服务卡片UI框架说明 + - [文件组织](reference/js-service-widget-ui/js-service-widget-file.md) + - 语法 + - [HML语法参考](reference/js-service-widget-ui/js-service-widget-syntax-hml.md) + - [CSS语法参考](reference/js-service-widget-ui/js-service-widget-syntax-css.md) + - [多语言支持](reference/js-service-widget-ui/js-service-widget-multiple-languages.md) + - [版本兼容适配](reference/js-service-widget-ui/js-service-widget-version-compatibility.md) + - [设置主题样式](reference/js-service-widget-ui/js-service-widget-theme.md) + - 组件 + - 通用 + - [通用属性](reference/js-service-widget-ui/js-service-widget-common-attributes.md) + - [通用样式](reference/js-service-widget-ui/js-service-widget-common-styles.md) + - [通用事件](reference/js-service-widget-ui/js-service-widget-common-events.md) + - [渐变样式](reference/js-service-widget-ui/js-service-widget-common-gradient.md) + - [媒体查询](reference/js-service-widget-ui/js-service-widget-common-mediaquery.md) + - [自定义字体样式](reference/js-service-widget-ui/js-service-widget-common-customizing-font.md) + - [无障碍](reference/js-service-widget-ui/js-service-widget-common-accessibility.md) + - [原子布局](reference/js-service-widget-ui/js-service-widget-common-atomic-layout.md) + - 容器组件 + - [badge](reference/js-service-widget-ui/js-service-widget-container-badge.md) + - [div](reference/js-service-widget-ui/js-service-widget-container-div.md) + - [list](reference/js-service-widget-ui/js-service-widget-container-list.md) + - [list-item](reference/js-service-widget-ui/js-service-widget-container-list-item.md) + - [stack](reference/js-service-widget-ui/js-service-widget-container-stack.md) + - [swiper](reference/js-service-widget-ui/js-service-widget-container-swiper.md) + - 基础组件 + - [button](reference/js-service-widget-ui/js-service-widget-basic-button.md) + - [calendar](reference/js-service-widget-ui/js-service-widget-basic-calendar.md) + - [chart](reference/js-service-widget-ui/js-service-widget-basic-chart.md) + - [clock](reference/js-service-widget-ui/js-service-widget-basic-clock.md) + - [divider](reference/js-service-widget-ui/js-service-widget-basic-divider.md) + - [image](reference/js-service-widget-ui/js-service-widget-basic-image.md) + - [input](reference/js-service-widget-ui/js-service-widget-basic-input.md) + - [progress](reference/js-service-widget-ui/js-service-widget-basic-progress.md) + - [span](reference/js-service-widget-ui/js-service-widget-basic-span.md) + - [text](reference/js-service-widget-ui/js-service-widget-basic-text.md) + - [自定义组件使用说明](reference/js-service-widget-ui/js-service-widget-custom-basic-usage.md) + - [数据类型说明](reference/js-service-widget-ui/js-service-widget-appendix-types.md) - 接口参考(ArkTS及JS API) - - [开发说明](reference/apis/development-intro.md) - - Ability框架 - - Stage模型能力的接口(推荐) - - [@ohos.app.ability.Ability (Ability基类)](reference/apis/js-apis-app-ability-ability.md) - - [@ohos.app.ability.AbilityConstant (AbilityConstant)](reference/apis/js-apis-app-ability-abilityConstant.md) - - [@ohos.app.ability.abilityLifecycleCallback (AbilityLifecycleCallback)](reference/apis/js-apis-app-ability-abilityLifecycleCallback.md) - - [@ohos.app.ability.AbilityStage (AbilityStage)](reference/apis/js-apis-app-ability-abilityStage.md) - - [@ohos.app.ability.common (应用上下文Context)](reference/apis/js-apis-app-ability-common.md) - - [@ohos.app.ability.contextConstant (ContextConstant)](reference/apis/js-apis-app-ability-contextConstant.md) - - [@ohos.app.ability.EnvironmentCallback (EnvironmentCallback)](reference/apis/js-apis-app-ability-environmentCallback.md) - - [@ohos.app.ability.ExtensionAbility (扩展能力基类)](reference/apis/js-apis-app-ability-extensionAbility.md) - - [@ohos.app.ability.ServiceExtensionAbility (ServiceExtensionAbility)](reference/apis/js-apis-app-ability-serviceExtensionAbility.md) - - [@ohos.app.ability.StartOptions (StartOptions)](reference/apis/js-apis-app-ability-startOptions.md) - - [@ohos.app.ability.UIAbility (UIAbility)](reference/apis/js-apis-app-ability-uiAbility.md) - - [@ohos.app.form.FormExtensionAbility (FormExtensionAbility)](reference/apis/js-apis-app-form-formExtensionAbility.md) - - [@ohos.application.DataShareExtensionAbility (数据共享扩展能力)](reference/apis/js-apis-application-dataShareExtensionAbility.md) - - [@ohos.application.StaticSubscriberExtensionAbility (StaticSubscriberExtensionAbility)](reference/apis/js-apis-application-staticSubscriberExtensionAbility.md) - - Stage模型能力的接口(待停用) - - [@ohos.application.AbilityConstant (AbilityConstant)](reference/apis/js-apis-application-abilityConstant.md) - - [@ohos.application.AbilityStage (AbilityStage)](reference/apis/js-apis-application-abilityStage.md) - - [@ohos.application.EnvironmentCallback (EnvironmentCallback)](reference/apis/js-apis-application-environmentCallback.md) - - [@ohos.application.FormExtension (FormExtension)](reference/apis/js-apis-application-formExtension.md) - - [@ohos.application.ServiceExtensionAbility (ServiceExtensionAbility)](reference/apis/js-apis-application-serviceExtensionAbility.md) - - [@ohos.application.StartOptions (StartOptions)](reference/apis/js-apis-application-startOptions.md) - - FA模型能力的接口 - - [@ohos.ability.ability (Ability)](reference/apis/js-apis-ability-ability.md) - - [@ohos.ability.featureAbility (FeatureAbility模块)](reference/apis/js-apis-ability-featureAbility.md) - - [@ohos.ability.particleAbility (ParticleAbility模块)](reference/apis/js-apis-ability-particleAbility.md) - - 通用能力的接口(推荐) - - [@ohos.app.ability.abilityDelegatorRegistry (AbilityDelegatorRegistry)](reference/apis/js-apis-app-ability-abilityDelegatorRegistry.md) - - [@ohos.app.ability.abilityManager (AbilityManager)](reference/apis/js-apis-app-ability-abilityManager.md) - - [@ohos.app.ability.appManager (appManager)](reference/apis/js-apis-app-ability-appManager.md) - - [@ohos.app.ability.appRecovery (appRecovery)](reference/apis/js-apis-app-ability-appRecovery.md) - - [@ohos.app.ability.Configuration (Configuration)](reference/apis/js-apis-app-ability-configuration.md) - - [@ohos.app.ability.ConfigurationConstant (ConfigurationConstant)](reference/apis/js-apis-app-ability-configurationConstant.md) - - [@ohos.app.ability.errorManager (ErrorManager)](reference/apis/js-apis-app-ability-errorManager.md) - - [@ohos.app.ability.missionManager (missionManager)](reference/apis/js-apis-app-ability-missionManager.md) - - [@ohos.app.ability.quickFixManager (quickFixManager)](reference/apis/js-apis-app-ability-quickFixManager.md) - - [@ohos.app.ability.Want (Want)](reference/apis/js-apis-app-ability-want.md) - - [@ohos.app.ability.wantAgent (WantAgent模块)](reference/apis/js-apis-app-ability-wantAgent.md) - - [@ohos.app.ability.wantConstant (wantConstant)](reference/apis/js-apis-app-ability-wantConstant.md) - - [@ohos.app.form.formBindingData (卡片数据绑定类)](reference/apis/js-apis-app-form-formBindingData.md) - - [@ohos.app.form.formHost (FormHost)](reference/apis/js-apis-app-form-formHost.md) - - [@ohos.app.form.formInfo (FormInfo)](reference/apis/js-apis-app-form-formInfo.md) - - [@ohos.app.form.formProvider (FormProvider)](reference/apis/js-apis-app-form-formProvider.md) - - 通用能力的接口(待停用) - - [@ohos.ability.dataUriUtils (DataUriUtils模块)](reference/apis/js-apis-ability-dataUriUtils.md) - - [@ohos.ability.errorCode (ErrorCode)](reference/apis/js-apis-ability-errorCode.md) - - [@ohos.ability.wantConstant (wantConstant)](reference/apis/js-apis-ability-wantConstant.md) - - [@ohos.application.abilityDelegatorRegistry (AbilityDelegatorRegistry)](reference/apis/js-apis-application-abilityDelegatorRegistry.md) - - [@ohos.application.abilityManager (AbilityManager)](reference/apis/js-apis-application-abilityManager.md) - - [@ohos.application.appManager (appManager)](reference/apis/js-apis-application-appManager.md) - - [@ohos.application.Configuration (Configuration)](reference/apis/js-apis-application-configuration.md) - - [@ohos.application.ConfigurationConstant (ConfigurationConstant)](reference/apis/js-apis-application-configurationConstant.md) - - [@ohos.application.formBindingData (卡片数据绑定类)](reference/apis/js-apis-application-formBindingData.md) - - [@ohos.application.formError (FormError)](reference/apis/js-apis-application-formError.md) - - [@ohos.application.formHost (FormHost)](reference/apis/js-apis-application-formHost.md) - - [@ohos.application.formInfo (FormInfo)](reference/apis/js-apis-application-formInfo.md) - - [@ohos.application.formProvider (FormProvider)](reference/apis/js-apis-application-formProvider.md) - - [@ohos.application.missionManager (missionManager)](reference/apis/js-apis-application-missionManager.md) - - [@ohos.application.Want (Want)](reference/apis/js-apis-application-want.md) - - [@ohos.wantAgent (WantAgent模块)](reference/apis/js-apis-wantAgent.md) - - 接口依赖的元素及定义 - - ability - - [abilityResult](reference/apis/js-apis-inner-ability-abilityResult.md) - - [connectOptions](reference/apis/js-apis-inner-ability-connectOptions.md) - - [dataAbilityHelper](reference/apis/js-apis-inner-ability-dataAbilityHelper.md) - - [dataAbilityOperation](reference/apis/js-apis-inner-ability-dataAbilityOperation.md) - - [dataAbilityResult](reference/apis/js-apis-inner-ability-dataAbilityResult.md) - - [startAbilityParameter](reference/apis/js-apis-inner-ability-startAbilityParameter.md) - - [want](reference/apis/js-apis-inner-ability-want.md) - - app - - [appVersionInfo](reference/apis/js-apis-inner-app-appVersionInfo.md) - - [context](reference/apis/js-apis-inner-app-context.md) - - [processInfo](reference/apis/js-apis-inner-app-processInfo.md) + - [开发说明](reference/apis/development-intro.md) + - Ability框架 + - Stage模型能力的接口(推荐) + - [@ohos.app.ability.Ability (Ability基类)](reference/apis/js-apis-app-ability-ability.md) + - [@ohos.app.ability.AbilityConstant (AbilityConstant)](reference/apis/js-apis-app-ability-abilityConstant.md) + - [@ohos.app.ability.abilityLifecycleCallback (AbilityLifecycleCallback)](reference/apis/js-apis-app-ability-abilityLifecycleCallback.md) + - [@ohos.app.ability.AbilityStage (AbilityStage)](reference/apis/js-apis-app-ability-abilityStage.md) + - [@ohos.app.ability.common (应用上下文Context)](reference/apis/js-apis-app-ability-common.md) + - [@ohos.app.ability.contextConstant (ContextConstant)](reference/apis/js-apis-app-ability-contextConstant.md) + - [@ohos.app.ability.EnvironmentCallback (EnvironmentCallback)](reference/apis/js-apis-app-ability-environmentCallback.md) + - [@ohos.app.ability.ExtensionAbility (扩展能力基类)](reference/apis/js-apis-app-ability-extensionAbility.md) + - [@ohos.app.ability.ServiceExtensionAbility (ServiceExtensionAbility)](reference/apis/js-apis-app-ability-serviceExtensionAbility.md) + - [@ohos.app.ability.StartOptions (StartOptions)](reference/apis/js-apis-app-ability-startOptions.md) + - [@ohos.app.ability.UIAbility (UIAbility)](reference/apis/js-apis-app-ability-uiAbility.md) + - [@ohos.app.form.FormExtensionAbility (FormExtensionAbility)](reference/apis/js-apis-app-form-formExtensionAbility.md) + - [@ohos.application.DataShareExtensionAbility (数据共享扩展能力)](reference/apis/js-apis-application-dataShareExtensionAbility.md) + - [@ohos.application.StaticSubscriberExtensionAbility (StaticSubscriberExtensionAbility)](reference/apis/js-apis-application-staticSubscriberExtensionAbility.md) + - FA模型能力的接口 + - [@ohos.ability.ability (Ability)](reference/apis/js-apis-ability-ability.md) + - [@ohos.ability.featureAbility (FeatureAbility模块)](reference/apis/js-apis-ability-featureAbility.md) + - [@ohos.ability.particleAbility (ParticleAbility模块)](reference/apis/js-apis-ability-particleAbility.md) + - 通用能力的接口(推荐) + - [@ohos.app.ability.abilityDelegatorRegistry (AbilityDelegatorRegistry)](reference/apis/js-apis-app-ability-abilityDelegatorRegistry.md) + - [@ohos.app.ability.abilityManager (AbilityManager)](reference/apis/js-apis-app-ability-abilityManager.md) + - [@ohos.app.ability.appManager (appManager)](reference/apis/js-apis-app-ability-appManager.md) + - [@ohos.app.ability.appRecovery (appRecovery)](reference/apis/js-apis-app-ability-appRecovery.md) + - [@ohos.app.ability.Configuration (Configuration)](reference/apis/js-apis-app-ability-configuration.md) + - [@ohos.app.ability.ConfigurationConstant (ConfigurationConstant)](reference/apis/js-apis-app-ability-configurationConstant.md) + - [@ohos.app.ability.dataUriUtils (DataUriUtils模块)](reference/apis/js-apis-app-ability-dataUriUtils.md) + - [@ohos.app.ability.dialogRequest (dialogRequest模块)](reference/apis/js-apis-app-ability-dialogRequest.md) + - [@ohos.app.ability.errorManager (ErrorManager)](reference/apis/js-apis-app-ability-errorManager.md) + - [@ohos.app.ability.missionManager (missionManager)](reference/apis/js-apis-app-ability-missionManager.md) + - [@ohos.app.ability.quickFixManager (quickFixManager)](reference/apis/js-apis-app-ability-quickFixManager.md) + - [@ohos.app.ability.Want (Want)](reference/apis/js-apis-app-ability-want.md) + - [@ohos.app.ability.wantAgent (WantAgent模块)](reference/apis/js-apis-app-ability-wantAgent.md) + - [@ohos.app.ability.wantConstant (wantConstant)](reference/apis/js-apis-app-ability-wantConstant.md) + - [@ohos.app.form.formBindingData (卡片数据绑定类)](reference/apis/js-apis-app-form-formBindingData.md) + - [@ohos.app.form.formHost (FormHost)](reference/apis/js-apis-app-form-formHost.md) + - [@ohos.app.form.formInfo (FormInfo)](reference/apis/js-apis-app-form-formInfo.md) + - [@ohos.app.form.formProvider (FormProvider)](reference/apis/js-apis-app-form-formProvider.md) + - 通用能力的接口(待停用) + - [@ohos.ability.dataUriUtils (DataUriUtils模块)](reference/apis/js-apis-ability-dataUriUtils.md) + - [@ohos.ability.errorCode (ErrorCode)](reference/apis/js-apis-ability-errorCode.md) + - [@ohos.ability.wantConstant (wantConstant)](reference/apis/js-apis-ability-wantConstant.md) + - [@ohos.application.abilityDelegatorRegistry (AbilityDelegatorRegistry)](reference/apis/js-apis-application-abilityDelegatorRegistry.md) + - [@ohos.application.abilityManager (AbilityManager)](reference/apis/js-apis-application-abilityManager.md) + - [@ohos.application.appManager (appManager)](reference/apis/js-apis-application-appManager.md) + - [@ohos.application.Configuration (Configuration)](reference/apis/js-apis-application-configuration.md) + - [@ohos.application.ConfigurationConstant (ConfigurationConstant)](reference/apis/js-apis-application-configurationConstant.md) + - [@ohos.application.formBindingData (卡片数据绑定类)](reference/apis/js-apis-application-formBindingData.md) + - [@ohos.application.formError (FormError)](reference/apis/js-apis-application-formError.md) + - [@ohos.application.formHost (FormHost)](reference/apis/js-apis-application-formHost.md) + - [@ohos.application.formInfo (FormInfo)](reference/apis/js-apis-application-formInfo.md) + - [@ohos.application.formProvider (FormProvider)](reference/apis/js-apis-application-formProvider.md) + - [@ohos.application.missionManager (missionManager)](reference/apis/js-apis-application-missionManager.md) + - [@ohos.application.Want (Want)](reference/apis/js-apis-application-want.md) + - [@ohos.wantAgent (WantAgent模块)](reference/apis/js-apis-wantAgent.md) + - 接口依赖的元素及定义 + - ability + - [abilityResult](reference/apis/js-apis-inner-ability-abilityResult.md) + - [connectOptions](reference/apis/js-apis-inner-ability-connectOptions.md) + - [dataAbilityHelper](reference/apis/js-apis-inner-ability-dataAbilityHelper.md) + - [dataAbilityOperation](reference/apis/js-apis-inner-ability-dataAbilityOperation.md) + - [dataAbilityResult](reference/apis/js-apis-inner-ability-dataAbilityResult.md) + - [startAbilityParameter](reference/apis/js-apis-inner-ability-startAbilityParameter.md) + - [want](reference/apis/js-apis-inner-ability-want.md) + - app + - [appVersionInfo](reference/apis/js-apis-inner-app-appVersionInfo.md) + - [context](reference/apis/js-apis-inner-app-context.md) + - [processInfo](reference/apis/js-apis-inner-app-processInfo.md) + - application + - [abilityDelegator](reference/apis/js-apis-inner-application-abilityDelegator.md) + - [abilityDelegatorArgs](reference/apis/js-apis-inner-application-abilityDelegatorArgs.md) + - [abilityMonitor](reference/apis/js-apis-inner-application-abilityMonitor.md) + - [AbilityRunningInfo](reference/apis/js-apis-inner-application-abilityRunningInfo.md) + - [AbilityStageContext](reference/apis/js-apis-inner-application-abilityStageContext.md) + - [AbilityStateData](reference/apis/js-apis-inner-application-abilityStateData.md) + - [abilityStageMonitor](reference/apis/js-apis-inner-application-abilityStageMonitor.md) + - [ApplicationContext](reference/apis/js-apis-inner-application-applicationContext.md) + - [ApplicationStateObserver](reference/apis/js-apis-inner-application-applicationStateObserver.md) + - [AppStateData](reference/apis/js-apis-inner-application-appStateData.md) + - [BaseContext](reference/apis/js-apis-inner-application-baseContext.md) + - [Context](reference/apis/js-apis-inner-application-context.md) + - [ContinueCallback](reference/apis/js-apis-inner-application-continueCallback.md) + - [ContinueDeviceInfo](reference/apis/js-apis-inner-application-continueDeviceInfo.md) + - [ErrorObserver](reference/apis/js-apis-inner-application-errorObserver.md) + - [ExtensionContext](reference/apis/js-apis-inner-application-extensionContext.md) + - [ExtensionRunningInfo](reference/apis/js-apis-inner-application-extensionRunningInfo.md) + - [FormExtensionContext](reference/apis/js-apis-inner-application-formExtensionContext.md) + - [MissionCallbacks](reference/apis/js-apis-inner-application-missionCallbacks.md) + - [MissionDeviceInfo](reference/apis/js-apis-inner-application-missionDeviceInfo.md) + - [MissionInfo](reference/apis/js-apis-inner-application-missionInfo.md) + - [MissionListener](reference/apis/js-apis-inner-application-missionListener.md) + - [MissionParameter](reference/apis/js-apis-inner-application-missionParameter.md) + - [MissionSnapshot](reference/apis/js-apis-inner-application-missionSnapshot.md) + - [ProcessData](reference/apis/js-apis-inner-application-processData.md) + - [ProcessRunningInfo](reference/apis/js-apis-inner-application-processRunningInfo.md) + - [ProcessInformation](reference/apis/js-apis-inner-application-processInformation.md) + - [ServiceExtensionContext](reference/apis/js-apis-inner-application-serviceExtensionContext.md) + - [UIAbilityContext](reference/apis/js-apis-inner-application-uiAbilityContext.md) + - [shellCmdResult](reference/apis/js-apis-inner-application-shellCmdResult.md) + - [WindowExtensionContext](reference/apis/js-apis-inner-application-windowExtensionContext.md) + - wantAgent + - [triggerInfo](reference/apis/js-apis-inner-wantAgent-triggerInfo.md) + - [wantAgentInfo](reference/apis/js-apis-inner-wantAgent-wantAgentInfo.md) + - 流转 + - [@ohos.continuation.continuationManager (continuationManager)](reference/apis/js-apis-continuation-continuationManager.md) + - continuation + - [continuationExtraParams](reference/apis/js-apis-continuation-continuationExtraParams.md) + - [continuationResult](reference/apis/js-apis-continuation-continuationResult.md) + - 公共事件与通知 + - [@ohos.commonEventManager (公共事件模块)(推荐)](reference/apis/js-apis-commonEventManager.md) + - [commonEvent-definitions (系统公共事件定义)(推荐)](reference/apis/commonEventManager-definitions.md) + - [@ohos.events.emitter (Emitter)](reference/apis/js-apis-emitter.md) + - [@ohos.notificationManager (NotificationManager模块)(推荐)](reference/apis/js-apis-notificationManager.md) + - [@ohos.notificationSubscribe (NotificationSubscribe模块)(推荐)](reference/apis/js-apis-notificationSubscribe.md) + - [@ohos.commonEvent (公共事件模块)(待停用)](reference/apis/js-apis-commonEvent.md) + - [commonEvent-definitions (系统公共事件定义)(待停用)](reference/apis/commonEvent-definitions.md) + - [@ohos.notification (Notification模块)(待停用)](reference/apis/js-apis-notification.md) + - application + - [EventHub](reference/apis/js-apis-inner-application-eventHub.md) + - commonEvent + - [CommonEventData](reference/apis/js-apis-inner-commonEvent-commonEventData.md) + - [CommonEventPublishData](reference/apis/js-apis-inner-commonEvent-commonEventPublishData.md) + - [CommonEventSubscriber](reference/apis/js-apis-inner-commonEvent-commonEventSubscriber.md) + - [CommonEventSubscribeInfo](reference/apis/js-apis-inner-commonEvent-commonEventSubscribeInfo.md) + - notification + - [NotificationActionButton](reference/apis/js-apis-inner-notification-notificationActionButton.md) + - [NotificationCommonDef](reference/apis/js-apis-inner-notification-notificationCommonDef.md) + - [NotificationContent](reference/apis/js-apis-inner-notification-notificationContent.md) + - [NotificationFlags](reference/apis/js-apis-inner-notification-notificationFlags.md) + - [NotificationRequest](reference/apis/js-apis-inner-notification-notificationRequest.md) + - [NotificationSlot](reference/apis/js-apis-inner-notification-notificationSlot.md) + - [NotificationTemplate](reference/apis/js-apis-inner-notification-notificationTemplate.md) + - [NotificationUserInput](reference/apis/js-apis-inner-notification-notificationUserInput.md) + - 包管理 + - [@ohos.bundle.appControl (appControl模块)](reference/apis/js-apis-appControl.md) + - [@ohos.bundle.bundleManager (bundleManager模块)](reference/apis/js-apis-bundleManager.md) + - [@ohos.bundle.bundleMonitor (bundleMonitor模块)](reference/apis/js-apis-bundleMonitor.md) + - [@ohos.bundle.defaultAppManager (默认应用管理)](reference/apis/js-apis-defaultAppManager.md) + - [@ohos.bundle.distributedBundleManager (distributedBundleManager模块)](reference/apis/js-apis-distributedBundleManager.md) + - [@ohos.bundle.freeInstall (freeInstall模块)](reference/apis/js-apis-freeInstall.md) + - [@ohos.bundle.installer (installer模块)](reference/apis/js-apis-installer.md) + - [@ohos.bundle.launcherBundleManager (launcherBundleManager模块)](reference/apis/js-apis-launcherBundleManager.md) + - [@ohos.zlib (Zip模块)](reference/apis/js-apis-zlib.md) + - bundleManager + - [abilityInfo](reference/apis/js-apis-bundleManager-abilityInfo.md) + - [applicationInfo](reference/apis/js-apis-bundleManager-applicationInfo.md) + - [bundleInfo](reference/apis/js-apis-bundleManager-bundleInfo.md) + - [BundlePackInfo](reference/apis/js-apis-bundleManager-BundlePackInfo.md) + - [dispatchInfo](reference/apis/js-apis-bundleManager-dispatchInfo.md) + - [elementName](reference/apis/js-apis-bundleManager-elementName.md) + - [extensionAbilityInfo](reference/apis/js-apis-bundleManager-extensionAbilityInfo.md) + - [hapModuleInfo](reference/apis/js-apis-bundleManager-hapModuleInfo.md) + - [launcherAbilityInfo](reference/apis/js-apis-bundleManager-launcherAbilityInfo.md) + - [metadata](reference/apis/js-apis-bundleManager-metadata.md) + - [permissionDef](reference/apis/js-apis-bundleManager-permissionDef.md) + - [remoteAbilityInfo](reference/apis/js-apis-bundleManager-remoteAbilityInfo.md) + - [shortcutInfo](reference/apis/js-apis-bundleManager-shortcutInfo.md) + - UI界面 + - [@ohos.animator (动画)](reference/apis/js-apis-animator.md) + - [@ohos.curves (插值计算)](reference/apis/js-apis-curve.md) + - [@ohos.matrix4 (矩阵变换)](reference/apis/js-apis-matrix4.md) + - [@ohos.mediaquery (媒体查询)](reference/apis/js-apis-mediaquery.md) + - [@ohos.pluginComponent(PluginComponentManager)](reference/apis/js-apis-plugincomponent.md) + - [@ohos.promptAction (弹窗)](reference/apis/js-apis-promptAction.md) + - [@ohos.router (页面路由)](reference/apis/js-apis-router.md) + - [@ohos.measure (文本计算)](reference/apis/js-apis-measure.md) + - 图形图像 + - [@ohos.animation.windowAnimationManager (窗口动画管理)](reference/apis/js-apis-windowAnimationManager.md) + - [@ohos.application.WindowExtensionAbility (窗口扩展能力)](reference/apis/js-apis-application-windowExtensionAbility.md) + - [@ohos.display (屏幕属性)](reference/apis/js-apis-display.md) + - [@ohos.effectKit (图像效果)](reference/apis/js-apis-effectKit.md) + - [@ohos.graphics.colorSpaceManager (色彩管理)](reference/apis/js-apis-colorSpaceManager.md) + - [@ohos.screen (屏幕)](reference/apis/js-apis-screen.md) + - [@ohos.screenshot (屏幕截图)](reference/apis/js-apis-screenshot.md) + - [@ohos.window (窗口)](reference/apis/js-apis-window.md) + - webgl + - [webgl (WebGL)](reference/apis/js-apis-webgl.md) + - [webgl2 (WebGL2)](reference/apis/js-apis-webgl2.md) + - 媒体 + - [@ohos.multimedia.audio (音频管理)](reference/apis/js-apis-audio.md) + - [@ohos.multimedia.avsession (媒体会话管理)](reference/apis/js-apis-avsession.md) + - [@ohos.multimedia.camera (相机管理)](reference/apis/js-apis-camera.md) + - [@ohos.multimedia.image (图片处理)](reference/apis/js-apis-image.md) + - [@ohos.multimedia.media (媒体服务)](reference/apis/js-apis-media.md) + - 资源管理 + - [@ohos.i18n (国际化-I18n)](reference/apis/js-apis-i18n.md) + - [@ohos.intl (国际化-Intl)](reference/apis/js-apis-intl.md) + - [@ohos.resourceManager (资源管理)](reference/apis/js-apis-resource-manager.md) + - 后台任务 + - [@ohos.distributedMissionManager (分布式任务管理)](reference/apis/js-apis-distributedMissionManager.md) + - [@ohos.reminderAgentManager (后台代理提醒)](reference/apis/js-apis-reminderAgentManager.md) + - [@ohos.resourceschedule.backgroundTaskManager (后台任务管理)](reference/apis/js-apis-resourceschedule-backgroundTaskManager.md) + - [@ohos.resourceschedule.workScheduler (延迟任务调度)](reference/apis/js-apis-resourceschedule-workScheduler.md) + - [@ohos.resourceschedule.usageStatistics (设备使用信息统计)](reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md) + - [@ohos.WorkSchedulerExtensionAbility (延迟任务调度回调)](reference/apis/js-apis-WorkSchedulerExtensionAbility.md) + - 安全 + - [@ohos.abilityAccessCtrl (程序访问控制管理)](reference/apis/js-apis-abilityAccessCtrl.md) + - [@ohos.privacyManager (隐私管理)](reference/apis/js-apis-privacyManager.md) + - [@ohos.security.cert (证书模块)](reference/apis/js-apis-cert.md) + - [@ohos.security.cryptoFramework (加解密算法库框架)](reference/apis/js-apis-cryptoFramework.md) + - [@ohos.security.huks (通用密钥库系统)](reference/apis/js-apis-huks.md) + - [@ohos.userIAM.faceAuth (人脸认证)](reference/apis/js-apis-useriam-faceauth.md) + - [@ohos.userIAM.userAuth (用户认证)](reference/apis/js-apis-useriam-userauth.md) + - [@system.cipher (加密算法)](reference/apis/js-apis-system-cipher.md) + - security + - [PermissionRequestResult](reference/apis/js-apis-permissionrequestresult.md) + - 数据管理 + - [@ohos.data.dataAbility (DataAbility谓词)](reference/apis/js-apis-data-ability.md) + - [@ohos.data.dataShare (数据共享)](reference/apis/js-apis-data-dataShare.md) + - [@ohos.data.dataSharePredicates (数据共享谓词)](reference/apis/js-apis-data-dataSharePredicates.md) + - [@ohos.data.dataShareResultSet (数据共享结果集)](reference/apis/js-apis-data-DataShareResultSet.md) + - [@ohos.data.distributedDataObject (分布式数据对象)](reference/apis/js-apis-data-distributedobject.md) + - [@ohos.data.distributedKVStore (分布式键值数据库)](reference/apis/js-apis-distributedKVStore.md) + - [@ohos.data.preferences (首选项)](reference/apis/js-apis-data-preferences.md) + - [@ohos.data.relationalStore (关系型数据库)](reference/apis/js-apis-data-relationalStore.md) + - [@ohos.data.ValuesBucket (数据集)](reference/apis/js-apis-data-valuesBucket.md) + - data/rdb + - [resultSet (结果集)](reference/apis/js-apis-data-resultset.md) + - 文件管理 + - [@ohos.file.environment (目录环境能力)](reference/apis/js-apis-file-environment.md) + - [@ohos.file.fileAccess (公共文件访问与管理)](reference/apis/js-apis-fileAccess.md) + - [@ohos.file.fileExtensionInfo (公共文件访问与管理属性信息)](reference/apis/js-apis-fileExtensionInfo.md) + - [@ohos.file.fs (文件管理)](reference/apis/js-apis-file-fs.md) + - [@ohos.file.hash (文件哈希处理)](reference/apis/js-apis-file-hash.md) + - [@ohos.file.picker (选择器)](reference/apis/js-apis-file-picker.md) + - [@ohos.file.securityLabel (数据标签)](reference/apis/js-apis-file-securityLabel.md) + - [@ohos.file.statvfs (文件系统空间统计)](reference/apis/js-apis-file-statvfs.md) + - [@ohos.file.storageStatistics (应用空间统计)](reference/apis/js-apis-file-storage-statistics.md) + - [@ohos.file.volumeManager (卷管理)](reference/apis/js-apis-file-volumemanager.md) + - [@ohos.filemanagement.userFileManager (用户数据管理)](reference/apis/js-apis-userFileManager.md) + - 电话服务 + - [@ohos.contact (联系人)](reference/apis/js-apis-contact.md) + - [@ohos.telephony.call (拨打电话)](reference/apis/js-apis-call.md) + - [@ohos.telephony.data (蜂窝数据)](reference/apis/js-apis-telephony-data.md) + - [@ohos.telephony.observer (observer)](reference/apis/js-apis-observer.md) + - [@ohos.telephony.radio (网络搜索)](reference/apis/js-apis-radio.md) + - [@ohos.telephony.sim (SIM卡管理)](reference/apis/js-apis-sim.md) + - [@ohos.telephony.sms (短信服务)](reference/apis/js-apis-sms.md) + - 网络管理 + - [@ohos.net.connection (网络连接管理)](reference/apis/js-apis-net-connection.md) + - [@ohos.net.ethernet (以太网连接管理)](reference/apis/js-apis-net-ethernet.md) + - [@ohos.net.http (数据请求)](reference/apis/js-apis-http.md) + - [@ohos.net.policy (网络策略管理)](reference/apis/js-apis-net-policy.md) + - [@ohos.net.sharing (网络共享管理)](reference/apis/js-apis-net-sharing.md) + - [@ohos.net.socket (Socket连接)](reference/apis/js-apis-socket.md) + - [@ohos.net.webSocket (WebSocket连接)](reference/apis/js-apis-webSocket.md) + - [@ohos.request (上传下载)](reference/apis/js-apis-request.md) + - 通信与连接 + - [@ohos.bluetoothManager (蓝牙)](reference/apis/js-apis-bluetoothManager.md) + - [@ohos.connectedTag (有源标签)](reference/apis/js-apis-connectedTag.md) + - [@ohos.nfc.cardEmulation (标准NFC-cardEmulation)](reference/apis/js-apis-cardEmulation.md) + - [@ohos.nfc.controller (标准NFC)](reference/apis/js-apis-nfcController.md) + - [@ohos.nfc.tag (标准NFC-Tag)](reference/apis/js-apis-nfcTag.md) + - [@ohos.rpc (RPC通信)](reference/apis/js-apis-rpc.md) + - [@ohos.wifiManager (WLAN)(推荐)](reference/apis/js-apis-wifiManager.md) + - [@ohos.wifiManagerExt (WLAN扩展接口)(推荐)](reference/apis/js-apis-wifiManagerExt.md) + - [@ohos.wifi (WLAN)(待停用)](reference/apis/js-apis-wifi.md) + - [@ohos.wifiext (WLAN扩展接口)(待停用)](reference/apis/js-apis-wifiext.md) + - tag + - [nfctech (标准NFC-Tag Nfc 技术)](reference/apis/js-apis-nfctech.md) + - [tagSession (标准NFC-Tag TagSession)](reference/apis/js-apis-tagSession.md) + - 系统基础能力 + - [@ohos.accessibility (辅助功能)](reference/apis/js-apis-accessibility.md) + - [@ohos.accessibility.config (系统辅助功能配置)](reference/apis/js-apis-accessibility-config.md) + - [@ohos.accessibility.GesturePath (手势路径)](reference/apis/js-apis-accessibility-GesturePath.md) + - [@ohos.accessibility.GesturePoint (手势触摸点)](reference/apis/js-apis-accessibility-GesturePoint.md) + - [@ohos.application.AccessibilityExtensionAbility (辅助功能扩展能力)](reference/apis/js-apis-application-accessibilityExtensionAbility.md) + - [@ohos.faultLogger (故障日志获取)](reference/apis/js-apis-faultLogger.md) + - [@ohos.hichecker (检测模式)](reference/apis/js-apis-hichecker.md) + - [@ohos.hidebug (Debug调试)](reference/apis/js-apis-hidebug.md) + - [@ohos.hilog (HiLog日志打印)](reference/apis/js-apis-hilog.md) + - [@ohos.hiSysEvent (系统事件打点)](reference/apis/js-apis-hisysevent.md) + - [@ohos.hiTraceChain (分布式跟踪)](reference/apis/js-apis-hitracechain.md) + - [@ohos.hiTraceMeter (性能打点)](reference/apis/js-apis-hitracemeter.md) + - [@ohos.hiviewdfx.hiAppEvent (应用事件打点)](reference/apis/js-apis-hiviewdfx-hiappevent.md) + - [@ohos.inputMethod (输入法框架)](reference/apis/js-apis-inputmethod.md) + - [@ohos.inputMethodEngine (输入法服务)](reference/apis/js-apis-inputmethodengine.md) + - [@ohos.InputMethodExtensionAbility (InputMethodExtensionAbility)](reference/apis/js-apis-inputmethod-extension-ability.md) + - [@ohos.InputMethodExtensionContext (InputMethodExtensionContext)](reference/apis/js-apis-inputmethod-extension-context.md) + - [@ohos.InputMethodSubtype (输入法子类型)](reference/apis/js-apis-inputmethod-subtype.md) + - [@ohos.pasteboard (剪贴板)](reference/apis/js-apis-pasteboard.md) + - [@ohos.screenLock (锁屏管理)](reference/apis/js-apis-screen-lock.md) + - [@ohos.systemDateTime (系统时间、时区)](reference/apis/js-apis-system-date-time.md) + - [@ohos.systemTimer (系统定时器)](reference/apis/js-apis-system-timer.md) + - [@ohos.wallpaper (壁纸)](reference/apis/js-apis-wallpaper.md) + - [@ohos.web.webview (Webview)](reference/apis/js-apis-webview.md) + - [console (日志打印)](reference/apis/js-apis-logs.md) + - [Timer (定时器)](reference/apis/js-apis-timer.md) - application - - [abilityDelegator](reference/apis/js-apis-inner-application-abilityDelegator.md) - - [abilityDelegatorArgs](reference/apis/js-apis-inner-application-abilityDelegatorArgs.md) - - [abilityMonitor](reference/apis/js-apis-inner-application-abilityMonitor.md) - - [AbilityRunningInfo](reference/apis/js-apis-inner-application-abilityRunningInfo.md) - - [AbilityStageContext](reference/apis/js-apis-inner-application-abilityStageContext.md) - - [AbilityStateData](reference/apis/js-apis-inner-application-abilityStateData.md) - - [abilityStageMonitor](reference/apis/js-apis-inner-application-abilityStageMonitor.md) - - [ApplicationContext](reference/apis/js-apis-inner-application-applicationContext.md) - - [ApplicationStateObserver](reference/apis/js-apis-inner-application-applicationStateObserver.md) - - [AppStateData](reference/apis/js-apis-inner-application-appStateData.md) - - [BaseContext](reference/apis/js-apis-inner-application-baseContext.md) - - [Context](reference/apis/js-apis-inner-application-context.md) - - [ContinueCallback](reference/apis/js-apis-inner-application-continueCallback.md) - - [ContinueDeviceInfo](reference/apis/js-apis-inner-application-continueDeviceInfo.md) - - [ErrorObserver](reference/apis/js-apis-inner-application-errorObserver.md) - - [ExtensionContext](reference/apis/js-apis-inner-application-extensionContext.md) - - [ExtensionRunningInfo](reference/apis/js-apis-inner-application-extensionRunningInfo.md) - - [FormExtensionContext](reference/apis/js-apis-inner-application-formExtensionContext.md) - - [MissionCallbacks](reference/apis/js-apis-inner-application-missionCallbacks.md) - - [MissionDeviceInfo](reference/apis/js-apis-inner-application-missionDeviceInfo.md) - - [MissionInfo](reference/apis/js-apis-inner-application-missionInfo.md) - - [MissionListener](reference/apis/js-apis-inner-application-missionListener.md) - - [MissionParameter](reference/apis/js-apis-inner-application-missionParameter.md) - - [MissionSnapshot](reference/apis/js-apis-inner-application-missionSnapshot.md) - - [ProcessData](reference/apis/js-apis-inner-application-processData.md) - - [ProcessRunningInfo](reference/apis/js-apis-inner-application-processRunningInfo.md) - - [ProcessInformation](reference/apis/js-apis-inner-application-processInformation.md) - - [ServiceExtensionContext](reference/apis/js-apis-inner-application-serviceExtensionContext.md) - - [UIAbilityContext](reference/apis/js-apis-inner-application-uiAbilityContext.md) - - [shellCmdResult](reference/apis/js-apis-inner-application-shellCmdResult.md) - - [WindowExtensionContext](reference/apis/js-apis-inner-application-windowExtensionContext.md) - - wantAgent - - [triggerInfo](reference/apis/js-apis-inner-wantAgent-triggerInfo.md) - - [wantAgentInfo](reference/apis/js-apis-inner-wantAgent-wantAgentInfo.md) - - 流转 - - [@ohos.continuation.continuationManager (continuationManager)](reference/apis/js-apis-continuation-continuationManager.md) - - continuation - - [continuationExtraParams](reference/apis/js-apis-continuation-continuationExtraParams.md) - - [continuationResult](reference/apis/js-apis-continuation-continuationResult.md) - - 公共事件与通知 - - [@ohos.commonEventManager (公共事件模块)(推荐)](reference/apis/js-apis-commonEventManager.md) - - [commonEvent-definitions (系统公共事件定义)(推荐)](reference/apis/commonEventManager-definitions.md) - - [@ohos.events.emitter (Emitter)](reference/apis/js-apis-emitter.md) - - [@ohos.notificationManager (NotificationManager模块)(推荐)](reference/apis/js-apis-notificationManager.md) - - [@ohos.notificationSubscribe (NotificationSubscribe模块)(推荐)](reference/apis/js-apis-notificationSubscribe.md) - - [@ohos.commonEvent (公共事件模块)(待停用)](reference/apis/js-apis-commonEvent.md) - - [commonEvent-definitions (系统公共事件定义)(待停用)](reference/apis/commonEvent-definitions.md) - - [@ohos.notification (Notification模块)(待停用)](reference/apis/js-apis-notification.md) - - application - - [EventHub](reference/apis/js-apis-inner-application-eventHub.md) - - commonEvent - - [CommonEventData](reference/apis/js-apis-inner-commonEvent-commonEventData.md) - - [CommonEventPublishData](reference/apis/js-apis-inner-commonEvent-commonEventPublishData.md) - - [CommonEventSubscriber](reference/apis/js-apis-inner-commonEvent-commonEventSubscriber.md) - - [CommonEventSubscribeInfo](reference/apis/js-apis-inner-commonEvent-commonEventSubscribeInfo.md) - - notification - - [NotificationActionButton](reference/apis/js-apis-inner-notification-notificationActionButton.md) - - [NotificationCommonDef](reference/apis/js-apis-inner-notification-notificationCommonDef.md) - - [NotificationContent](reference/apis/js-apis-inner-notification-notificationContent.md) - - [NotificationFlags](reference/apis/js-apis-inner-notification-notificationFlags.md) - - [NotificationRequest](reference/apis/js-apis-inner-notification-notificationRequest.md) - - [NotificationSlot](reference/apis/js-apis-inner-notification-notificationSlot.md) - - [NotificationTemplate](reference/apis/js-apis-inner-notification-notificationTemplate.md) - - [NotificationUserInput](reference/apis/js-apis-inner-notification-notificationUserInput.md) - - 包管理 - - [@ohos.bundle.appControl (appControl模块)](reference/apis/js-apis-appControl.md) - - [@ohos.bundle.bundleManager (bundleManager模块)](reference/apis/js-apis-bundleManager.md) - - [@ohos.bundle.bundleMonitor (bundleMonitor模块)](reference/apis/js-apis-bundleMonitor.md) - - [@ohos.bundle.defaultAppManager (默认应用管理)](reference/apis/js-apis-defaultAppManager.md) - - [@ohos.bundle.distributedBundleManager (distributedBundleManager模块)](reference/apis/js-apis-distributedBundleManager.md) - - [@ohos.bundle.freeInstall (freeInstall模块)](reference/apis/js-apis-freeInstall.md) - - [@ohos.bundle.installer (installer模块)](reference/apis/js-apis-installer.md) - - [@ohos.bundle.launcherBundleManager (launcherBundleManager模块)](reference/apis/js-apis-launcherBundleManager.md) - - [@ohos.zlib (Zip模块)](reference/apis/js-apis-zlib.md) - - bundleManager - - [abilityInfo](reference/apis/js-apis-bundleManager-abilityInfo.md) - - [applicationInfo](reference/apis/js-apis-bundleManager-applicationInfo.md) - - [bundleInfo](reference/apis/js-apis-bundleManager-bundleInfo.md) - - [BundlePackInfo](reference/apis/js-apis-bundleManager-BundlePackInfo.md) - - [dispatchInfo](reference/apis/js-apis-bundleManager-dispatchInfo.md) - - [elementName](reference/apis/js-apis-bundleManager-elementName.md) - - [extensionAbilityInfo](reference/apis/js-apis-bundleManager-extensionAbilityInfo.md) - - [hapModuleInfo](reference/apis/js-apis-bundleManager-hapModuleInfo.md) - - [launcherAbilityInfo](reference/apis/js-apis-bundleManager-launcherAbilityInfo.md) - - [metadata](reference/apis/js-apis-bundleManager-metadata.md) - - [permissionDef](reference/apis/js-apis-bundleManager-permissionDef.md) - - [remoteAbilityInfo](reference/apis/js-apis-bundleManager-remoteAbilityInfo.md) - - [shortcutInfo](reference/apis/js-apis-bundleManager-shortcutInfo.md) - - UI界面 - - [@ohos.animator (动画)](reference/apis/js-apis-animator.md) - - [@ohos.curves (插值计算)](reference/apis/js-apis-curve.md) - - [@ohos.matrix4 (矩阵变换)](reference/apis/js-apis-matrix4.md) - - [@ohos.mediaquery (媒体查询)](reference/apis/js-apis-mediaquery.md) - - [@ohos.pluginComponent(PluginComponentManager)](reference/apis/js-apis-plugincomponent.md) - - [@ohos.promptAction (弹窗)](reference/apis/js-apis-promptAction.md) - - [@ohos.router (页面路由)](reference/apis/js-apis-router.md) - - 图形图像 - - [@ohos.animation.windowAnimationManager (窗口动画管理)](reference/apis/js-apis-windowAnimationManager.md) - - [@ohos.application.WindowExtensionAbility (窗口扩展能力)](reference/apis/js-apis-application-windowExtensionAbility.md) - - [@ohos.display (屏幕属性)](reference/apis/js-apis-display.md) - - [@ohos.effectKit (图像效果)](reference/apis/js-apis-effectKit.md) - - [@ohos.graphics.colorSpaceManager (色彩管理)](reference/apis/js-apis-colorSpaceManager.md) - - [@ohos.screen (屏幕)](reference/apis/js-apis-screen.md) - - [@ohos.screenshot (屏幕截图)](reference/apis/js-apis-screenshot.md) - - [@ohos.window (窗口)](reference/apis/js-apis-window.md) - - webgl - - [webgl (WebGL)](reference/apis/js-apis-webgl.md) - - [webgl2 (WebGL2)](reference/apis/js-apis-webgl2.md) - - 媒体 - - [@ohos.multimedia.audio (音频管理)](reference/apis/js-apis-audio.md) - - [@ohos.multimedia.avsession (媒体会话管理)](reference/apis/js-apis-avsession.md) - - [@ohos.multimedia.camera (相机管理)](reference/apis/js-apis-camera.md) - - [@ohos.multimedia.image (图片处理)](reference/apis/js-apis-image.md) - - [@ohos.multimedia.media (媒体服务)](reference/apis/js-apis-media.md) - - 资源管理 - - [@ohos.i18n (国际化-I18n)](reference/apis/js-apis-i18n.md) - - [@ohos.intl (国际化-Intl)](reference/apis/js-apis-intl.md) - - [@ohos.resourceManager (资源管理)](reference/apis/js-apis-resource-manager.md) - - 后台任务 - - [@ohos.distributedMissionManager (分布式任务管理)](reference/apis/js-apis-distributedMissionManager.md) - - [@ohos.reminderAgentManager (后台代理提醒)](reference/apis/js-apis-reminderAgentManager.md) - - [@ohos.resourceschedule.backgroundTaskManager (后台任务管理)](reference/apis/js-apis-resourceschedule-backgroundTaskManager.md) - - [@ohos.resourceschedule.workScheduler (延迟任务调度)](reference/apis/js-apis-resourceschedule-workScheduler.md) - - [@ohos.resourceschedule.usageStatistics (设备使用信息统计)](reference/apis/js-apis-resourceschedule-deviceUsageStatistics.md) - - [@ohos.WorkSchedulerExtensionAbility (延迟任务调度回调)](reference/apis/js-apis-WorkSchedulerExtensionAbility.md) - - 安全 - - [@ohos.abilityAccessCtrl (程序访问控制管理)](reference/apis/js-apis-abilityAccessCtrl.md) - - [@ohos.privacyManager (隐私管理)](reference/apis/js-apis-privacyManager.md) - - [@ohos.security.cert (证书模块)](reference/apis/js-apis-cert.md) - - [@ohos.security.cryptoFramework (加解密算法库框架)](reference/apis/js-apis-cryptoFramework.md) - - [@ohos.security.huks (通用密钥库系统)](reference/apis/js-apis-huks.md) - - [@ohos.userIAM.faceAuth (人脸认证)](reference/apis/js-apis-useriam-faceauth.md) - - [@ohos.userIAM.userAuth (用户认证)](reference/apis/js-apis-useriam-userauth.md) - - [@system.cipher (加密算法)](reference/apis/js-apis-system-cipher.md) - - security - - [PermissionRequestResult](reference/apis/js-apis-permissionrequestresult.md) - - 数据管理 - - [@ohos.data.dataAbility (DataAbility谓词)](reference/apis/js-apis-data-ability.md) - - [@ohos.data.dataShare (数据共享)](reference/apis/js-apis-data-dataShare.md) - - [@ohos.data.dataSharePredicates (数据共享谓词)](reference/apis/js-apis-data-dataSharePredicates.md) - - [@ohos.data.dataShareResultSet (数据共享结果集)](reference/apis/js-apis-data-DataShareResultSet.md) - - [@ohos.data.distributedDataObject (分布式数据对象)](reference/apis/js-apis-data-distributedobject.md) - - [@ohos.data.distributedKVStore (分布式键值数据库)](reference/apis/js-apis-distributedKVStore.md) - - [@ohos.data.preferences (首选项)](reference/apis/js-apis-data-preferences.md) - - [@ohos.data.relationalStore (关系型数据库)](reference/apis/js-apis-data-relationalStore.md) - - [@ohos.data.ValuesBucket (数据集)](reference/apis/js-apis-data-valuesBucket.md) - - data/rdb - - [resultSet (结果集)](reference/apis/js-apis-data-resultset.md) - - 文件管理 - - [@ohos.file.environment (目录环境能力)](reference/apis/js-apis-file-environment.md) - - [@ohos.file.fileAccess (公共文件访问与管理)](reference/apis/js-apis-fileAccess.md) - - [@ohos.file.fileExtensionInfo (公共文件访问与管理属性信息)](reference/apis/js-apis-fileExtensionInfo.md) - - [@ohos.file.fs (文件管理)](reference/apis/js-apis-file-fs.md) - - [@ohos.file.hash (文件哈希处理)](reference/apis/js-apis-file-hash.md) - - [@ohos.file.securityLabel (数据标签)](reference/apis/js-apis-file-securityLabel.md) - - [@ohos.file.statvfs (文件系统空间统计)](reference/apis/js-apis-file-statvfs.md) - - [@ohos.file.storageStatistics (应用空间统计)](reference/apis/js-apis-file-storage-statistics.md) - - [@ohos.file.volumeManager (卷管理)](reference/apis/js-apis-file-volumemanager.md) - - [@ohos.filemanagement.userFileManager (用户数据管理)](reference/apis/js-apis-userFileManager.md) - - [@ohos.multimedia.medialibrary (媒体库管理)](reference/apis/js-apis-medialibrary.md) - - 电话服务 - - [@ohos.contact (联系人)](reference/apis/js-apis-contact.md) - - [@ohos.telephony.call (拨打电话)](reference/apis/js-apis-call.md) - - [@ohos.telephony.data (蜂窝数据)](reference/apis/js-apis-telephony-data.md) - - [@ohos.telephony.observer (observer)](reference/apis/js-apis-observer.md) - - [@ohos.telephony.radio (网络搜索)](reference/apis/js-apis-radio.md) - - [@ohos.telephony.sim (SIM卡管理)](reference/apis/js-apis-sim.md) - - [@ohos.telephony.sms (短信服务)](reference/apis/js-apis-sms.md) - - 网络管理 - - [@ohos.net.connection (网络连接管理)](reference/apis/js-apis-net-connection.md) - - [@ohos.net.ethernet (以太网连接管理)](reference/apis/js-apis-net-ethernet.md) - - [@ohos.net.http (数据请求)](reference/apis/js-apis-http.md) - - [@ohos.net.sharing (网络共享管理)](reference/apis/js-apis-net-sharing.md) - - [@ohos.net.socket (Socket连接)](reference/apis/js-apis-socket.md) - - [@ohos.net.webSocket (WebSocket连接)](reference/apis/js-apis-webSocket.md) - - [@ohos.request (上传下载)](reference/apis/js-apis-request.md) - - 通信与连接 - - [@ohos.bluetooth (蓝牙)](reference/apis/js-apis-bluetooth.md) - - [@ohos.connectedTag (有源标签)](reference/apis/js-apis-connectedTag.md) - - [@ohos.nfc.cardEmulation (标准NFC-cardEmulation)](reference/apis/js-apis-cardEmulation.md) - - [@ohos.nfc.controller (标准NFC)](reference/apis/js-apis-nfcController.md) - - [@ohos.nfc.tag (标准NFC-Tag)](reference/apis/js-apis-nfcTag.md) - - [@ohos.rpc (RPC通信)](reference/apis/js-apis-rpc.md) - - [@ohos.wifiManager (WLAN)(推荐)](reference/apis/js-apis-wifiManager.md) - - [@ohos.wifiManagerExt (WLAN扩展接口)(推荐)](reference/apis/js-apis-wifiManagerExt.md) - - [@ohos.wifi (WLAN)(待停用)](reference/apis/js-apis-wifi.md) - - [@ohos.wifiext (WLAN扩展接口)(待停用)](reference/apis/js-apis-wifiext.md) - - tag - - [nfctech (标准NFC-Tag Nfc 技术)](reference/apis/js-apis-nfctech.md) - - [tagSession (标准NFC-Tag TagSession)](reference/apis/js-apis-tagSession.md) - - 系统基础能力 - - [@ohos.accessibility (辅助功能)](reference/apis/js-apis-accessibility.md) - - [@ohos.accessibility.config (系统辅助功能配置)](reference/apis/js-apis-accessibility-config.md) - - [@ohos.accessibility.GesturePath (手势路径)](reference/apis/js-apis-accessibility-GesturePath.md) - - [@ohos.accessibility.GesturePoint (手势触摸点)](reference/apis/js-apis-accessibility-GesturePoint.md) - - [@ohos.application.AccessibilityExtensionAbility (辅助功能扩展能力)](reference/apis/js-apis-application-accessibilityExtensionAbility.md) - - [@ohos.faultLogger (故障日志获取)](reference/apis/js-apis-faultLogger.md) - - [@ohos.hichecker (检测模式)](reference/apis/js-apis-hichecker.md) - - [@ohos.hidebug (Debug调试)](reference/apis/js-apis-hidebug.md) - - [@ohos.hilog (HiLog日志打印)](reference/apis/js-apis-hilog.md) - - [@ohos.hiSysEvent (系统事件打点)](reference/apis/js-apis-hisysevent.md) - - [@ohos.hiTraceChain (分布式跟踪)](reference/apis/js-apis-hitracechain.md) - - [@ohos.hiTraceMeter (性能打点)](reference/apis/js-apis-hitracemeter.md) - - [@ohos.hiviewdfx.hiAppEvent (应用事件打点)](reference/apis/js-apis-hiviewdfx-hiappevent.md) - - [@ohos.inputMethod (输入法框架)](reference/apis/js-apis-inputmethod.md) - - [@ohos.inputMethodEngine (输入法服务)](reference/apis/js-apis-inputmethodengine.md) - - [@ohos.InputMethodExtensionAbility (InputMethodExtensionAbility)](reference/apis/js-apis-inputmethod-extension-ability.md) - - [@ohos.InputMethodExtensionContext (InputMethodExtensionContext)](reference/apis/js-apis-inputmethod-extension-context.md) - - [@ohos.InputMethodSubtype (输入法子类型)](reference/apis/js-apis-inputmethod-subtype.md) - - [@ohos.pasteboard (剪贴板)](reference/apis/js-apis-pasteboard.md) - - [@ohos.screenLock (锁屏管理)](reference/apis/js-apis-screen-lock.md) - - [@ohos.systemDateTime (系统时间、时区)](reference/apis/js-apis-system-date-time.md) - - [@ohos.systemTimer (系统定时器)](reference/apis/js-apis-system-timer.md) - - [@ohos.wallpaper (壁纸)](reference/apis/js-apis-wallpaper.md) - - [@ohos.web.webview (Webview)](reference/apis/js-apis-webview.md) - - [console (日志打印)](reference/apis/js-apis-logs.md) - - [Timer (定时器)](reference/apis/js-apis-timer.md) - - application - - [AccessibilityExtensionContext (辅助功能扩展上下文)](reference/apis/js-apis-inner-application-accessibilityExtensionContext.md) - - 设备管理 - - [@ohos.batteryInfo (电量信息)](reference/apis/js-apis-battery-info.md) - - [@ohos.batteryStatistics (耗电统计)](reference/apis/js-apis-batteryStatistics.md) - - [@ohos.brightness (屏幕亮度)](reference/apis/js-apis-brightness.md) - - [@ohos.deviceInfo (设备信息)](reference/apis/js-apis-device-info.md) - - [@ohos.distributedHardware.deviceManager (设备管理)](reference/apis/js-apis-device-manager.md) - - [@ohos.geoLocationManager (位置服务)](reference/apis/js-apis-geoLocationManager.md) - - [@ohos.multimodalInput.inputConsumer (组合按键)](reference/apis/js-apis-inputconsumer.md) - - [@ohos.multimodalInput.inputDevice (输入设备)](reference/apis/js-apis-inputdevice.md) - - [@ohos.multimodalInput.inputDeviceCooperate (键鼠穿越)](reference/apis/js-apis-cooperate.md) - - [@ohos.multimodalInput.inputEvent (输入事件)](reference/apis/js-apis-inputevent.md) - - [@ohos.multimodalInput.inputEventClient (按键注入)](reference/apis/js-apis-inputeventclient.md) - - [@ohos.multimodalInput.inputMonitor (输入监听)](reference/apis/js-apis-inputmonitor.md) - - [@ohos.multimodalInput.keyCode (键值)](reference/apis/js-apis-keycode.md) - - [@ohos.multimodalInput.keyEvent (按键输入事件)](reference/apis/js-apis-keyevent.md) - - [@ohos.multimodalInput.mouseEvent (鼠标输入事件)](reference/apis/js-apis-mouseevent.md) - - [@ohos.multimodalInput.pointer (鼠标指针)](reference/apis/js-apis-pointer.md) - - [@ohos.multimodalInput.touchEvent (触摸输入事件)](reference/apis/js-apis-touchevent.md) - - [@ohos.power (系统电源管理)](reference/apis/js-apis-power.md) - - [@ohos.runningLock (Runninglock锁)](reference/apis/js-apis-runninglock.md) - - [@ohos.sensor (传感器)](reference/apis/js-apis-sensor.md) - - [@ohos.settings (设置数据项名称)](reference/apis/js-apis-settings.md) - - [@ohos.stationary (设备状态感知框架)](reference/apis/js-apis-stationary.md) - - [@ohos.systemCapability (系统能力)](reference/apis/js-apis-system-capability.md) - - [@ohos.systemParameterEnhance (系统参数)](reference/apis/js-apis-system-parameterEnhance.md) - - [@ohos.thermal (热管理)](reference/apis/js-apis-thermal.md) - - [@ohos.update (升级)](reference/apis/js-apis-update.md) - - [@ohos.usbManager (USB管理)](reference/apis/js-apis-usbManager.md) - - [@ohos.vibrator (振动)](reference/apis/js-apis-vibrator.md) - - 帐号管理 - - [@ohos.account.appAccount (应用帐号管理)](reference/apis/js-apis-appAccount.md) - - [@ohos.account.distributedAccount (分布式帐号管理)](reference/apis/js-apis-distributed-account.md) - - [@ohos.account.osAccount (系统帐号管理)](reference/apis/js-apis-osAccount.md) - - 定制管理 - - [@ohos.configPolicy (配置策略)](reference/apis/js-apis-configPolicy.md) - - [@ohos.enterprise.EnterpriseAdminExtensionAbility (EnterpriseAdminExtensionAbility)](reference/apis/js-apis-EnterpriseAdminExtensionAbility.md) - - [@ohos.enterprise.adminManager (企业设备管理)](reference/apis/js-apis-enterprise-adminManager.md) - - [@ohos.enterprise.dateTimeManager (系统时间管理)](reference/apis/js-apis-enterprise-dateTimeManager.md) - - 语言基础类库 - - [@ohos.buffer (Buffer)](reference/apis/js-apis-buffer.md) - - [@ohos.convertxml (xml转换JavaScript)](reference/apis/js-apis-convertxml.md) - - [@ohos.process (获取进程相关的信息)](reference/apis/js-apis-process.md) - - [@ohos.taskpool (启动任务池)](reference/apis/js-apis-taskpool.md) - - [@ohos.uri (URI字符串解析)](reference/apis/js-apis-uri.md) - - [@ohos.url (URL字符串解析)](reference/apis/js-apis-url.md) - - [@ohos.util (util工具函数)](reference/apis/js-apis-util.md) - - [@ohos.util.ArrayList (线性容器ArrayList)](reference/apis/js-apis-arraylist.md) - - [@ohos.util.Deque (线性容器Deque)](reference/apis/js-apis-deque.md) - - [@ohos.util.HashMap (非线性容器HashMap)](reference/apis/js-apis-hashmap.md) - - [@ohos.util.HashSet (非线性容器HashSet)](reference/apis/js-apis-hashset.md) - - [@ohos.util.LightWeightMap (非线性容器LightWeightMap)](reference/apis/js-apis-lightweightmap.md) - - [@ohos.util.LightWeightSet (非线性容器LightWeightSet)](reference/apis/js-apis-lightweightset.md) - - [@ohos.util.LinkedList (线性容器LinkedList)](reference/apis/js-apis-linkedlist.md) - - [@ohos.util.List (线性容器List)](reference/apis/js-apis-list.md) - - [@ohos.util.PlainArray (非线性容器PlainArray)](reference/apis/js-apis-plainarray.md) - - [@ohos.util.Queue (线性容器Queue)](reference/apis/js-apis-queue.md) - - [@ohos.util.Stack (线性容器Stack)](reference/apis/js-apis-stack.md) - - [@ohos.util.TreeMap (非线性容器TreeMap)](reference/apis/js-apis-treemap.md) - - [@ohos.util.TreeSet (非线性容器TreeSet)](reference/apis/js-apis-treeset.md) - - [@ohos.util.Vector (线性容器Vector)](reference/apis/js-apis-vector.md) - - [@ohos.worker (启动一个Worker)](reference/apis/js-apis-worker.md) - - [@ohos.xml (xml解析与生成)](reference/apis/js-apis-xml.md) - - 测试 - - [@ohos.application.testRunner (TestRunner)](reference/apis/js-apis-application-testRunner.md) - - [@ohos.uitest (UiTest)](reference/apis/js-apis-uitest.md) - - 已停止维护的接口 - - [@ohos.backgroundTaskManager (后台任务管理)](reference/apis/js-apis-backgroundTaskManager.md) - - [@ohos.bundle (Bundle模块)](reference/apis/js-apis-Bundle.md) - - [@ohos.bundle.innerBundleManager (innerBundleManager模块)](reference/apis/js-apis-Bundle-InnerBundleManager.md) - - [@ohos.bundleState (设备使用信息统计)](reference/apis/js-apis-deviceUsageStatistics.md) - - [@ohos.bytrace (性能打点)](reference/apis/js-apis-bytrace.md) - - [@ohos.data.distributedData (分布式数据管理)](reference/apis/js-apis-distributed-data.md) - - [@ohos.data.storage (轻量级存储)](reference/apis/js-apis-data-storage.md) - - [@ohos.data.rdb (关系型数据库)](reference/apis/js-apis-data-rdb.md) - - [@ohos.distributedBundle (分布式包管理)](reference/apis/js-apis-Bundle-distributedBundle.md) - - [@ohos.document (文件交互)](reference/apis/js-apis-document.md) - - [@ohos.fileio (文件管理)](reference/apis/js-apis-fileio.md) - - [@ohos.geolocation (位置服务)](reference/apis/js-apis-geolocation.md) - - [@ohos.hiAppEvent (应用打点)](reference/apis/js-apis-hiappevent.md) - - [@ohos.prompt (弹窗)](reference/apis/js-apis-prompt.md) - - [@ohos.reminderAgent (后台代理提醒)](reference/apis/js-apis-reminderAgent.md) - - [@ohos.statfs (statfs)](reference/apis/js-apis-statfs.md) - - [@ohos.systemParameter (系统属性)](reference/apis/js-apis-system-parameter.md) - - [@ohos.systemTime (系统时间、时区)](reference/apis/js-apis-system-time.md) - - [@ohos.usb (USB管理)](reference/apis/js-apis-usb-deprecated.md) - - [@ohos.usbV9 (USB管理)](reference/apis/js-apis-usb.md) - - [@system.app (应用上下文)](reference/apis/js-apis-system-app.md) - - [@system.battery (电量信息)](reference/apis/js-apis-system-battery.md) - - [@system.bluetooth (蓝牙)](reference/apis/js-apis-system-bluetooth.md) - - [@system.brightness (屏幕亮度)](reference/apis/js-apis-system-brightness.md) - - [@system.configuration (应用配置)](reference/apis/js-apis-system-configuration.md) - - [@system.device (设备信息)](reference/apis/js-apis-system-device.md) - - [@system.fetch (数据请求)](reference/apis/js-apis-system-fetch.md) - - [@system.file (文件存储)](reference/apis/js-apis-system-file.md) - - [@system.geolocation (地理位置)](reference/apis/js-apis-system-location.md) - - [@system.mediaquery (媒体查询)](reference/apis/js-apis-system-mediaquery.md) - - [@system.network (网络状态)](reference/apis/js-apis-system-network.md) - - [@system.notification (通知消息)](reference/apis/js-apis-system-notification.md) - - [@system.package (应用管理)](reference/apis/js-apis-system-package.md) - - [@system.prompt (弹窗)](reference/apis/js-apis-system-prompt.md) - - [@system.request (上传下载)](reference/apis/js-apis-system-request.md) - - [@system.router (页面路由)](reference/apis/js-apis-system-router.md) - - [@system.sensor (传感器)](reference/apis/js-apis-system-sensor.md) - - [@system.storage (数据存储)](reference/apis/js-apis-system-storage.md) - - [@system.vibrator (振动)](reference/apis/js-apis-system-vibrate.md) - - bundle - - [abilityInfo](reference/apis/js-apis-bundle-AbilityInfo.md) - - [applicationInfo](reference/apis/js-apis-bundle-ApplicationInfo.md) - - [bundleInfo](reference/apis/js-apis-bundle-BundleInfo.md) - - [bundleInstaller](reference/apis/js-apis-bundle-BundleInstaller.md) - - [bundleStatusCallback](reference/apis/js-apis-Bundle-BundleStatusCallback.md) - - [customizeData](reference/apis/js-apis-bundle-CustomizeData.md) - - [elementName](reference/apis/js-apis-bundle-ElementName.md) - - [hapModuleInfo](reference/apis/js-apis-bundle-HapModuleInfo.md) - - [launcherAbilityInfo](reference/apis/js-apis-bundle-LauncherAbilityInfo.md) - - [moduleInfo](reference/apis/js-apis-bundle-ModuleInfo.md) - - [PermissionDef](reference/apis/js-apis-bundle-PermissionDef.md) - - [remoteAbilityInfo](reference/apis/js-apis-bundle-remoteAbilityInfo.md) - - [shortcutInfo](reference/apis/js-apis-bundle-ShortcutInfo.md) + - [AccessibilityExtensionContext (辅助功能扩展上下文)](reference/apis/js-apis-inner-application-accessibilityExtensionContext.md) + - 设备管理 + - [@ohos.batteryInfo (电量信息)](reference/apis/js-apis-battery-info.md) + - [@ohos.batteryStatistics (耗电统计)](reference/apis/js-apis-batteryStatistics.md) + - [@ohos.brightness (屏幕亮度)](reference/apis/js-apis-brightness.md) + - [@ohos.deviceInfo (设备信息)](reference/apis/js-apis-device-info.md) + - [@ohos.distributedHardware.deviceManager (设备管理)](reference/apis/js-apis-device-manager.md) + - [@ohos.geoLocationManager (位置服务)](reference/apis/js-apis-geoLocationManager.md) + - [@ohos.multimodalInput.inputConsumer (组合按键)](reference/apis/js-apis-inputconsumer.md) + - [@ohos.multimodalInput.inputDevice (输入设备)](reference/apis/js-apis-inputdevice.md) + - [@ohos.multimodalInput.inputDeviceCooperate (键鼠穿越)](reference/apis/js-apis-cooperate.md) + - [@ohos.multimodalInput.inputEvent (输入事件)](reference/apis/js-apis-inputevent.md) + - [@ohos.multimodalInput.inputEventClient (按键注入)](reference/apis/js-apis-inputeventclient.md) + - [@ohos.multimodalInput.inputMonitor (输入监听)](reference/apis/js-apis-inputmonitor.md) + - [@ohos.multimodalInput.keyCode (键值)](reference/apis/js-apis-keycode.md) + - [@ohos.multimodalInput.keyEvent (按键输入事件)](reference/apis/js-apis-keyevent.md) + - [@ohos.multimodalInput.mouseEvent (鼠标输入事件)](reference/apis/js-apis-mouseevent.md) + - [@ohos.multimodalInput.pointer (鼠标指针)](reference/apis/js-apis-pointer.md) + - [@ohos.multimodalInput.touchEvent (触摸输入事件)](reference/apis/js-apis-touchevent.md) + - [@ohos.power (系统电源管理)](reference/apis/js-apis-power.md) + - [@ohos.runningLock (Runninglock锁)](reference/apis/js-apis-runninglock.md) + - [@ohos.sensor (传感器)](reference/apis/js-apis-sensor.md) + - [@ohos.settings (设置数据项名称)](reference/apis/js-apis-settings.md) + - [@ohos.stationary (设备状态感知框架)](reference/apis/js-apis-stationary.md) + - [@ohos.systemCapability (系统能力)](reference/apis/js-apis-system-capability.md) + - [@ohos.systemParameterEnhance (系统参数)](reference/apis/js-apis-system-parameterEnhance.md) + - [@ohos.thermal (热管理)](reference/apis/js-apis-thermal.md) + - [@ohos.update (升级)](reference/apis/js-apis-update.md) + - [@ohos.usbManager (USB管理)](reference/apis/js-apis-usbManager.md) + - [@ohos.vibrator (振动)](reference/apis/js-apis-vibrator.md) + - 帐号管理 + - [@ohos.account.appAccount (应用帐号管理)](reference/apis/js-apis-appAccount.md) + - [@ohos.account.distributedAccount (分布式帐号管理)](reference/apis/js-apis-distributed-account.md) + - [@ohos.account.osAccount (系统帐号管理)](reference/apis/js-apis-osAccount.md) + - 定制管理 + - [@ohos.configPolicy (配置策略)](reference/apis/js-apis-configPolicy.md) + - [@ohos.enterprise.EnterpriseAdminExtensionAbility (EnterpriseAdminExtensionAbility)](reference/apis/js-apis-EnterpriseAdminExtensionAbility.md) + - [@ohos.enterprise.adminManager (企业设备管理)](reference/apis/js-apis-enterprise-adminManager.md) + - [@ohos.enterprise.dateTimeManager (系统时间管理)](reference/apis/js-apis-enterprise-dateTimeManager.md) + - 语言基础类库 + - [@ohos.buffer (Buffer)](reference/apis/js-apis-buffer.md) + - [@ohos.convertxml (xml转换JavaScript)](reference/apis/js-apis-convertxml.md) + - [@ohos.process (获取进程相关的信息)](reference/apis/js-apis-process.md) + - [@ohos.taskpool (启动任务池)](reference/apis/js-apis-taskpool.md) + - [@ohos.uri (URI字符串解析)](reference/apis/js-apis-uri.md) + - [@ohos.url (URL字符串解析)](reference/apis/js-apis-url.md) + - [@ohos.util (util工具函数)](reference/apis/js-apis-util.md) + - [@ohos.util.ArrayList (线性容器ArrayList)](reference/apis/js-apis-arraylist.md) + - [@ohos.util.Deque (线性容器Deque)](reference/apis/js-apis-deque.md) + - [@ohos.util.HashMap (非线性容器HashMap)](reference/apis/js-apis-hashmap.md) + - [@ohos.util.HashSet (非线性容器HashSet)](reference/apis/js-apis-hashset.md) + - [@ohos.util.LightWeightMap (非线性容器LightWeightMap)](reference/apis/js-apis-lightweightmap.md) + - [@ohos.util.LightWeightSet (非线性容器LightWeightSet)](reference/apis/js-apis-lightweightset.md) + - [@ohos.util.LinkedList (线性容器LinkedList)](reference/apis/js-apis-linkedlist.md) + - [@ohos.util.List (线性容器List)](reference/apis/js-apis-list.md) + - [@ohos.util.PlainArray (非线性容器PlainArray)](reference/apis/js-apis-plainarray.md) + - [@ohos.util.Queue (线性容器Queue)](reference/apis/js-apis-queue.md) + - [@ohos.util.Stack (线性容器Stack)](reference/apis/js-apis-stack.md) + - [@ohos.util.TreeMap (非线性容器TreeMap)](reference/apis/js-apis-treemap.md) + - [@ohos.util.TreeSet (非线性容器TreeSet)](reference/apis/js-apis-treeset.md) + - [@ohos.util.Vector (线性容器Vector)](reference/apis/js-apis-vector.md) + - [@ohos.worker (启动一个Worker)](reference/apis/js-apis-worker.md) + - [@ohos.xml (xml解析与生成)](reference/apis/js-apis-xml.md) + - 测试 + - [@ohos.application.testRunner (TestRunner)](reference/apis/js-apis-application-testRunner.md) + - [@ohos.uitest (UiTest)](reference/apis/js-apis-uitest.md) + - 已停止维护的接口 + - [@ohos.backgroundTaskManager (后台任务管理)](reference/apis/js-apis-backgroundTaskManager.md) + - [@ohos.bluetooth (蓝牙)](reference/apis/js-apis-bluetooth.md) + - [@ohos.bundle (Bundle模块)](reference/apis/js-apis-Bundle.md) + - [@ohos.bundle.innerBundleManager (innerBundleManager模块)](reference/apis/js-apis-Bundle-InnerBundleManager.md) + - [@ohos.bundleState (设备使用信息统计)](reference/apis/js-apis-deviceUsageStatistics.md) + - [@ohos.bytrace (性能打点)](reference/apis/js-apis-bytrace.md) + - [@ohos.data.distributedData (分布式数据管理)](reference/apis/js-apis-distributed-data.md) + - [@ohos.data.storage (轻量级存储)](reference/apis/js-apis-data-storage.md) + - [@ohos.data.rdb (关系型数据库)](reference/apis/js-apis-data-rdb.md) + - [@ohos.distributedBundle (分布式包管理)](reference/apis/js-apis-Bundle-distributedBundle.md) + - [@ohos.document (文件交互)](reference/apis/js-apis-document.md) + - [@ohos.fileio (文件管理)](reference/apis/js-apis-fileio.md) + - [@ohos.geolocation (位置服务)](reference/apis/js-apis-geolocation.md) + - [@ohos.hiAppEvent (应用打点)](reference/apis/js-apis-hiappevent.md) + - [@ohos.prompt (弹窗)](reference/apis/js-apis-prompt.md) + - [@ohos.reminderAgent (后台代理提醒)](reference/apis/js-apis-reminderAgent.md) + - [@ohos.statfs (statfs)](reference/apis/js-apis-statfs.md) + - [@ohos.systemParameter (系统属性)](reference/apis/js-apis-system-parameter.md) + - [@ohos.systemTime (系统时间、时区)](reference/apis/js-apis-system-time.md) + - [@ohos.usb (USB管理)](reference/apis/js-apis-usb-deprecated.md) + - [@ohos.usbV9 (USB管理)](reference/apis/js-apis-usb.md) + - [@system.app (应用上下文)](reference/apis/js-apis-system-app.md) + - [@system.battery (电量信息)](reference/apis/js-apis-system-battery.md) + - [@system.bluetooth (蓝牙)](reference/apis/js-apis-system-bluetooth.md) + - [@system.brightness (屏幕亮度)](reference/apis/js-apis-system-brightness.md) + - [@system.configuration (应用配置)](reference/apis/js-apis-system-configuration.md) + - [@system.device (设备信息)](reference/apis/js-apis-system-device.md) + - [@system.fetch (数据请求)](reference/apis/js-apis-system-fetch.md) + - [@system.file (文件存储)](reference/apis/js-apis-system-file.md) + - [@system.geolocation (地理位置)](reference/apis/js-apis-system-location.md) + - [@ohos.multimedia.medialibrary (媒体库管理)](reference/apis/js-apis-medialibrary.md) + - [@system.mediaquery (媒体查询)](reference/apis/js-apis-system-mediaquery.md) + - [@system.network (网络状态)](reference/apis/js-apis-system-network.md) + - [@system.notification (通知消息)](reference/apis/js-apis-system-notification.md) + - [@system.package (应用管理)](reference/apis/js-apis-system-package.md) + - [@system.prompt (弹窗)](reference/apis/js-apis-system-prompt.md) + - [@system.request (上传下载)](reference/apis/js-apis-system-request.md) + - [@system.router (页面路由)](reference/apis/js-apis-system-router.md) + - [@system.sensor (传感器)](reference/apis/js-apis-system-sensor.md) + - [@system.storage (数据存储)](reference/apis/js-apis-system-storage.md) + - [@system.vibrator (振动)](reference/apis/js-apis-system-vibrate.md) + - bundle + - [abilityInfo](reference/apis/js-apis-bundle-AbilityInfo.md) + - [applicationInfo](reference/apis/js-apis-bundle-ApplicationInfo.md) + - [bundleInfo](reference/apis/js-apis-bundle-BundleInfo.md) + - [bundleInstaller](reference/apis/js-apis-bundle-BundleInstaller.md) + - [bundleStatusCallback](reference/apis/js-apis-Bundle-BundleStatusCallback.md) + - [customizeData](reference/apis/js-apis-bundle-CustomizeData.md) + - [elementName](reference/apis/js-apis-bundle-ElementName.md) + - [hapModuleInfo](reference/apis/js-apis-bundle-HapModuleInfo.md) + - [launcherAbilityInfo](reference/apis/js-apis-bundle-LauncherAbilityInfo.md) + - [moduleInfo](reference/apis/js-apis-bundle-ModuleInfo.md) + - [PermissionDef](reference/apis/js-apis-bundle-PermissionDef.md) + - [remoteAbilityInfo](reference/apis/js-apis-bundle-remoteAbilityInfo.md) + - [shortcutInfo](reference/apis/js-apis-bundle-ShortcutInfo.md) - 错误码参考 - - [通用错误码](reference/errorcodes/errorcode-universal.md) - - Ability框架 - - [元能力子系统错误码](reference/errorcodes/errorcode-ability.md) - - [DistributedSchedule错误码](reference/errorcodes/errorcode-DistributedSchedule.md) - - [卡片错误码](reference/errorcodes/errorcode-form.md) - - 包管理 - - [包管理子系统通用错误码](reference/errorcodes/errorcode-bundle.md) - - [zlib子系统错误码](reference/errorcodes/errorcode-zlib.md) - - 公共事件与通知 - - [事件错误码](reference/errorcodes/errorcode-CommonEventService.md) - - [通知错误码](reference/errorcodes/errorcode-notification.md) - - [DistributedNotificationService错误码](reference/errorcodes/errorcode-DistributedNotificationService.md) - - UI界面 - - [动画错误码](reference/errorcodes/errorcode-animator.md) - - [弹窗错误码](reference/errorcodes/errorcode-promptAction.md) - - [页面路由错误码](reference/errorcodes/errorcode-router.md) - - 图形图像 - - [色彩管理错误码](reference/errorcodes/errorcode-colorspace-manager.md) - - [屏幕错误码](reference/errorcodes/errorcode-display.md) - - [窗口错误码](reference/errorcodes/errorcode-window.md) - - 媒体 - - [Audio错误码](reference/errorcodes/errorcode-audio.md) - - [Media错误码](reference/errorcodes/errorcode-media.md) - - [媒体会话管理错误码](reference/errorcodes/errorcode-avsession.md) - - 资源管理 - - [I18n错误码](reference/errorcodes/errorcode-i18n.md) - - [资源管理错误码](reference/errorcodes/errorcode-resource-manager.md) - - 后台任务 - - [backgroundTaskManager错误码](reference/errorcodes/errorcode-backgroundTaskMgr.md) - - [DeviceUsageStatistics错误码](reference/errorcodes/errorcode-DeviceUsageStatistics.md) - - [reminderAgentManager错误码](reference/errorcodes/errorcode-reminderAgentManager.md) - - [workScheduler错误码](reference/errorcodes/errorcode-workScheduler.md) - - 安全 - - [AccessToken错误码](reference/errorcodes/errorcode-access-token.md) - - [HUKS错误码](reference/errorcodes/errorcode-huks.md) - - [crypto framework错误码](reference/errorcodes/errorcode-crypto-framework.md) - - [cert错误码](reference/errorcodes/errorcode-cert.md) - - [用户认证错误码](reference/errorcodes/errorcode-useriam.md) - - 数据管理 - - [关系型数据库错误码](reference/errorcodes/errorcode-data-rdb.md) - - [数据共享错误码](reference/errorcodes/errorcode-datashare.md) - - [分布式数据对象错误码](reference/errorcodes/errorcode-distributed-dataObject.md) - - [分布式键值数据库错误码](reference/errorcodes/errorcode-distributedKVStore.md) - - [首选项错误码](reference/errorcodes/errorcode-preferences.md) - - 文件管理 - - [文件管理子系统错误码](reference/errorcodes/errorcode-filemanagement.md) - - 电话服务 - - [电话子系统错误码](reference/errorcodes/errorcode-telephony.md) - - 网络管理 - - [上传下载错误码](reference/errorcodes/errorcode-request.md) - - 通信与连接 - - [NFC错误码](reference/errorcodes/errorcode-nfc.md) - - [RPC错误码](reference/errorcodes/errorcode-rpc.md) - - 系统基础能力 - - [无障碍子系统错误码](reference/errorcodes/errorcode-accessibility.md) - - [Faultlogger错误码](reference/errorcodes/errorcode-faultlogger.md) - - [应用事件打点错误码](reference/errorcodes/errorcode-hiappevent.md) - - [系统事件错误码](reference/errorcodes/errorcode-hisysevent.md) - - [Hidebug错误码](reference/errorcodes/errorcode-hiviewdfx-hidebug.md) - - [输入法框架错误码](reference/errorcodes/errorcode-inputmethod-framework.md) - - [剪贴板错误码](reference/errorcodes/errorcode-pasteboard.md) - - [时间时区服务错误码](reference/errorcodes/errorcode-time.md) - - [Webview错误码](reference/errorcodes/errorcode-webview.md) - - 帐号管理 - - [Account错误码](reference/errorcodes/errorcode-account.md) - - [应用帐号错误码](reference/errorcodes/errorcode-app-account.md) - - 设备管理 - - [耗电统计错误码](reference/errorcodes/errorcode-batteryStatistics.md) - - [屏幕亮度错误码](reference/errorcodes/errorcode-brightness.md) - - [系统电源管理错误码](reference/errorcodes/errorcode-power.md) - - [RunningLock锁错误码](reference/errorcodes/errorcode-runninglock.md) - - [热管理错误码](reference/errorcodes/errorcode-thermal.md) - - [设备管理错误码](reference/errorcodes/errorcode-device-manager.md) - - [位置服务子系统错误码](reference/errorcodes/errorcode-geoLocationManager.md) - - [键鼠穿越管理错误码](reference/errorcodes/errorcode-multimodalinput.md) - - [传感器错误码](reference/errorcodes/errorcode-sensor.md) - - [振动错误码](reference/errorcodes/errorcode-vibrator.md) - - [系统参数错误码](reference/errorcodes/errorcode-system-parameterV9.md) - - [USB服务错误码](reference/errorcodes/errorcode-usb.md) - - [升级错误码](reference/errorcodes/errorcode-update.md) - - 定制管理 - - [企业设备管理错误码](reference/errorcodes/errorcode-enterpriseDeviceManager.md) - - 语言基础类库 - - [语言基础类库错误码](reference/errorcodes/errorcode-utils.md) - - 测试 - - [uitest错误码](reference/errorcodes/errorcode-uitest.md) - - 接口参考(Native API) - - 模块 - - [Native XComponent](reference/native-apis/_o_h___native_x_component.md) - - [HiLog](reference/native-apis/_hi_log.md) - - [NativeWindow](reference/native-apis/_native_window.md) - - [OH_NativeBuffer](reference/native-apis/_o_h___native_buffer.md) - - [Drawing](reference/native-apis/_drawing.md) - - [OH_NativeImage](reference/native-apis/_o_h___native_image.md) - - [NativeVsync](reference/native-apis/_native_vsync.md) - - [Image](reference/native-apis/image.md) - - [Rawfile](reference/native-apis/rawfile.md) - - [MindSpore](reference/native-apis/_mind_spore.md) - - [NeuralNeworkRuntime](reference/native-apis/_neural_nework_runtime.md) - - [AudioDecoder](reference/native-apis/_audio_decoder.md) - - [AudioEncoder](reference/native-apis/_audio_encoder.md) - - [CodecBase](reference/native-apis/_codec_base.md) - - [VideoDecoder](reference/native-apis/_video_decoder.md) - - [VideoEncoder](reference/native-apis/_video_encoder.md) - - [Core](reference/native-apis/_core.md) - - [HuksKeyApi](reference/native-apis/_huks_key_api.md) - - [HuksParamSetApi](reference/native-apis/_huks_param_set_api.md) - - [HuksTypeApi](reference/native-apis/_huks_type_api.md) - - 头文件 - - [drawing_bitmap.h](reference/native-apis/drawing__bitmap_8h.md) - - [drawing_brush.h](reference/native-apis/drawing__brush_8h.md) - - [drawing_canvas.h](reference/native-apis/drawing__canvas_8h.md) - - [drawing_color.h](reference/native-apis/drawing__color_8h.md) - - [drawing_font_collection.h](reference/native-apis/drawing__font__collection_8h.md) - - [drawing_path.h](reference/native-apis/drawing__path_8h.md) - - [drawing_pen.h](reference/native-apis/drawing__pen_8h.md) - - [drawing_text_declaration.h](reference/native-apis/drawing__text__declaration_8h.md) - - [drawing_text_typography.h](reference/native-apis/drawing__text__typography_8h.md) - - [drawing_types.h](reference/native-apis/drawing__types_8h.md) - - [external_window.h](reference/native-apis/external__window_8h.md) - - [image_pixel_map_napi.h](reference/native-apis/image__pixel__map__napi_8h.md) - - [log.h](reference/native-apis/log_8h.md) - - [native_buffer.h](reference/native-apis/native__buffer_8h.md) - - [native_image.h](reference/native-apis/native__image_8h.md) - - [native_interface_xcomponent.h](reference/native-apis/native__interface__xcomponent_8h.md) - - [native_vsync.h](reference/native-apis/native__vsync_8h.md) - - [raw_dir.h](reference/native-apis/raw__dir_8h.md) - - [raw_file_manager.h](reference/native-apis/raw__file__manager_8h.md) - - [raw_file.h](reference/native-apis/raw__file_8h.md) - - [context.h](reference/native-apis/context_8h.md) - - [data_type.h](reference/native-apis/data__type_8h.md) - - [format.h](reference/native-apis/format_8h.md) - - [model.h](reference/native-apis/model_8h.md) - - [status.h](reference/native-apis/status_8h.md) - - [tensor.h](reference/native-apis/tensor_8h.md) - - [types.h](reference/native-apis/types_8h.md) - - [neural_network_runtime_type.h](reference/native-apis/neural__network__runtime__type_8h.md) - - [neural_network_runtime.h](reference/native-apis/neural__network__runtime_8h.md) - - [native_avcodec_audiodecoder.h](reference/native-apis/native__avcodec__audiodecoder_8h.md) - - [native_avcodec_audioencoder.h](reference/native-apis/native__avcodec__audioencoder_8h.md) - - [native_avcodec_base.h](reference/native-apis/native__avcodec__base_8h.md) - - [native_avcodec_videodecoder.h](reference/native-apis/native__avcodec__videodecoder_8h.md) - - [native_avcodec_videoencoder.h](reference/native-apis/native__avcodec__videoencoder_8h.md) - - [native_averrors.h](reference/native-apis/native__averrors_8h.md) - - [native_avformat.h](reference/native-apis/native__avformat_8h.md) - - [native_avmemory.h](reference/native-apis/native__avmemory_8h.md) - - [native_huks_api.h](reference/native-apis/native__huks__api_8h.md) - - [native_huks_param.h](reference/native-apis/native__huks__param_8h.md) - - [native_huks_type.h](reference/native-apis/native__huks__type_8h.md) - - 结构体 - - [OH_Drawing_BitmapFormat](reference/native-apis/_o_h___drawing___bitmap_format.md) - - [OH_NativeBuffer_Config](reference/native-apis/_o_h___native_buffer___config.md) - - [OH_NativeXComponent_Callback](reference/native-apis/_o_h___native_x_component___callback.md) - - [OH_NativeXComponent_MouseEvent](reference/native-apis/_o_h___native_x_component___mouse_event.md) - - [OH_NativeXComponent_MouseEvent_Callback](reference/native-apis/_o_h___native_x_component___mouse_event___callback.md) - - [OH_NativeXComponent_TouchEvent](reference/native-apis/_o_h___native_x_component___touch_event.md) - - [OH_NativeXComponent_TouchPoint](reference/native-apis/_o_h___native_x_component___touch_point.md) - - [OHExtDataHandle](reference/native-apis/_o_h_ext_data_handle.md) - - [OHHDRMetaData](reference/native-apis/_o_h_h_d_r_meta_data.md) - - [OhosPixelMapCreateOps](reference/native-apis/_ohos_pixel_map_create_ops.md) - - [OhosPixelMapInfo](reference/native-apis/_ohos_pixel_map_info.md) - - [RawFileDescriptor](reference/native-apis/_raw_file_descriptor.md) - - [Region](reference/native-apis/_region.md) - - [Rect](reference/native-apis/_rect.md) - - [OH_AI_CallBackParam](reference/native-apis/_o_h___a_i___call_back_param.md) - - [OH_AI_ShapeInfo](reference/native-apis/_o_h___a_i___shape_info.md) - - [OH_AI_TensorHandleArray](reference/native-apis/_o_h___a_i___tensor_handle_array.md) - - [OH_NN_Memory](reference/native-apis/_o_h___n_n___memory.md) - - [OH_NN_QuantParam](reference/native-apis/_o_h___n_n___quant_param.md) - - [OH_NN_Tensor](reference/native-apis/_o_h___n_n___tensor.md) - - [OH_NN_UInt32Array](reference/native-apis/_o_h___n_n___u_int32_array.md) - - [OH_AVCodecAsyncCallback](reference/native-apis/_o_h___a_v_codec_async_callback.md) - - [OH_AVCodecBufferAttr](reference/native-apis/_o_h___a_v_codec_buffer_attr.md) - - [OH_Huks_Blob](reference/native-apis/_o_h___huks___blob.md) - - [OH_Huks_CertChain](reference/native-apis/_o_h___huks___cert_chain.md) - - [OH_Huks_KeyInfo](reference/native-apis/_o_h___huks___key_info.md) - - [OH_Huks_KeyMaterial25519](reference/native-apis/_o_h___huks___key_material25519.md) - - [OH_Huks_KeyMaterialDh](reference/native-apis/_o_h___huks___key_material_dh.md) - - [OH_Huks_KeyMaterialDsa](reference/native-apis/_o_h___huks___key_material_dsa.md) - - [OH_Huks_KeyMaterialEcc](reference/native-apis/_o_h___huks___key_material_ecc.md) - - [OH_Huks_KeyMaterialRsa](reference/native-apis/_o_h___huks___key_material_rsa.md) - - [OH_Huks_Param](reference/native-apis/_o_h___huks___param.md) - - [OH_Huks_ParamSet](reference/native-apis/_o_h___huks___param_set.md) - - [OH_Huks_PubKeyInfo](reference/native-apis/_o_h___huks___pub_key_info.md) - - [OH_Huks_Result](reference/native-apis/_o_h___huks___result.md) + - [通用错误码](reference/errorcodes/errorcode-universal.md) + - Ability框架 + - [元能力子系统错误码](reference/errorcodes/errorcode-ability.md) + - [DistributedSchedule错误码](reference/errorcodes/errorcode-DistributedSchedule.md) + - [卡片错误码](reference/errorcodes/errorcode-form.md) + - 包管理 + - [包管理子系统通用错误码](reference/errorcodes/errorcode-bundle.md) + - [zlib子系统错误码](reference/errorcodes/errorcode-zlib.md) + - 公共事件与通知 + - [事件错误码](reference/errorcodes/errorcode-CommonEventService.md) + - [通知错误码](reference/errorcodes/errorcode-notification.md) + - [DistributedNotificationService错误码](reference/errorcodes/errorcode-DistributedNotificationService.md) + - UI界面 + - [动画错误码](reference/errorcodes/errorcode-animator.md) + - [弹窗错误码](reference/errorcodes/errorcode-promptAction.md) + - [页面路由错误码](reference/errorcodes/errorcode-router.md) + - 图形图像 + - [色彩管理错误码](reference/errorcodes/errorcode-colorspace-manager.md) + - [屏幕错误码](reference/errorcodes/errorcode-display.md) + - [窗口错误码](reference/errorcodes/errorcode-window.md) + - 媒体 + - [Audio错误码](reference/errorcodes/errorcode-audio.md) + - [Media错误码](reference/errorcodes/errorcode-media.md) + - [媒体会话管理错误码](reference/errorcodes/errorcode-avsession.md) + - 资源管理 + - [I18n错误码](reference/errorcodes/errorcode-i18n.md) + - [资源管理错误码](reference/errorcodes/errorcode-resource-manager.md) + - 后台任务 + - [backgroundTaskManager错误码](reference/errorcodes/errorcode-backgroundTaskMgr.md) + - [DeviceUsageStatistics错误码](reference/errorcodes/errorcode-DeviceUsageStatistics.md) + - [reminderAgentManager错误码](reference/errorcodes/errorcode-reminderAgentManager.md) + - [workScheduler错误码](reference/errorcodes/errorcode-workScheduler.md) + - 安全 + - [AccessToken错误码](reference/errorcodes/errorcode-access-token.md) + - [HUKS错误码](reference/errorcodes/errorcode-huks.md) + - [crypto framework错误码](reference/errorcodes/errorcode-crypto-framework.md) + - [cert错误码](reference/errorcodes/errorcode-cert.md) + - [用户认证错误码](reference/errorcodes/errorcode-useriam.md) + - 数据管理 + - [关系型数据库错误码](reference/errorcodes/errorcode-data-rdb.md) + - [数据共享错误码](reference/errorcodes/errorcode-datashare.md) + - [分布式数据对象错误码](reference/errorcodes/errorcode-distributed-dataObject.md) + - [分布式键值数据库错误码](reference/errorcodes/errorcode-distributedKVStore.md) + - [首选项错误码](reference/errorcodes/errorcode-preferences.md) + - 文件管理 + - [文件管理子系统错误码](reference/errorcodes/errorcode-filemanagement.md) + - 电话服务 + - [电话子系统错误码](reference/errorcodes/errorcode-telephony.md) + - 网络管理 + - [上传下载错误码](reference/errorcodes/errorcode-request.md) + - [HTTP错误码](reference/errorcodes/errorcode-net-http.md) + - [Socket错误码](reference/errorcodes/errorcode-net-socket.md) + - [网络连接管理错误码](reference/errorcodes/errorcode-net-connection.md) + - [以太网连接错误码](reference/errorcodes/errorcode-net-ethernet.md) + - [网络共享错误码](reference/errorcodes/errorcode-net-sharing.md) + - [策略管理错误码](reference/errorcodes/errorcode-net-policy.md) + - 通信与连接 + - [NFC错误码](reference/errorcodes/errorcode-nfc.md) + - [RPC错误码](reference/errorcodes/errorcode-rpc.md) + - [蓝牙服务子系统错误码](reference/errorcodes/errorcode-bluetoothManager.md) + - 系统基础能力 + - [无障碍子系统错误码](reference/errorcodes/errorcode-accessibility.md) + - [Faultlogger错误码](reference/errorcodes/errorcode-faultlogger.md) + - [应用事件打点错误码](reference/errorcodes/errorcode-hiappevent.md) + - [系统事件错误码](reference/errorcodes/errorcode-hisysevent.md) + - [Hidebug错误码](reference/errorcodes/errorcode-hiviewdfx-hidebug.md) + - [输入法框架错误码](reference/errorcodes/errorcode-inputmethod-framework.md) + - [剪贴板错误码](reference/errorcodes/errorcode-pasteboard.md) + - [时间时区服务错误码](reference/errorcodes/errorcode-time.md) + - [Webview错误码](reference/errorcodes/errorcode-webview.md) + - 帐号管理 + - [帐号管理错误码](reference/errorcodes/errorcode-account.md) + - 设备管理 + - [耗电统计错误码](reference/errorcodes/errorcode-batteryStatistics.md) + - [屏幕亮度错误码](reference/errorcodes/errorcode-brightness.md) + - [系统电源管理错误码](reference/errorcodes/errorcode-power.md) + - [RunningLock锁错误码](reference/errorcodes/errorcode-runninglock.md) + - [热管理错误码](reference/errorcodes/errorcode-thermal.md) + - [设备管理错误码](reference/errorcodes/errorcode-device-manager.md) + - [位置服务子系统错误码](reference/errorcodes/errorcode-geoLocationManager.md) + - [键鼠穿越管理错误码](reference/errorcodes/errorcode-multimodalinput.md) + - [传感器错误码](reference/errorcodes/errorcode-sensor.md) + - [振动错误码](reference/errorcodes/errorcode-vibrator.md) + - [系统参数错误码](reference/errorcodes/errorcode-system-parameterV9.md) + - [USB服务错误码](reference/errorcodes/errorcode-usb.md) + - [升级错误码](reference/errorcodes/errorcode-update.md) + - 定制管理 + - [企业设备管理错误码](reference/errorcodes/errorcode-enterpriseDeviceManager.md) + - 语言基础类库 + - [语言基础类库错误码](reference/errorcodes/errorcode-utils.md) + - 测试 + - [uitest错误码](reference/errorcodes/errorcode-uitest.md) + - Native接口参考 + - 模块 + - [Native XComponent](reference/native-apis/_o_h___native_x_component.md) + - [HiLog](reference/native-apis/_hi_log.md) + - [NativeWindow](reference/native-apis/_native_window.md) + - [OH_NativeBuffer](reference/native-apis/_o_h___native_buffer.md) + - [Drawing](reference/native-apis/_drawing.md) + - [OH_NativeImage](reference/native-apis/_o_h___native_image.md) + - [NativeVsync](reference/native-apis/_native_vsync.md) + - [Image](reference/native-apis/image.md) + - [Rawfile](reference/native-apis/rawfile.md) + - [MindSpore](reference/native-apis/_mind_spore.md) + - [NeuralNeworkRuntime](reference/native-apis/_neural_nework_runtime.md) + - [AudioDecoder](reference/native-apis/_audio_decoder.md) + - [AudioEncoder](reference/native-apis/_audio_encoder.md) + - [CodecBase](reference/native-apis/_codec_base.md) + - [VideoDecoder](reference/native-apis/_video_decoder.md) + - [VideoEncoder](reference/native-apis/_video_encoder.md) + - [Core](reference/native-apis/_core.md) + - [HuksKeyApi](reference/native-apis/_huks_key_api.md) + - [HuksParamSetApi](reference/native-apis/_huks_param_set_api.md) + - [HuksTypeApi](reference/native-apis/_huks_type_api.md) + - 头文件 + - [drawing_bitmap.h](reference/native-apis/drawing__bitmap_8h.md) + - [drawing_brush.h](reference/native-apis/drawing__brush_8h.md) + - [drawing_canvas.h](reference/native-apis/drawing__canvas_8h.md) + - [drawing_color.h](reference/native-apis/drawing__color_8h.md) + - [drawing_font_collection.h](reference/native-apis/drawing__font__collection_8h.md) + - [drawing_path.h](reference/native-apis/drawing__path_8h.md) + - [drawing_pen.h](reference/native-apis/drawing__pen_8h.md) + - [drawing_text_declaration.h](reference/native-apis/drawing__text__declaration_8h.md) + - [drawing_text_typography.h](reference/native-apis/drawing__text__typography_8h.md) + - [drawing_types.h](reference/native-apis/drawing__types_8h.md) + - [external_window.h](reference/native-apis/external__window_8h.md) + - [image_pixel_map_napi.h](reference/native-apis/image__pixel__map__napi_8h.md) + - [log.h](reference/native-apis/log_8h.md) + - [native_buffer.h](reference/native-apis/native__buffer_8h.md) + - [native_image.h](reference/native-apis/native__image_8h.md) + - [native_interface_xcomponent.h](reference/native-apis/native__interface__xcomponent_8h.md) + - [native_vsync.h](reference/native-apis/native__vsync_8h.md) + - [raw_dir.h](reference/native-apis/raw__dir_8h.md) + - [raw_file_manager.h](reference/native-apis/raw__file__manager_8h.md) + - [raw_file.h](reference/native-apis/raw__file_8h.md) + - [context.h](reference/native-apis/context_8h.md) + - [data_type.h](reference/native-apis/data__type_8h.md) + - [format.h](reference/native-apis/format_8h.md) + - [model.h](reference/native-apis/model_8h.md) + - [status.h](reference/native-apis/status_8h.md) + - [tensor.h](reference/native-apis/tensor_8h.md) + - [types.h](reference/native-apis/types_8h.md) + - [neural_network_runtime_type.h](reference/native-apis/neural__network__runtime__type_8h.md) + - [neural_network_runtime.h](reference/native-apis/neural__network__runtime_8h.md) + - [native_avcodec_audiodecoder.h](reference/native-apis/native__avcodec__audiodecoder_8h.md) + - [native_avcodec_audioencoder.h](reference/native-apis/native__avcodec__audioencoder_8h.md) + - [native_avcodec_base.h](reference/native-apis/native__avcodec__base_8h.md) + - [native_avcodec_videodecoder.h](reference/native-apis/native__avcodec__videodecoder_8h.md) + - [native_avcodec_videoencoder.h](reference/native-apis/native__avcodec__videoencoder_8h.md) + - [native_averrors.h](reference/native-apis/native__averrors_8h.md) + - [native_avformat.h](reference/native-apis/native__avformat_8h.md) + - [native_avmemory.h](reference/native-apis/native__avmemory_8h.md) + - [native_huks_api.h](reference/native-apis/native__huks__api_8h.md) + - [native_huks_param.h](reference/native-apis/native__huks__param_8h.md) + - [native_huks_type.h](reference/native-apis/native__huks__type_8h.md) + - 结构体 + - [OH_Drawing_BitmapFormat](reference/native-apis/_o_h___drawing___bitmap_format.md) + - [OH_NativeBuffer_Config](reference/native-apis/_o_h___native_buffer___config.md) + - [OH_NativeXComponent_Callback](reference/native-apis/_o_h___native_x_component___callback.md) + - [OH_NativeXComponent_MouseEvent](reference/native-apis/_o_h___native_x_component___mouse_event.md) + - [OH_NativeXComponent_MouseEvent_Callback](reference/native-apis/_o_h___native_x_component___mouse_event___callback.md) + - [OH_NativeXComponent_TouchEvent](reference/native-apis/_o_h___native_x_component___touch_event.md) + - [OH_NativeXComponent_TouchPoint](reference/native-apis/_o_h___native_x_component___touch_point.md) + - [OHExtDataHandle](reference/native-apis/_o_h_ext_data_handle.md) + - [OHHDRMetaData](reference/native-apis/_o_h_h_d_r_meta_data.md) + - [OhosPixelMapCreateOps](reference/native-apis/_ohos_pixel_map_create_ops.md) + - [OhosPixelMapInfo](reference/native-apis/_ohos_pixel_map_info.md) + - [RawFileDescriptor](reference/native-apis/_raw_file_descriptor.md) + - [Region](reference/native-apis/_region.md) + - [Rect](reference/native-apis/_rect.md) + - [OH_AI_CallBackParam](reference/native-apis/_o_h___a_i___call_back_param.md) + - [OH_AI_ShapeInfo](reference/native-apis/_o_h___a_i___shape_info.md) + - [OH_AI_TensorHandleArray](reference/native-apis/_o_h___a_i___tensor_handle_array.md) + - [OH_NN_Memory](reference/native-apis/_o_h___n_n___memory.md) + - [OH_NN_QuantParam](reference/native-apis/_o_h___n_n___quant_param.md) + - [OH_NN_Tensor](reference/native-apis/_o_h___n_n___tensor.md) + - [OH_NN_UInt32Array](reference/native-apis/_o_h___n_n___u_int32_array.md) + - [OH_AVCodecAsyncCallback](reference/native-apis/_o_h___a_v_codec_async_callback.md) + - [OH_AVCodecBufferAttr](reference/native-apis/_o_h___a_v_codec_buffer_attr.md) + - [OH_Huks_Blob](reference/native-apis/_o_h___huks___blob.md) + - [OH_Huks_CertChain](reference/native-apis/_o_h___huks___cert_chain.md) + - [OH_Huks_KeyInfo](reference/native-apis/_o_h___huks___key_info.md) + - [OH_Huks_KeyMaterial25519](reference/native-apis/_o_h___huks___key_material25519.md) + - [OH_Huks_KeyMaterialDh](reference/native-apis/_o_h___huks___key_material_dh.md) + - [OH_Huks_KeyMaterialDsa](reference/native-apis/_o_h___huks___key_material_dsa.md) + - [OH_Huks_KeyMaterialEcc](reference/native-apis/_o_h___huks___key_material_ecc.md) + - [OH_Huks_KeyMaterialRsa](reference/native-apis/_o_h___huks___key_material_rsa.md) + - [OH_Huks_Param](reference/native-apis/_o_h___huks___param.md) + - [OH_Huks_ParamSet](reference/native-apis/_o_h___huks___param_set.md) + - [OH_Huks_PubKeyInfo](reference/native-apis/_o_h___huks___pub_key_info.md) + - [OH_Huks_Result](reference/native-apis/_o_h___huks___result.md) - 标准库 - - [Node_API](reference/native-lib/third_party_napi/napi.md) - - [libuv](reference/native-lib/third_party_libuv/libuv.md) - - [支持的标准库介绍](reference/native-lib/third_party_libc/musl.md) - - 附录 - - [Native api中没有导出的符号列表](reference/native-lib/third_party_libc/musl-peculiar-symbol.md) - - [Native api中导出的EGL符号列表](reference/native-lib/third_party_opengl/egl-symbol.md) - - [Native api中导出的OpenGL ES 3.0符号列表](reference/native-lib/third_party_opengl/openglesv3-symbol.md) + - [Node_API](reference/native-lib/third_party_napi/napi.md) + - [libuv](reference/native-lib/third_party_libuv/libuv.md) + - [支持的标准库介绍](reference/native-lib/third_party_libc/musl.md) + - 附录 + - [Native api中没有导出的符号列表](reference/native-lib/third_party_libc/musl-peculiar-symbol.md) + - [Native api中导出的EGL符号列表](reference/native-lib/third_party_opengl/egl-symbol.md) + - [Native api中导出的OpenGL ES 3.0符号列表](reference/native-lib/third_party_opengl/openglesv3-symbol.md) - 常见问题 + - [full-SDK编译指南](quick-start/full-sdk-compile-guide.md) - [full-SDK替换指南](quick-start/full-sdk-switch-guide.md) - [开发语言常见问题](faqs/faqs-language.md) - [Ability框架开发常见问题](faqs/faqs-ability.md) @@ -1433,4 +1449,4 @@ - [三四方库使用常见问题](faqs/faqs-third-party-library.md) - [IDE使用常见问题](faqs/faqs-ide.md) - [hdc_std命令使用常见问题](faqs/faqs-hdc-std.md) - - [开发板使用常见问题](faqs/faqs-development-board.md) + - [开发板使用常见问题](faqs/faqs-development-board.md) \ No newline at end of file diff --git "a/zh-cn/contribute/\345\206\231\344\275\234\350\247\204\350\214\203.md" "b/zh-cn/contribute/\345\206\231\344\275\234\350\247\204\350\214\203.md" index 556baff875baa8ee7927e5fc035885d4c4a61dfa..d8ee9fef5ee8aaca3c189d141ec85a59c096da6f 100755 --- "a/zh-cn/contribute/\345\206\231\344\275\234\350\247\204\350\214\203.md" +++ "b/zh-cn/contribute/\345\206\231\344\275\234\350\247\204\350\214\203.md" @@ -67,7 +67,7 @@ - 中文用中文图,英文用英文图形。 - 图片建议根据内容命名,只用数字序列不利于后续图片的继承。 ->![](public_sys-resources/icon-note.gif) **说明**: +>**说明**: >引用方式: >!\[\]\(./pic/pic-standard.png\) diff --git "a/zh-cn/contribute/\350\264\241\347\214\256\346\226\207\346\241\243.md" "b/zh-cn/contribute/\350\264\241\347\214\256\346\226\207\346\241\243.md" index a5a9bd99d8f20247f68efa03b5e067ee65f2f76c..397ec70f4bef209c5bfe8dda393c160f5d440a2e 100755 --- "a/zh-cn/contribute/\350\264\241\347\214\256\346\226\207\346\241\243.md" +++ "b/zh-cn/contribute/\350\264\241\347\214\256\346\226\207\346\241\243.md" @@ -26,7 +26,7 @@ 1. 在Gitee页面中,“Issue”页签中单击“新建Issue”,在标题栏中描述问题,在编辑框中添加详细问题描述。 2. 单击“创建”按钮,提交Issue,耐心等待文档团队成员确认您的问题。 ->![](public_sys-resources/icon-note.gif) **说明**: +>**说明**: >**如何反馈一个高质量的问题**? > >- 提供问题的清晰描述,描述具体缺失、过时、错误的内容或者需要改进的文字。 diff --git "a/zh-cn/readme/XTS\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/XTS\345\255\220\347\263\273\347\273\237.md" index 5823bbe96cf62a4e1fb6f9b5fec6f30d0055a425..35ef584fb9476f59d9a445e60e40de231296f29e 100755 --- "a/zh-cn/readme/XTS\345\255\220\347\263\273\347\273\237.md" +++ "b/zh-cn/readme/XTS\345\255\220\347\263\273\347\273\237.md" @@ -347,7 +347,7 @@ OpenHarmony支持如下几种系统类型: 随版本编译,debug版本编译时会同步编译acts测试套件 - >![](public_sys-resources/icon-note.gif) **说明:** + >**说明:** >acts测试套件编译中间件为静态库,最终链接到版本镜像中 。 @@ -480,7 +480,7 @@ OpenHarmony支持如下几种系统类型: 随版本编译,debug版本编译时会同步编译acts测试套件 - >![](public_sys-resources/icon-note.gif) **说明:** + >**说明:** >小型系统acts独立编译成可执行文件(bin格式), 在编译产物的suites\\acts目录下归档。