@@ -6,9 +6,8 @@ The **DataShare** module allows an application to manage its own data and share
>
> - The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
>
>
>- The APIs provided by this module are system APIs and can be used only in the stage model.
>
> - The APIs provided by this module are system APIs and can be used only in the stage model.
>
## Modules to Import
...
...
@@ -34,7 +33,7 @@ Observe the following when using this API:
| context | [Context](js-apis-inner-application-context.md#context) | Yes | Context of the application. |
| context | [Context](js-apis-inner-application-context.md#context) | Yes | Context of the application. |
| uri | string | Yes | Uniform Resource Identifier (URI) of the server application to connect. |
| callback | AsyncCallback<[DataShareHelper](#datasharehelper)> | Yes | Callback invoked to return the result. If the operation is successful, **err** is **undefined** and **data** is the **DataShareHelper** instance created. Otherwise, **err** is an error object.|
...
...
@@ -82,7 +81,7 @@ Observe the following when using this API:
| context | [Context](js-apis-inner-application-context.md#context) | Yes | Context of the application. |
| context | [Context](js-apis-inner-application-context.md#context) | Yes | Context of the application. |
| uri | string | Yes | URI of the server application to connect. |
| options | [DataShareHelperOptions](#datasharehelperoptions10)| Yes | Configuration specifying whether [DataShareHelper](#datasharehelper) is in proxy mode.|
| callback | AsyncCallback<[DataShareHelper](#datasharehelper)> | Yes | Callback invoked to return the result. If the operation is successful, **err** is **undefined** and **data** is the **DataShareHelper** instance created. Otherwise, **err** is an error object.|
...
...
@@ -132,8 +131,8 @@ Observe the following when using this API:
| context | [Context](js-apis-inner-application-context.md#context) | Yes | Context of an application. |
| uri | string | Yes | URI of the server application to connect.|
| context | [Context](js-apis-inner-application-context.md#context) | Yes | Context of the application. |
| uri | string | Yes | URI of the server application to connect.|
| options | [DataShareHelperOptions](#datasharehelperoptions10) | No| Configuration of the **DataShareHelper** instance. This parameter is supported from API version 10. If it is not set, [DataShareHelper](#datasharehelper) is not in proxy mode. |
**Return value**
...
...
@@ -484,7 +483,7 @@ function onPublishCallback(err, node:dataShare.PublishedDataChangeNode) {