diff --git a/en/application-dev/reference/apis/js-apis-request.md b/en/application-dev/reference/apis/js-apis-request.md index f2eb1a5fff829317cf67affa7980deaee7c67158..9acb13cab11b2ff8458554a3bf32f67fab291f75 100644 --- a/en/application-dev/reference/apis/js-apis-request.md +++ b/en/application-dev/reference/apis/js-apis-request.md @@ -286,6 +286,10 @@ on(type: 'progress', callback:(uploadedSize: number, totalSize: number) => vo Subscribes to upload progress events. This API uses a callback to return the result synchronously. +> **NOTE** +> +> To maintain a balance between power consumption and performance, this API cannot be called when the application is running in the background. + **Required permissions**: ohos.permission.INTERNET **System capability**: SystemCapability.MiscServices.Upload @@ -851,6 +855,10 @@ on(type: 'progress', callback:(receivedSize: number, totalSize: number) => vo Subscribes to download progress events. This API uses a callback to return the result synchronously. +> **NOTE** +> +> To maintain a balance between power consumption and performance, this API cannot be called when the application is running in the background. + **Required permissions**: ohos.permission.INTERNET **System capability**: SystemCapability.MiscServices.Download