> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
...
@@ -20,9 +20,9 @@ Creates an **AppAccountManager** instance.
...
@@ -20,9 +20,9 @@ Creates an **AppAccountManager** instance.
| name | string | Yes | Name of the app account to add. |
| name | string | Yes | Name of the app account to add. |
| extraInfo | string | Yes | Additional information (for example, token) of the app account to add. The additional information cannot contain sensitive information about the app account.|
| extraInfo | string | Yes | Additional information (for example, token) of the app account to add. The additional information cannot contain sensitive information about the app account. |
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account and its additional information are added. |
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account and its additional information are added. |
**Example**
**Example**
...
@@ -94,16 +94,16 @@ Adds an app account and its additional information to the account management ser
...
@@ -94,16 +94,16 @@ Adds an app account and its additional information to the account management ser
| name | string | Yes | Name of the app account to add. |
| name | string | Yes | Name of the app account to add. |
| extraInfo | string | Yes | Additional information of the app account to add. The additional information cannot contain sensitive information about the app account.|
| extraInfo | string | Yes | Additional information of the app account to add. The additional information cannot contain sensitive information about the app account. |
**Return Value**
**Return Value**
| Type | Description |
| Type | Description |
| ------------------- | --------------------- |
| ------------------- | --------------------- |
| Promise<void> | Promise used to return the result.|
| Promise<void> | Promise used to return the result. |
**Example**
**Example**
...
@@ -126,12 +126,12 @@ Implicitly adds an app account based on the specified account owner, authenticat
...
@@ -126,12 +126,12 @@ Implicitly adds an app account based on the specified account owner, authenticat
| bundleName | string | Yes | Bundle name of an app. |
| bundleName | string | Yes | Bundle name of an app. |
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account is disabled from accessing the application with the given bundle name.|
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account is disabled from accessing the application with the given bundle name. |
**Example**
**Example**
...
@@ -247,16 +247,16 @@ Disables an app account from accessing an application with the given bundle name
...
@@ -247,16 +247,16 @@ Disables an app account from accessing an application with the given bundle name
| bundleName | string | Yes | Bundle name of an app. |
| bundleName | string | Yes | Bundle name of an app. |
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account is enabled to access the application with the given bundle name.|
| callback | AsyncCallback<void> | Yes | Callback invoked when the app account is enabled to access the application with the given bundle name. |
**Example**
**Example**
...
@@ -304,16 +304,16 @@ Enables an app account to access an application with the given bundle name. This
...
@@ -304,16 +304,16 @@ Enables an app account to access an application with the given bundle name. This
**Parameters**
**Parameters**
| Name | Type | Mandatory | Description |
| Name | Type | Mandatory | Description |
| ---------- | ------ | ---- | --------- |
| ---------- | ------ | ---- | --------- |
| name | string | Yes | App account name. |
| name | string | Yes | App account name. |
| bundleName | string | Yes | Bundle name of an app.|
| bundleName | string | Yes | Bundle name of an app. |
**Return Value**
**Return Value**
| Type | Description |
| Type | Description |
| :------------------ | :-------------------- |
| :------------------ | :-------------------- |
| Promise<void> | Promise used to return the result.|
| Promise<void> | Promise used to return the result. |
**Example**
**Example**
...
@@ -337,10 +337,10 @@ Checks whether an app account allows application data synchronization. This meth
...
@@ -337,10 +337,10 @@ Checks whether an app account allows application data synchronization. This meth
| type | 'change' | Yes | Type of the event to subscribe to. The subscriber will receive a notification when the account owners update their accounts.|
| type | 'change' | Yes | Type of the event to subscribe to. The subscriber will receive a notification when the account owners update their accounts. |
| owners | Array<string> | Yes | Owners of the accounts. |
| owners | Array<string> | Yes | Owners of the accounts. |
| callback | Callback<Array<AppAccountInfo>> | Yes | Callback invoked to return the account change. |
| callback | Callback<Array<AppAccountInfo>> | Yes | Callback invoked to return the account change. |
**Example**
**Example**
...
@@ -948,10 +948,10 @@ Unsubscribes from the account change event. This method uses an asynchronous cal
...
@@ -948,10 +948,10 @@ Unsubscribes from the account change event. This method uses an asynchronous cal