| 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.|
...
@@ -110,8 +110,8 @@ Verifies whether the current PID and UID have the given permission. This API use
...
@@ -110,8 +110,8 @@ 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.|
...
@@ -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,8 +168,8 @@ Requests certain permissions from the system. This API uses an asynchronous call
...
@@ -168,8 +168,8 @@ 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**
...
@@ -687,7 +687,7 @@ If the distributed file path does not exist, the system will create one and retu
...
@@ -687,7 +687,7 @@ If the distributed file path does not exist, the system will create one and retu