未验证 提交 3aca3da3 编写于 作者: O openharmony_ci 提交者: Gitee

!12183 master:CI问题清理:无需翻译

Merge pull request !12183 from 葛亚芳/master
......@@ -32,7 +32,7 @@ Registers the continuation management service and obtains a token. This API does
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -73,7 +73,7 @@ Registers the continuation management service and obtains a token. This API uses
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -123,7 +123,7 @@ Registers the continuation management service and obtains a token. This API uses
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -167,7 +167,7 @@ Registers the continuation management service and obtains a token. This API does
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -212,7 +212,7 @@ Registers the continuation management service and obtains a token. This API uses
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -265,7 +265,7 @@ Registers the continuation management service and obtains a token. This API uses
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -314,7 +314,7 @@ Subscribes to device connection events. This API uses an asynchronous callback t
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -353,7 +353,7 @@ Subscribes to device disconnection events. This API uses an asynchronous callbac
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -390,7 +390,7 @@ Unsubscribes from device connection events. This API uses an asynchronous callba
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -429,7 +429,7 @@ Unsubscribes from device disconnection events. This API uses an asynchronous cal
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -467,7 +467,7 @@ Subscribes to device connection events. This API uses an asynchronous callback t
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -514,7 +514,7 @@ Subscribes to device disconnection events. This API uses an asynchronous callbac
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -561,7 +561,7 @@ Unsubscribes from device connection events.
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -600,7 +600,7 @@ Unsubscribes from device disconnection events.
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -639,7 +639,7 @@ Starts the device selection module to show the list of available devices on the
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -683,7 +683,7 @@ Starts the device selection module to show the list of available devices on the
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -735,7 +735,7 @@ Starts the device selection module to show the list of available devices on the
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -781,7 +781,7 @@ Starts the device selection module to show the list of available devices on the
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -826,7 +826,7 @@ Starts the device selection module to show the list of available devices on the
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -879,7 +879,7 @@ Starts the device selection module to show the list of available devices on the
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -928,7 +928,7 @@ Instructs the device selection module to update the device connection state. Thi
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -979,7 +979,7 @@ Instructs the device selection module to update the device connection state. Thi
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -1025,7 +1025,7 @@ Instructs the device selection module to update the device connection state. Thi
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -1077,7 +1077,7 @@ Instructs the device selection module to update the device connection state. Thi
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -1123,7 +1123,7 @@ Deregisters the continuation management service. This API uses an asynchronous c
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -1168,7 +1168,7 @@ Deregisters the continuation management service. This API uses a promise to retu
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -1208,7 +1208,7 @@ Deregisters the continuation management service. This API uses an asynchronous c
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......@@ -1257,7 +1257,7 @@ Deregisters the continuation management service. This API uses a promise to retu
**Error codes**
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errcode-DistributedSchedule.md).
For details about the error codes, see [Distributed Scheduler Error Codes](../errorcodes/errorcode-DistributedSchedule.md).
| ID| Error Message|
| ------- | -------------------------------------------- |
......
......@@ -102,7 +102,7 @@ Starts screen hopping. This API uses an asynchronous callback to return the resu
**Error codes**
For details about the error codes, see [Screen Hopping Error Codes](../errorcodes/errorcodes-multimodalinput.md).
For details about the error codes, see [Screen Hopping Error Codes](../errorcodes/errorcode-multimodalinput.md).
| ID| Error Message|
| -------- | ---------------------------------------- |
......@@ -150,7 +150,7 @@ Starts screen hopping. This API uses a promise to return the result.
**Error codes**
For details about the error codes, see [Screen Hopping Error Codes](../errorcodes/errorcodes-multimodalinput.md).
For details about the error codes, see [Screen Hopping Error Codes](../errorcodes/errorcode-multimodalinput.md).
| ID| Error Message|
| -------- | ---------------------------------------- |
......
......@@ -713,9 +713,11 @@ for (var value of searchParams.values()) {
### [Symbol.iterator]<sup>(deprecated)</sup>
> **NOTE**
>
> This API is deprecated since API version 9. You are advised to use [URLParams<sup>9+</sup>.[Symbol.iterator]<sup>9+</sup>](#symbol.iterator9) instead.
> This API is deprecated since API version 9. You are advised to use [[Symbol.iterator]<sup>9+</sup>](#symboliterator9) instead.
[Symbol.iterator]\(): IterableIterator&lt;[string, string]&gt;
......
......@@ -661,7 +661,7 @@ let rationalNumber = new util.RationalNumber();
rationalNumber.parseRationalNumber(1,2)
```
### constructor<sup>8+(deprecated)</sup>
### constructor<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -846,7 +846,7 @@ let rationalNumber = new util.RationalNumber(1,2);
let result = util.RationalNumber.getCommonFactor(4,6);
```
### getCommonDivisor<sup>8+(deprecated)</sup>
### getCommonDivisor<sup>(deprecated)</sup>
> **NOTE**
>
> This API is deprecated since API version 9. You are advised to use [getCommonFactor9+](#getcommonfactor9) instead.
......@@ -1541,7 +1541,7 @@ pro.put(2,10);
let result = pro[Symbol.iterator]();
```
## LruBuffer<sup>8+(deprecated)</sup>
## LruBuffer<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1563,7 +1563,7 @@ let result = pro[Symbol.iterator]();
let result = pro.length;
```
### constructor<sup>8+(deprecated)</sup>
### constructor<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1586,7 +1586,7 @@ A constructor used to create a **LruBuffer** instance. The default capacity of t
let lrubuffer= new util.LruBuffer();
```
### updateCapacity<sup>8+(deprecated)</sup>
### updateCapacity<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1610,7 +1610,7 @@ Changes the **LruBuffer** capacity. If the new capacity is less than or equal to
let result = pro.updateCapacity(100);
```
### toString<sup>8+(deprecated)</sup>
### toString<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1637,7 +1637,7 @@ Obtains the string representation of this **LruBuffer** object.
let result = pro.toString();
```
### getCapacity<sup>8+(deprecated)</sup>
### getCapacity<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1661,7 +1661,7 @@ Obtains the capacity of this buffer.
let result = pro.getCapacity();
```
### clear<sup>8+(deprecated)</sup>
### clear<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1681,7 +1681,7 @@ Clears key-value pairs from this buffer. The **afterRemoval()** method will be c
pro.clear();
```
### getCreateCount<sup>8+(deprecated)</sup>
### getCreateCount<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1706,7 +1706,7 @@ Obtains the number of return values for **createDefault()**.
let result = pro.getCreateCount();
```
### getMissCount<sup>8+(deprecated)</sup>
### getMissCount<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1732,7 +1732,7 @@ Obtains the number of times that the queried values are mismatched.
let result = pro.getMissCount();
```
### getRemovalCount<sup>8+(deprecated)</sup>
### getRemovalCount<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1759,7 +1759,7 @@ Obtains the number of removals from this buffer.
let result = pro.getRemovalCount();
```
### getMatchCount<sup>8+(deprecated)</sup>
### getMatchCount<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1785,7 +1785,7 @@ Obtains the number of times that the queried values are matched.
let result = pro.getMatchCount();
```
### getPutCount<sup>8+(deprecated)</sup>
### getPutCount<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1810,7 +1810,7 @@ Obtains the number of additions to this buffer.
let result = pro.getPutCount();
```
### isEmpty<sup>8+(deprecated)</sup>
### isEmpty<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1835,7 +1835,7 @@ Checks whether this buffer is empty.
let result = pro.isEmpty();
```
### get<sup>8+(deprecated)</sup>
### get<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1866,7 +1866,7 @@ Obtains the value of the specified key.
let result = pro.get(2);
```
### put<sup>8+(deprecated)</sup>
### put<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1897,7 +1897,7 @@ Adds a key-value pair to this buffer.
let result = pro.put(2,10);
```
### values<sup>8+(deprecated)</sup>
### values<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1924,7 +1924,7 @@ Obtains all values in this buffer, listed from the most to the least recently ac
let result = pro.values();
```
### keys<sup>8+(deprecated)</sup>
### keys<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1949,7 +1949,7 @@ Obtains all keys in this buffer, listed from the most to the least recently acce
let result = pro.keys();
```
### remove<sup>8+(deprecated)</sup>
### remove<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -1980,7 +1980,7 @@ Removes the specified key and its value from this buffer.
let result = pro.remove(20);
```
### afterRemoval<sup>8+(deprecated)</sup>
### afterRemoval<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2022,7 +2022,7 @@ Performs subsequent operations after a value is removed.
lru.afterRemoval(false,10,30,null);
```
### contains<sup>8+(deprecated)</sup>
### contains<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2053,7 +2053,7 @@ Checks whether this buffer contains the specified key.
let result = pro.contains(20);
```
### createDefault<sup>8+(deprecated)</sup>
### createDefault<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2083,7 +2083,7 @@ Creates a value if the value of the specified key is not available.
let result = pro.createDefault(50);
```
### entries<sup>8+(deprecated)</sup>
### entries<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2108,11 +2108,11 @@ Obtains a new iterator object that contains all key-value pairs in this object.
let result = pro.entries();
```
### [Symbol.iterator]<sup>8+(deprecated)</sup>
### [Symbol.iterator]<sup>(deprecated)</sup>
> **NOTE**
>
> This API is deprecated since API version 9. You are advised to use [Symbol.iterator9+](#symboliterator9) instead.
> This API is deprecated since API version 9. You are advised to use [Symbol.iterator<sup>9+</sup>](#symboliterator9) instead.
[Symbol.iterator]\(): IterableIterator&lt;[K, V]&gt;
......@@ -2524,13 +2524,13 @@ let range = new util.ScopeHelper(tempLower, tempUpper);
let result = range.clamp(tempMiDF);
```
## Scope<sup>8+(deprecated)</sup>
## Scope<sup>(deprecated)</sup>
> **NOTE**
>
> This class is deprecated since API version 9. You are advised to use [ScopeHelper9+](#scopehelper9) instead.
### constructor<sup>8+(deprecated)</sup>
### constructor<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2556,7 +2556,7 @@ A constructor used to create a **Scope** object with the specified upper and low
let range = new util.Scope(tempLower, tempUpper);
```
### toString<sup>8+(deprecated)</sup>
### toString<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2582,7 +2582,7 @@ Obtains a string representation that contains this **Scope**.
let result = range.toString();
```
### intersect<sup>8+(deprecated)</sup>
### intersect<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2598,13 +2598,13 @@ Obtains the intersection of this **Scope** and the given **Scope**.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| range | [Scope](#scope8) | Yes| **Scope** specified.|
| range | [Scope](#scopedeprecated) | Yes| **Scope** specified.|
**Return value**
| Type| Description|
| -------- | -------- |
| [Scope](#scope8) | Intersection of this **Scope** and the given **Scope**.|
| [Scope](#scopedeprecated) | Intersection of this **Scope** and the given **Scope**.|
**Example**
......@@ -2618,7 +2618,7 @@ Obtains the intersection of this **Scope** and the given **Scope**.
range.intersect(rangeFir );
```
### intersect<sup>8+(deprecated)</sup>
### intersect<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2641,7 +2641,7 @@ Obtains the intersection of this **Scope** and the given lower and upper limits.
| Type| Description|
| -------- | -------- |
| [Scope](#scope8) | Intersection of this **Scope** and the given lower and upper limits.|
| [Scope](#scopedeprecated) | Intersection of this **Scope** and the given lower and upper limits.|
**Example**
```js
......@@ -2653,7 +2653,7 @@ Obtains the intersection of this **Scope** and the given lower and upper limits.
let result = range.intersect(tempMiDF, tempMidS);
```
### getUpper<sup>8+(deprecated)</sup>
### getUpper<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2679,7 +2679,7 @@ Obtains the upper limit of this **Scope**.
let result = range.getUpper();
```
### getLower<sup>8+(deprecated)</sup>
### getLower<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2705,7 +2705,7 @@ Obtains the lower limit of this **Scope**.
let result = range.getLower();
```
### expand<sup>8+(deprecated)</sup>
### expand<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2728,7 +2728,7 @@ Obtains the union set of this **Scope** and the given lower and upper limits.
| Type| Description|
| -------- | -------- |
| [Scope](#scope8) | Union set of this **Scope** and the given lower and upper limits.|
| [Scope](#scopedeprecated) | Union set of this **Scope** and the given lower and upper limits.|
**Example**
......@@ -2741,7 +2741,7 @@ Obtains the union set of this **Scope** and the given lower and upper limits.
let result = range.expand(tempMiDF, tempMidS);
```
### expand<sup>8+(deprecated)</sup>
### expand<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2757,13 +2757,13 @@ Obtains the union set of this **Scope** and the given **Scope**.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| range | [Scope](#scope8) | Yes| **Scope** specified.|
| range | [Scope](#scopedeprecated) | Yes| **Scope** specified.|
**Return value**
| Type| Description|
| -------- | -------- |
| [Scope](#scope8) | Union set of this **Scope** and the given **Scope**.|
| [Scope](#scopedeprecated) | Union set of this **Scope** and the given **Scope**.|
**Example**
```js
......@@ -2776,7 +2776,7 @@ Obtains the union set of this **Scope** and the given **Scope**.
let result = range.expand(rangeFir);
```
### expand<sup>8+(deprecated)</sup>
### expand<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2798,7 +2798,7 @@ Obtains the union set of this **Scope** and the given value.
| Type| Description|
| -------- | -------- |
| [Scope](#scope8) | Union set of this **Scope** and the given value.|
| [Scope](#scopedeprecated) | Union set of this **Scope** and the given value.|
**Example**
```js
......@@ -2809,7 +2809,7 @@ Obtains the union set of this **Scope** and the given value.
let result = range.expand(tempMiDF);
```
### contains<sup>8+(deprecated)</sup>
### contains<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2842,7 +2842,7 @@ Checks whether a value is within this **Scope**.
range.contains(tempMiDF);
```
### contains<sup>8+(deprecated)</sup>
### contains<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -2858,7 +2858,7 @@ Checks whether a range is within this **Scope**.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| range | [Scope](#scope8) | Yes| **Scope** specified.|
| range | [Scope](#scopedeprecated) | Yes| **Scope** specified.|
**Return value**
......@@ -2878,7 +2878,7 @@ Checks whether a range is within this **Scope**.
let result = range.contains(rangeSec);
```
### clamp<sup>8+(deprecated)</sup>
### clamp<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -3113,13 +3113,13 @@ that.decode(array).then(val=>{
```
## Base64<sup>8+(deprecated)</sup>
## Base64<sup>(deprecated)</sup>
> **NOTE**
>
> This class is deprecated since API version 9. You are advised to use [Base64Helper9+](#base64helper9) instead.
### constructor<sup>8+(deprecated)</sup>
### constructor<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -3136,7 +3136,7 @@ A constructor used to create a **Base64** object.
let base64 = new util.Base64();
```
### encodeSync<sup>8+(deprecated)</sup>
### encodeSync<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -3168,7 +3168,7 @@ Encodes the input content.
let result = that.encodeSync(array);
```
### encodeToStringSync<sup>8+(deprecated)</sup>
### encodeToStringSync<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -3199,7 +3199,7 @@ Encodes the input content.
let result = that.encodeToStringSync(array);
```
### decodeSync<sup>8+(deprecated)</sup>
### decodeSync<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -3230,7 +3230,7 @@ Decodes the input content.
let result = that.decodeSync(buff);
```
### encode<sup>8+(deprecated)</sup>
### encode<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -3266,7 +3266,7 @@ Encodes the input content asynchronously.
})
```
### encodeToString<sup>8+(deprecated)</sup>
### encodeToString<sup>(deprecated)</sup>
> **NOTE**
>
......@@ -3299,7 +3299,7 @@ Encodes the input content asynchronously.
})
```
### decode<sup>8+(deprecated)</sup>
### decode<sup>(deprecated)</sup>
> **NOTE**
>
......
......@@ -15,8 +15,8 @@
| distro对象中的moduleType | 标识当前HAP的类型,包括两种类型:entry和feature。另外,如果表示HAR包类型,请设置为har | type | 标签变更。 |
| distro对象中的installationFree | 标识当前HAP是否支持免安装特性 | installationFree | 标签变更。 |
| distro对象中的deliveryWithInstall | 标识当前HAP是否支持随应用安装 | deliveryWithInstall | 标签变更。 |
| metaData | 标识HAP的元信息 | metadata | 具体差异如[表2](#表2 FA模型metaData和Stage中metadata对比)。 |
| abilities | 标识当前模块内的所有Ability | abilities | 具体差异如[表5](#表5 FA模型和Stage中abilities差异对比)。 |
| metaData | 标识HAP的元信息 | metadata | 具体差异如[表2](#表2-fa模型metadata和stage中metadata对比)。 |
| abilities | 标识当前模块内的所有Ability | abilities | 具体差异如[表5](#表5-fa模型和stage中abilities差异对比)。 |
| js | 标识基于ArkUI框架开发的JS模块集合,其中的每个元素代表一个JS模块的信息 | pages | Stage模型在module标签下保留该对象中的pages,window配置与pages的下一级。 |
| shortcuts | 标识应用的快捷方式信息 | shortcut_config.json文件 | 在开发视图的resources/base/profile下面定义配置文件shortcut_config.json。 |
| reqPermissions | 标识应用运行时向系统申请的权限 | requestPermissions | 标签名称变更。 |
......@@ -33,7 +33,7 @@
| -------- | -------- | -------- | -------- |
| parameters | 标识调用Ability时所有调用参数的元信息 | / | Stage模型不支持。 |
| results | 标识Ability返回值的元信息 | / | Stage模型不支持。 |
| customizeData | 该标签标识父级组件的自定义元信息,Parameters和results在application不可配 | metadata | 具体差异见[表3](#表3 FA模型metaData的customizeData和Stage中metadata对比)。 |
| customizeData | 该标签标识父级组件的自定义元信息,Parameters和results在application不可配 | metadata | 具体差异见[表3](#表3-fa模型metadata的customizedata和stage中metadata对比)。 |
### 表3 FA模型metaData的customizeData和Stage中metadata对比
......@@ -41,7 +41,7 @@
| -------- | -------- | -------- | -------- |
| name | 标识数据项的键名称。字符串最大长度为255字节 | name | 无。 |
| value | 标识数据项的值。字符串最大长度为255字节。 | value | 无。 |
| extra | 标识当前custom数据的格式,取值为表示extra的资源值。 | resource | 标签变更。具体实例见[表4](#表4 FA模型metaData和Stage中metadata示例)。 |
| extra | 标识当前custom数据的格式,取值为表示extra的资源值。 | resource | 标签变更。具体实例见[表4](#表4-fa模型metadata和stage中metadata示例)。 |
### 表4 FA模型metaData和Stage中metadata示例
......@@ -58,7 +58,7 @@
| process | 运行应用程序或Ability的进程名称 | / | Stage模型不支持abilities中配置,在module标签下配置process |
| uri | 标识Ability的统一资源标识符 | / | Stage模型不支持 |
| deviceCapability | 标识Ability运行时要求设备具有的能力,采用字符串数组的格式表示 | / | Stage模型不支持 |
| metaData | 该标签标识ability的元信息。 | metadata | 具体差异如[表2](#表2 FA模型metaData和Stage中metadata对比) |
| metaData | 该标签标识ability的元信息。 | metadata | 具体差异如[表2](#表2-fa模型metadata和stage中metadata对比) |
| type | 标识Ability的类型 | / | Stage模型不支持 |
| grantPermission | 指定是否可以向Ability内任何数据授予权限 | / | abilities内不支持; |
| readPermission | 标识读取Ability的数据所需的权限。该标签仅适用于data类型的Ability | / | abilities内不支持;在extensionAbilities标签中支持 |
......
......@@ -713,9 +713,10 @@ for (var value of searchParams.values()) {
### [Symbol.iterator]<sup>(deprecated)</sup>
> **说明:**
>
> 从API version 7开始支持,从API version 9开始废弃,建议使用[URLParams<sup>9+</sup>.[Symbol.iterator]<sup>9+</sup>](#symbol.iterator9)替代。
> 从API version 7开始支持,从API version 9开始废弃,建议使用[[Symbol.iterator]<sup>9+</sup>](#symboliterator9)替代。
[Symbol.iterator]\(): IterableIterator&lt;[string, string]&gt;
......@@ -741,7 +742,7 @@ for (const [name, value] of paramsObject) {
### tostring<sup>(deprecated)</sup>
> **说明:**
>
> 从API version 7开始支持,从API version 9开始废弃,建议使用[URLParams<sup>9+</sup>.tostring<sup>9+</sup>](#tostring9)替代。
> 从API version 7开始支持,从API version 9开始废弃,建议使用[tostring<sup>9+</sup>](#tostring9)替代。
toString(): string
......@@ -790,7 +791,7 @@ console.log(params.toString());
> **说明:**
>
> 从API version 7开始支持,从API version 9开始废弃,建议使用[parseURL<sup>9+</sup>](#parseURL9)替代。
> 从API version 7开始支持,从API version 9开始废弃,建议使用[parseURL<sup>9+</sup>](#parseurl9)替代。
constructor(url: string, base?: string | URL)
......
......@@ -2644,13 +2644,13 @@ intersect(range: Scope): Scope
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| range | [Scope](#scope8) | 是 | 传入一个给定范围。 |
| range | [Scope](#scopedeprecated) | 是 | 传入一个给定范围。 |
**返回值:**
| 类型 | 说明 |
| -------- | -------- |
| [Scope](#scope8) | 返回给定范围和当前范围的交集。 |
| [Scope](#scopedeprecated) | 返回给定范围和当前范围的交集。 |
**示例:**
......@@ -2687,7 +2687,7 @@ intersect(lowerObj:ScopeType,upperObj:ScopeType):Scope
| 类型 | 说明 |
| -------- | -------- |
| [Scope](#scope8) | 返回当前范围与给定下限和上限范围的交集。 |
| [Scope](#scopedeprecated) | 返回当前范围与给定下限和上限范围的交集。 |
**示例:**
......@@ -2777,7 +2777,7 @@ expand(lowerObj: ScopeType,upperObj: ScopeType): Scope
| 类型 | 说明 |
| -------- | -------- |
| [Scope](#scope8) | 返回当前范围和给定下限和上限的并集。 |
| [Scope](#scopedeprecated) | 返回当前范围和给定下限和上限的并集。 |
**示例:**
......@@ -2806,13 +2806,13 @@ expand(range: Scope): Scope
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| range | [Scope](#scope8) | 是 | 传入一个给定范围。 |
| range | [Scope](#scopedeprecated) | 是 | 传入一个给定范围。 |
**返回值:**
| 类型 | 说明 |
| -------- | -------- |
| [Scope](#scope8) | 返回包括当前范围和给定范围的并集。 |
| [Scope](#scopedeprecated) | 返回包括当前范围和给定范围的并集。 |
**示例:**
......@@ -2848,7 +2848,7 @@ expand(value: ScopeType): Scope
| 类型 | 说明 |
| -------- | -------- |
| [Scope](#scope8) | 返回包括当前范围和给定值的并集。 |
| [Scope](#scopedeprecated) | 返回包括当前范围和给定值的并集。 |
**示例:**
......@@ -2910,7 +2910,7 @@ contains(range: Scope): boolean
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| range | [Scope](#scope8) | 是 | 传入一个给定范围。 |
| range | [Scope](#scopedeprecated) | 是 | 传入一个给定范围。 |
**返回值:**
......
......@@ -73,7 +73,7 @@ HarmonyAppProvision文件示例:
### acls对象内部结构
acls对象包含已授权的[ACL权限](accesstoken-overview.md)。需要指出的是,开发者仍然需要在应用包配置文件([config.json](../quick-start/package-structure.md))将acls权限信息填写到reqPermissions属性中。
acls对象包含已授权的[ACL权限](accesstoken-overview.md)。需要指出的是,开发者仍然需要在应用包配置文件([config.json](../quick-start/application-package-structure-fa.md))将acls权限信息填写到reqPermissions属性中。
表4 acls对象的内部结构
| 属性名称 | 含义 | 数据类型 | 是否必选 | 是否可缺省 |
......@@ -81,7 +81,7 @@ acls对象包含已授权的[ACL权限](accesstoken-overview.md)。需要指出
| allowed-acls | 表示已授权的[acl权限](accesstoken-overview.md)列表。 | 字符串数组 | 可选 | 不可缺省 |
### permissions对象内部结构
permissions对象包含允许使用的受限敏感权限。不同于acls对象,permissions对象中的权限仅代表应用允许使用该敏感权限,权限最终由用户运行时授权。需要指出的是,开发者仍然需要在应用包配置文件([config.json](../quick-start/package-structure.md))将permissions权限信息填写到reqPermissions属性中。
permissions对象包含允许使用的受限敏感权限。不同于acls对象,permissions对象中的权限仅代表应用允许使用该敏感权限,权限最终由用户运行时授权。需要指出的是,开发者仍然需要在应用包配置文件([config.json](../quick-start/application-package-structure-fa.md))将permissions权限信息填写到reqPermissions属性中。
表5 permissions对象的内部结构
| 属性名称 | 含义 | 数据类型 | 是否必选 | 是否可缺省 |
......
......@@ -29,7 +29,7 @@ userIAM_userAuth模块提供了用户认证的相关方法,包括查询认证
### 开发步骤
1. 申请权限。调用[getVersion](../reference/apis/js-apis-useriam-userauth.md#useriam_userauthgetversion9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[应用包结构配置文件的说明](../quick-start/stage-structure.md)
1. 申请权限。调用[getVersion](../reference/apis/js-apis-useriam-userauth.md#useriam_userauthgetversion9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[Stage模型应用程序包结构](../quick-start/application-package-structure-stage.md)
2. 调用[getVersion](../reference/apis/js-apis-useriam-userauth.md#useriam_userauthgetversion9)接口获取版本信息。
......@@ -49,7 +49,7 @@ userIAM_userAuth模块提供了用户认证的相关方法,包括查询认证
### 开发步骤
1. 申请权限。调用[getAvailableStatus](../reference/apis/js-apis-useriam-userauth.md#useriam_userauthgetavailablestatus9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[应用包结构配置文件的说明](../quick-start/stage-structure.md)
1. 申请权限。调用[getAvailableStatus](../reference/apis/js-apis-useriam-userauth.md#useriam_userauthgetavailablestatus9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[Stage模型应用程序包结构](../quick-start/application-package-structure-stage.md)
2. 指定[认证类型](../reference/apis/js-apis-useriam-userauth.md#userauthtype8)[认证等级](../reference/apis/js-apis-useriam-userauth.md#authtrustlevel8),调用[getAvailableStatus](../reference/apis/js-apis-useriam-userauth.md#useriam_userauthgetavailablestatus9)接口查询当前的设备是否支持相应的认证能力。
......@@ -69,7 +69,7 @@ userIAM_userAuth模块提供了用户认证的相关方法,包括查询认证
### 开发步骤
1. 申请权限。调用[start](../reference/apis/js-apis-useriam-userauth.md#start9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[应用包结构配置文件的说明](../quick-start/stage-structure.md)
1. 申请权限。调用[start](../reference/apis/js-apis-useriam-userauth.md#start9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[Stage模型应用程序包结构](../quick-start/application-package-structure-stage.md)
2. 指定challenge、[认证类型](../reference/apis/js-apis-useriam-userauth.md#userauthtype8)[认证等级](../reference/apis/js-apis-useriam-userauth.md#authtrustlevel8),获取认证对象。
......@@ -131,7 +131,7 @@ userIAM_userAuth模块提供了用户认证的相关方法,包括查询认证
### 开发步骤
1. 申请权限。调用[start](../reference/apis/js-apis-useriam-userauth.md#start9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[应用包结构配置文件的说明](../quick-start/stage-structure.md)
1. 申请权限。调用[start](../reference/apis/js-apis-useriam-userauth.md#start9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[Stage模型应用程序包结构](../quick-start/application-package-structure-stage.md)
2. 指定challenge、[认证类型](../reference/apis/js-apis-useriam-userauth.md#userauthtype8)[认证等级](../reference/apis/js-apis-useriam-userauth.md#authtrustlevel8),获取认证对象。
......@@ -197,7 +197,7 @@ userIAM_userAuth模块提供了用户认证的相关方法,包括查询认证
### 开发步骤
1. 申请权限。调用[cancel](../reference/apis/js-apis-useriam-userauth.md#cancel9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[应用包结构配置文件的说明](../quick-start/stage-structure.md)
1. 申请权限。调用[cancel](../reference/apis/js-apis-useriam-userauth.md#cancel9)接口,需要在module.json5文件的requestPermissions对象中配置ohos.permission.ACCESS_BIOMETRIC权限。更多配置信息[Stage模型应用程序包结构](../quick-start/application-package-structure-stage.md)
2. 指定challenge、[认证类型](../reference/apis/js-apis-useriam-userauth.md#userauthtype8)[认证等级](../reference/apis/js-apis-useriam-userauth.md#authtrustlevel8),获取认证对象。
......
......@@ -292,7 +292,7 @@ class MainAbility extends Ability {
### 开发步骤
1. 申请权限。
创建`WindowType.TYPE_FLOAT`即悬浮窗类型的窗口,需要在`module.json5`文件的`requestPermissions`对象中配置`ohos.permission.SYSTEM_FLOAT_WINDOW`权限。更多配置信息详见[应用包结构配置文件的说明](../quick-start/stage-structure.md)
创建`WindowType.TYPE_FLOAT`即悬浮窗类型的窗口,需要在`module.json5`文件的`requestPermissions`对象中配置`ohos.permission.SYSTEM_FLOAT_WINDOW`权限。更多配置信息详见[Stage模型应用程序包结构](../quick-start/application-package-structure-stage.md)
> **说明:**
> 虽然悬浮窗具备始终在前台显示的能力,但如果创建悬浮窗的应用任务被系统回收,仍然会导致悬浮窗从界面移除。如果想要保持悬浮窗口始终在前台显示,请申请[长时任务](../task-management/background-task-overview.md)。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册