mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-01-23 09:18:31 +00:00
review
Signed-off-by: liuxiyao223 <liuxiyao223@huawei.com>
This commit is contained in:
parent
35c9639270
commit
d30b079a0d
4
api/@ohos.telephony.radio.d.ts
vendored
4
api/@ohos.telephony.radio.d.ts
vendored
@ -1322,7 +1322,7 @@ declare namespace radio {
|
||||
* @param { number } slotId - Indicates the card slot index number,
|
||||
* ranging from 0 to the maximum card slot index number supported by the device.
|
||||
* @param { NetworkCapabilityType } type - Indicates the service type of the {@link NetworkCapabilityType}.
|
||||
* @param { NetworkCapabilityState } state - Indicates the service ability of the {@link NetworkCapabilityState}.
|
||||
* @param { NetworkCapabilityState } state - Indicates the service ability state of the {@link NetworkCapabilityState}.
|
||||
* @param { AsyncCallback<void> } callback - The callback of setNetworkCapability.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - Non-system applications use system APIs.
|
||||
@ -1345,7 +1345,7 @@ declare namespace radio {
|
||||
* @param { number } slotId - Indicates the card slot index number,
|
||||
* ranging from 0 to the maximum card slot index number supported by the device.
|
||||
* @param { NetworkCapabilityType } type - Indicates the service type of the {@link NetworkCapabilityType}.
|
||||
* @param { NetworkCapabilityState } state - Indicates the service ability of the {@link NetworkCapabilityState}.
|
||||
* @param { NetworkCapabilityState } state - Indicates the service ability state of the {@link NetworkCapabilityState}.
|
||||
* @returns { Promise<void> } The promise returned by the setNetworkCapability.
|
||||
* @throws { BusinessError } 201 - Permission denied.
|
||||
* @throws { BusinessError } 202 - Non-system applications use system APIs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user