| callback | AsyncCallback\<number> | Yes | Callback used to return the permission verification result. The value **0** means that the PID and UID have the given permission, and the value **-1** means the opposite.|
| callback | AsyncCallback\<number> | Yes | Callback used to return the permission verification result. The value **0** means that the PID and UID have the given permission, and the value **-1** means the opposite.|
**Example**
**Example**
...
@@ -110,10 +110,10 @@ Verifies whether the current PID and UID have the given permission. This API use
...
@@ -110,10 +110,10 @@ Verifies whether the current PID and UID have the given permission. This API use
| permission | string | Yes | Name of the permission to verify. |
| permission | string | Yes | Name of the permission to verify. |
| callback | AsyncCallback\<number> | Yes | Callback used to return the permission verification result. The value **0** means that the PID and UID have the given permission, and the value **-1** means the opposite.|
| callback | AsyncCallback\<number> | Yes | Callback used to return the permission verification result. The value **0** means that the PID and UID have the given permission, and the value **-1** means the opposite.|
**Example**
**Example**
...
@@ -133,15 +133,15 @@ Verifies whether a specific PID and UID have the given permission. This API uses
...
@@ -133,15 +133,15 @@ Verifies whether a specific PID and UID have the given permission. This API uses
| Promise\<number> | Promise used to return the permission verification result. The value **0** means that the PID and UID have the given permission, and the value **-1** means the opposite.|
| Promise\<number> | Promise used to return the permission verification result. The value **0** means that the PID and UID have the given permission, and the value **-1** means the opposite.|
**Example**
**Example**
...
@@ -168,11 +168,11 @@ Requests certain permissions from the system. This API uses an asynchronous call
...
@@ -168,11 +168,11 @@ Requests certain permissions from the system. This API uses an asynchronous call
| callback | AsyncCallback\<string> | Yes | Callback used to return the distributed file path. If the distributed file path does not exist, the system will create one and return the created path.|
| callback | AsyncCallback\<string> | Yes | Callback used to return the distributed file path. If the distributed file path does not exist, the system will create one and return the created path.|
**Example**
**Example**
...
@@ -686,8 +686,8 @@ If the distributed file path does not exist, the system will create one and retu
...
@@ -686,8 +686,8 @@ If the distributed file path does not exist, the system will create one and retu