diff --git a/api/@ohos.continuation.continuationManager.d.ts b/api/@ohos.continuation.continuationManager.d.ts index 4187bdd5d7b6a7d342842ed28508905ccedfa67b..09f8231d282a5ce22f2e1550477a2626433bb9ab 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.