From 7cbe5a188c374578fdec9ed192ce85085d224c60 Mon Sep 17 00:00:00 2001 From: du-zhihai Date: Wed, 30 Nov 2022 16:30:32 +0800 Subject: [PATCH] =?UTF-8?q?ContinuationManager=E4=BF=AE=E6=94=B9@return?= =?UTF-8?q?=E4=B8=BA@returns?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: du-zhihai Change-Id: I4c00a64d47e6eb78ba44a49f62db1976922455cd --- ...ohos.continuation.continuationManager.d.ts | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/api/@ohos.continuation.continuationManager.d.ts b/api/@ohos.continuation.continuationManager.d.ts index 4187bdd5d7..09f8231d28 100644 --- a/api/@ohos.continuation.continuationManager.d.ts +++ b/api/@ohos.continuation.continuationManager.d.ts @@ -31,7 +31,7 @@ declare namespace continuationManager { * You can implement your own processing logic in this callback to initiate the hop process. * * @param type deviceConnect. - * @return callback Indicates the information about the selected devices. + * @returns callback Indicates the information about the selected devices. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 16600001 - The system ability work abnormally. * @throws { BusinessError } 16600002 - The specified token or callback has not registered. @@ -47,7 +47,7 @@ declare namespace continuationManager { * You can implement your own processing logic in this callback, such as notifying the user of the disconnection. * * @param type deviceDisconnect. - * @return callback Indicates the ID of the disconnected devices. + * @returns callback Indicates the ID of the disconnected devices. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 16600001 - The system ability work abnormally. * @throws { BusinessError } 16600002 - The specified token or callback has not registered. @@ -63,7 +63,7 @@ declare namespace continuationManager { * You can implement your own processing logic in this callback to initiate the hop process. * * @param type deviceConnect. - * @return callback Indicates the information about the selected device. + * @returns callback Indicates the information about the selected device. * @syscap SystemCapability.Ability.DistributedAbilityManager * @since 8 * @deprecated since 9 @@ -77,7 +77,7 @@ declare namespace continuationManager { * You can implement your own processing logic in this callback, such as notifying the user of the disconnection. * * @param type deviceDisconnect. - * @return callback Indicates the ID of the disconnected device. + * @returns callback Indicates the ID of the disconnected device. * @syscap SystemCapability.Ability.DistributedAbilityManager * @since 8 * @deprecated since 9 @@ -92,7 +92,7 @@ declare namespace continuationManager { * * @param options Indicates the {@link ExtraParams} object containing the extra parameters used to filter * the list of available devices. - * @return callback Indicates the callback to be invoked when the continuation manager service is connected. + * @returns callback Indicates the callback to be invoked when the continuation manager service is connected. * @syscap SystemCapability.Ability.DistributedAbilityManager * @since 8 * @deprecated since 9 @@ -107,7 +107,7 @@ declare namespace continuationManager { * registration. * * @param token Indicates the registration token of the ability. - * @return callback Indicates the callback to be invoked when the continuation manager service is connected. + * @returns callback Indicates the callback to be invoked when the continuation manager service is connected. * @syscap SystemCapability.Ability.DistributedAbilityManager * @since 8 * @deprecated since 9 @@ -122,7 +122,7 @@ declare namespace continuationManager { * @param token Indicates the registration token of the ability. * @param deviceId Indicates the ID of the device whose connection state is to be updated. * @param status Indicates the connection state to update. - * @return callback Indicates the callback to be invoked when the continuation manager service is connected. + * @returns callback Indicates the callback to be invoked when the continuation manager service is connected. * @syscap SystemCapability.Ability.DistributedAbilityManager * @since 8 * @deprecated since 9 @@ -137,7 +137,7 @@ declare namespace continuationManager { * @param token Indicates the registration token of the ability. * @param options Indicates the extraParams object containing the extra parameters used to filter * the list of available devices. This parameter can be null. - * @return callback Indicates the callback to be invoked when the continuation manager service is connected. + * @returns callback Indicates the callback to be invoked when the continuation manager service is connected. * @syscap SystemCapability.Ability.DistributedAbilityManager * @since 8 * @deprecated since 9 @@ -153,7 +153,7 @@ declare namespace continuationManager { * * @param options Indicates the {@link ExtraParams} object containing the extra parameters used to filter * the list of available devices. - * @return callback Indicates the callback to be invoked when the continuation manager service is connected. + * @returns callback Indicates the callback to be invoked when the continuation manager service is connected. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 16600001 - The system ability work abnormally. * @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit. @@ -169,7 +169,7 @@ declare namespace continuationManager { * registration. * * @param token Indicates the registration token of the ability. - * @return callback Indicates the callback to be invoked when the continuation manager service is connected. + * @returns callback Indicates the callback to be invoked when the continuation manager service is connected. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 16600001 - The system ability work abnormally. * @throws { BusinessError } 16600002 - The specified token or callback has not registered. @@ -185,7 +185,7 @@ declare namespace continuationManager { * @param token Indicates the registration token of the ability. * @param deviceId Indicates the ID of the device whose connection state is to be updated. * @param status Indicates the connection state to update. - * @return callback Indicates the callback to be invoked when the continuation manager service is connected. + * @returns callback Indicates the callback to be invoked when the continuation manager service is connected. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 16600001 - The system ability work abnormally. * @throws { BusinessError } 16600002 - The specified token or callback has not registered. @@ -201,7 +201,7 @@ declare namespace continuationManager { * @param token Indicates the registration token of the ability. * @param options Indicates the extraParams object containing the extra parameters used to filter * the list of available devices. This parameter can be null. - * @return callback Indicates the callback to be invoked when the continuation manager service is connected. + * @returns callback Indicates the callback to be invoked when the continuation manager service is connected. * @throws { BusinessError } 401 - The parameter check failed. * @throws { BusinessError } 16600001 - The system ability work abnormally. * @throws { BusinessError } 16600002 - The specified token or callback has not registered. -- Gitee