1/* 2 * Copyright (c) 2022-2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"), 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16import { Callback } from './@ohos.base'; 17import { AsyncCallback } from './@ohos.base'; 18import type { ContinuationResult as _ContinuationResult } from './continuation/continuationResult'; 19import type { ContinuationExtraParams as _ContinuationExtraParams } from './continuation/continuationExtraParams'; 20 21/** 22 * Provides methods for interacting with the continuation manager service, including methods for registering and 23 * Unregister the ability to hop, updating the device connection state, and showing the list of devices 24 * that can be selected for hopping. 25 * 26 * @namespace continuationManager 27 * @syscap SystemCapability.Ability.DistributedAbilityManager 28 * @since 8 29 */ 30declare namespace continuationManager { 31 /** 32 * Called when the user selects devices from the candidate device list. 33 * You can implement your own processing logic in this callback to initiate the hop process. 34 * 35 * @permission ohos.permission.DISTRIBUTED_DATASYNC 36 * @param { 'deviceSelected' } type - deviceSelected. 37 * @param { number } token - Registered token. 38 * @param { Callback<Array<ContinuationResult>> } callback - Called when the user selects a device from the device 39 * selection module, returning the device ID,device type, 40 * and device name for developers to use 41 * @throws { BusinessError } 201 - Permission denied. 42 * @throws { BusinessError } 401 - The parameter check failed. 43 * @throws { BusinessError } 16600001 - The system ability works abnormally. 44 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 45 * @throws { BusinessError } 16600004 - The specified callback has been registered. 46 * @syscap SystemCapability.Ability.DistributedAbilityManager 47 * @since 9 48 */ 49 function on(type: 'deviceSelected', token: number, callback: Callback<Array<ContinuationResult>>): void; 50 51 /** 52 * Called when devices are disconnected from the continuation manager service. 53 * You can implement your own processing logic in this callback, such as notifying the user of the disconnection. 54 * 55 * @permission ohos.permission.DISTRIBUTED_DATASYNC 56 * @param { 'deviceSelected' } type - deviceSelected. 57 * @param { number } token - Registered token. 58 * @throws { BusinessError } 201 - Permission denied. 59 * @throws { BusinessError } 401 - The parameter check failed. 60 * @throws { BusinessError } 16600001 - The system ability works abnormally. 61 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 62 * @throws { BusinessError } 16600004 - The specified callback has been registered. 63 * @syscap SystemCapability.Ability.DistributedAbilityManager 64 * @since 9 65 */ 66 function off(type: 'deviceSelected', token: number): void; 67 68 /** 69 * Called when devices are disconnected from the continuation manager service. 70 * You can implement your own processing logic in this callback, such as notifying the user of the disconnection. 71 * 72 * @permission ohos.permission.DISTRIBUTED_DATASYNC 73 * @param { 'deviceUnselected' } type - deviceUnselected. 74 * @param { number } token - Registered token. 75 * @param { Callback<Array<ContinuationResult>> } callback - Called when the user disconnects the device from the 76 * device selection module, returning the device ID, 77 * device type, and device name for developers to use 78 * @throws { BusinessError } 201 - Permission denied. 79 * @throws { BusinessError } 401 - The parameter check failed. 80 * @throws { BusinessError } 16600001 - The system ability works abnormally. 81 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 82 * @throws { BusinessError } 16600004 - The specified callback has been registered. 83 * @syscap SystemCapability.Ability.DistributedAbilityManager 84 * @since 9 85 */ 86 function on(type: 'deviceUnselected', token: number, callback: Callback<Array<ContinuationResult>>): void; 87 88 /** 89 * Called when devices are disconnected from the continuation manager service. 90 * You can implement your own processing logic in this callback, such as notifying the user of the disconnection. 91 * 92 * @permission ohos.permission.DISTRIBUTED_DATASYNC 93 * @param { 'deviceUnselected' } type - deviceUnselected. 94 * @param { number } token - Registered token. 95 * @throws { BusinessError } 201 - Permission denied. 96 * @throws { BusinessError } 401 - The parameter check failed. 97 * @throws { BusinessError } 16600001 - The system ability works abnormally. 98 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 99 * @throws { BusinessError } 16600004 - The specified callback has been registered. 100 * @syscap SystemCapability.Ability.DistributedAbilityManager 101 * @since 9 102 */ 103 function off(type: 'deviceUnselected', token: number): void; 104 105 /** 106 * Called when the user selects a device from the candidate device list. 107 * You can implement your own processing logic in this callback to initiate the hop process. 108 * 109 * @param { 'deviceConnect' } type - deviceConnect. 110 * @param { Callback<ContinuationResult> } callback - Called when the user selects a device from the device selection 111 * module, returning the device ID,device type, and device name for 112 * developers to use. 113 * @syscap SystemCapability.Ability.DistributedAbilityManager 114 * @since 8 115 * @deprecated since 9 116 * @useinstead ohos.continuation.continuationManager/continuationManager#on 117 */ 118 function on(type: 'deviceConnect', callback: Callback<ContinuationResult>): void; 119 120 /** 121 * Called when the user selects a device from the candidate device list. 122 * You can implement your own processing logic in this callback to initiate the hop process. 123 * 124 * @param { 'deviceConnect' } type - deviceConnect. 125 * @param { Callback<ContinuationResult> } [callback] - Called when the user selects a device from the device 126 * selection module, returning the device ID,device type, 127 * and device name for developers to use. 128 * @syscap SystemCapability.Ability.DistributedAbilityManager 129 * @since 8 130 * @deprecated since 9 131 * @useinstead ohos.continuation.continuationManager/continuationManager#off 132 */ 133 function off(type: 'deviceConnect', callback?: Callback<ContinuationResult>): void; 134 135 /** 136 * Called when a device is disconnected from the continuation manager service. 137 * You can implement your own processing logic in this callback, such as notifying the user of the disconnection. 138 * 139 * @param { 'deviceDisconnect' } type - deviceDisconnect. 140 * @param { Callback<string> } callback - Called when the user disconnects the device from the device selection 141 * module, returning the device ID for developers to use. 142 * @syscap SystemCapability.Ability.DistributedAbilityManager 143 * @since 8 144 * @deprecated since 9 145 * @useinstead ohos.continuation.continuationManager/continuationManager#on 146 */ 147 function on(type: 'deviceDisconnect', callback: Callback<string>): void; 148 149 /** 150 * Called when a device is disconnected from the continuation manager service. 151 * You can implement your own processing logic in this callback, such as notifying the user of the disconnection. 152 * 153 * @param { 'deviceDisconnect' } type - deviceDisconnect. 154 * @param { Callback<string> } [callback] - Called when the user selects a device from the device selection module, 155 * returning the device ID,device type, and device name for developers to use. 156 * @syscap SystemCapability.Ability.DistributedAbilityManager 157 * @since 8 158 * @deprecated since 9 159 * @useinstead ohos.continuation.continuationManager/continuationManager#off 160 */ 161 function off(type: 'deviceDisconnect', callback?: Callback<string>): void; 162 163 /** 164 * Registers an ability to be hopped with the continuation manager service and obtains the registration token 165 * assigned to the ability. 166 * 167 * @param { AsyncCallback<number> } callback - The AsyncCallback form returns the token generated after connecting to 168 * the flow management service. 169 * @syscap SystemCapability.Ability.DistributedAbilityManager 170 * @since 8 171 * @deprecated since 9 172 * @useinstead ohos.continuation.continuationManager/continuationManager#registerContinuation 173 */ 174 function register(callback: AsyncCallback<number>): void; 175 176 /** 177 * Registers an ability to be hopped with the continuation manager service and obtains the registration token 178 * assigned to the ability. 179 * 180 * @param { ContinuationExtraParams } options - Indicates the {@link ExtraParams} object containing the extra 181 * parameters used to filter the list of available devices. 182 * @param { AsyncCallback<number> } callback - The AsyncCallback form returns the token generated after 183 * connecting to the flow management service. 184 * @syscap SystemCapability.Ability.DistributedAbilityManager 185 * @since 8 186 * @deprecated since 9 187 * @useinstead ohos.continuation.continuationManager/continuationManager#registerContinuation 188 */ 189 function register(options: ContinuationExtraParams, callback: AsyncCallback<number>): void; 190 191 /** 192 * Registers an ability to be hopped with the continuation manager service and obtains the registration token 193 * assigned to the ability. 194 * 195 * @param { ContinuationExtraParams } [options] - Indicates the {@link ExtraParams} object containing the extra 196 * parameters used to filter the list of available devices. 197 * @returns { Promise<number> } callback Indicates the callback to be invoked when the continuation manager service 198 * is connected. 199 * @syscap SystemCapability.Ability.DistributedAbilityManager 200 * @since 8 201 * @deprecated since 9 202 * @useinstead ohos.continuation.continuationManager/continuationManager#registerContinuation 203 */ 204 function register(options?: ContinuationExtraParams): Promise<number>; 205 206 /** 207 * Unregisters a specified ability from the continuation manager service based on the token obtained during ability 208 * registration. 209 * 210 * @param { number } token - Indicates the registration token of the ability. 211 * @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result. 212 * @syscap SystemCapability.Ability.DistributedAbilityManager 213 * @since 8 214 * @deprecated since 9 215 * @useinstead ohos.continuation.continuationManager/continuationManager#unregisterContinuation 216 */ 217 function unregister(token: number, callback: AsyncCallback<void>): void; 218 219 /** 220 * Unregisters a specified ability from the continuation manager service based on the token obtained during ability 221 * registration. 222 * 223 * @param { number } token - Indicates the registration token of the ability. 224 * @returns { Promise<void> } callback Indicates the callback to be invoked when the continuation manager 225 * service is connected. 226 * @syscap SystemCapability.Ability.DistributedAbilityManager 227 * @since 8 228 * @deprecated since 9 229 * @useinstead ohos.continuation.continuationManager/continuationManager#unregisterContinuation 230 */ 231 function unregister(token: number): Promise<void>; 232 233 /** 234 * Updates the connection state of the device where the specified ability is successfully hopped. 235 * 236 * @param { number } token - Indicates the registration token of the ability. 237 * @param { string } deviceId - Indicates the ID of the device whose connection state is to be updated. 238 * @param { DeviceConnectState } status - Indicates the connection state to update. 239 * @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result. 240 * @syscap SystemCapability.Ability.DistributedAbilityManager 241 * @since 8 242 * @deprecated since 9 243 * @useinstead ohos.continuation.continuationManager/continuationManager#updateContinuationState 244 */ 245 function updateConnectStatus( 246 token: number, 247 deviceId: string, 248 status: DeviceConnectState, 249 callback: AsyncCallback<void> 250 ): void; 251 252 /** 253 * Updates the connection state of the device where the specified ability is successfully hopped. 254 * 255 * @param { number } token - Indicates the registration token of the ability. 256 * @param { string } deviceId - Indicates the ID of the device whose connection state is to be updated. 257 * @param { DeviceConnectState } status - Indicates the connection state to update. 258 * @returns { Promise<void> } callback Indicates the callback to be invoked when the continuation 259 * manager service is connected. 260 * @syscap SystemCapability.Ability.DistributedAbilityManager 261 * @since 8 262 * @deprecated since 9 263 * @useinstead ohos.continuation.continuationManager/continuationManager#updateContinuationState 264 */ 265 function updateConnectStatus(token: number, deviceId: string, status: DeviceConnectState): Promise<void>; 266 267 /** 268 * Start to manage the devices that can be selected for continuation. 269 * 270 * @param { number } token - Indicates the registration token of the ability. 271 * @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result. 272 * @syscap SystemCapability.Ability.DistributedAbilityManager 273 * @since 8 274 * @deprecated since 9 275 * @useinstead ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager 276 */ 277 function startDeviceManager(token: number, callback: AsyncCallback<void>): void; 278 279 /** 280 * Start to manage the devices that can be selected for continuation. 281 * 282 * @param { number } token - Indicates the registration token of the ability. 283 * @param { ContinuationExtraParams } options - Indicates the extraParams object containing the extra parameters 284 * used to filter the list of available devices. This parameter is null. 285 * @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result. 286 * @syscap SystemCapability.Ability.DistributedAbilityManager 287 * @since 8 288 * @deprecated since 9 289 * @useinstead ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager 290 */ 291 function startDeviceManager(token: number, options: ContinuationExtraParams, callback: AsyncCallback<void>): void; 292 293 /** 294 * Start to manage the devices that can be selected for continuation. 295 * 296 * @param { number } token - Indicates the registration token of the ability. 297 * @param { ContinuationExtraParams } [options] - Indicates the extraParams object containing the extra parameters 298 * used to filter the list of available devices. This parameter is null. 299 * @returns { Promise<void> } callback Indicates the callback to be invoked when the continuation manager service 300 * is connected. 301 * @syscap SystemCapability.Ability.DistributedAbilityManager 302 * @since 8 303 * @deprecated since 9 304 * @useinstead ohos.continuation.continuationManager/continuationManager#startContinuationDeviceManager 305 */ 306 function startDeviceManager(token: number, options?: ContinuationExtraParams): Promise<void>; 307 308 /** 309 * Registers an ability to be hopped with the continuation manager service and obtains the registration token 310 * assigned to the ability. 311 * 312 * @permission ohos.permission.DISTRIBUTED_DATASYNC 313 * @param { AsyncCallback<number> } callback - The AsyncCallback form returns the token generated after connecting to 314 * the flow management service. 315 * @throws { BusinessError } 201 - Permission denied. 316 * @throws { BusinessError } 401 - The parameter check failed. 317 * @throws { BusinessError } 16600001 - The system ability works abnormally. 318 * @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit. 319 * @syscap SystemCapability.Ability.DistributedAbilityManager 320 * @since 9 321 */ 322 function registerContinuation(callback: AsyncCallback<number>): void; 323 324 /** 325 * Registers an ability to be hopped with the continuation manager service and obtains the registration token 326 * assigned to the ability. 327 * 328 * @permission ohos.permission.DISTRIBUTED_DATASYNC 329 * @param { ContinuationExtraParams } options - Indicates the {@link ExtraParams} object containing extra parameters 330 * used to filter the list of available devices. 331 * @param { AsyncCallback<number> } callback - The AsyncCallback form returns the token generated after connecting to 332 * flow management service. 333 * @throws { BusinessError } 201 - Permission denied. 334 * @throws { BusinessError } 401 - The parameter check failed. 335 * @throws { BusinessError } 16600001 - The system ability works abnormally. 336 * @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit. 337 * @syscap SystemCapability.Ability.DistributedAbilityManager 338 * @since 9 339 */ 340 function registerContinuation(options: ContinuationExtraParams, callback: AsyncCallback<number>): void; 341 342 /** 343 * Registers an ability to be hopped with the continuation manager service and obtains the registration token 344 * assigned to the ability. 345 * 346 * @permission ohos.permission.DISTRIBUTED_DATASYNC 347 * @param { ContinuationExtraParams } [options] - Indicates the {@link ExtraParams} object containing the extra 348 * parameters used to filter the list of available devices. 349 * @returns { Promise<number> } callback Indicates the callback to be invoked when the continuation manager 350 * service is connected. 351 * @throws { BusinessError } 201 - Permission denied. 352 * @throws { BusinessError } 401 - The parameter check failed. 353 * @throws { BusinessError } 16600001 - The system ability works abnormally. 354 * @throws { BusinessError } 16600003 - The number of token registration times has reached the upper limit. 355 * @syscap SystemCapability.Ability.DistributedAbilityManager 356 * @since 9 357 */ 358 function registerContinuation(options?: ContinuationExtraParams): Promise<number>; 359 360 /** 361 * Unregisters a specified ability from the continuation manager service based on the token obtained during ability 362 * registration. 363 * 364 * @permission ohos.permission.DISTRIBUTED_DATASYNC 365 * @param { number } token - Indicates the registration token of the ability. 366 * @param { AsyncCallback<void> } callback - The AsyncCallback form returns token generated after connecting to flow 367 * management service. 368 * @throws { BusinessError } 201 - Permission denied. 369 * @throws { BusinessError } 401 - The parameter check failed. 370 * @throws { BusinessError } 16600001 - The system ability works abnormally. 371 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 372 * @syscap SystemCapability.Ability.DistributedAbilityManager 373 * @since 9 374 */ 375 function unregisterContinuation(token: number, callback: AsyncCallback<void>): void; 376 377 /** 378 * Unregisters a specified ability from the continuation manager service based on the token obtained during ability 379 * registration. 380 * 381 * @permission ohos.permission.DISTRIBUTED_DATASYNC 382 * @param { number } token - Indicates the registration token of the ability. 383 * @returns { Promise<void> } the promise returned by the function. 384 * @throws { BusinessError } 201 - Permission denied. 385 * @throws { BusinessError } 401 - The parameter check failed. 386 * @throws { BusinessError } 16600001 - The system ability works abnormally. 387 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 388 * @syscap SystemCapability.Ability.DistributedAbilityManager 389 * @since 9 390 */ 391 function unregisterContinuation(token: number): Promise<void>; 392 393 /** 394 * Updates the connection state of the device where the specified ability is successfully hopped. 395 * 396 * @permission ohos.permission.DISTRIBUTED_DATASYNC 397 * @param { number } token - Indicates the registration token of the ability. 398 * @param { string } deviceId - Indicates the ID of the device whose connection state is to be updated. 399 * @param { DeviceConnectState } status - Indicates the connection state to update. 400 * @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result. 401 * @throws { BusinessError } 201 - Permission denied. 402 * @throws { BusinessError } 401 - The parameter check failed. 403 * @throws { BusinessError } 16600001 - The system ability works abnormally. 404 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 405 * @syscap SystemCapability.Ability.DistributedAbilityManager 406 * @since 9 407 */ 408 function updateContinuationState( 409 token: number, 410 deviceId: string, 411 status: DeviceConnectState, 412 callback: AsyncCallback<void> 413 ): void; 414 415 /** 416 * Updates the connection state of the device where the specified ability is successfully hopped. 417 * 418 * @permission ohos.permission.DISTRIBUTED_DATASYNC 419 * @param { number } token - Indicates the registration token of the ability. 420 * @param { string } deviceId - Indicates the ID of the device whose connection state is to be updated. 421 * @param { DeviceConnectState } status - Indicates the connection state to update. 422 * @returns { Promise<void> } callback Indicates the callback to be invoked when the continuation manager service 423 * is connected. 424 * @throws { BusinessError } 201 - Permission denied. 425 * @throws { BusinessError } 401 - The parameter check failed. 426 * @throws { BusinessError } 16600001 - The system ability works abnormally. 427 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 428 * @syscap SystemCapability.Ability.DistributedAbilityManager 429 * @since 9 430 */ 431 function updateContinuationState(token: number, deviceId: string, status: DeviceConnectState): Promise<void>; 432 433 /** 434 * Start to manage the devices that can be selected for continuation. 435 * 436 * @permission ohos.permission.DISTRIBUTED_DATASYNC 437 * @param { number } token - Indicates the registration token of the ability. 438 * @param { AsyncCallback<void> } callback - AsyncCallback returns the interface call result. 439 * @throws { BusinessError } 201 - Permission denied. 440 * @throws { BusinessError } 401 - The parameter check failed. 441 * @throws { BusinessError } 16600001 - The system ability works abnormally. 442 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 443 * @syscap SystemCapability.Ability.DistributedAbilityManager 444 * @since 9 445 */ 446 function startContinuationDeviceManager(token: number, callback: AsyncCallback<void>): void; 447 448 /** 449 * Start to manage the devices that can be selected for continuation. 450 * 451 * @permission ohos.permission.DISTRIBUTED_DATASYNC 452 * @param { number } token - Indicates the registration token of the ability. 453 * @param { ContinuationExtraParams } options - Indicates the extraParams object containing the extra parameters 454 * used to filter list of available devices. This parameter can be null. 455 * @param { AsyncCallback<void> } callback - AsyncCallback form returns the interface call result. 456 * @throws { BusinessError } 201 - Permission denied. 457 * @throws { BusinessError } 401 - The parameter check failed. 458 * @throws { BusinessError } 16600001 - The system ability works abnormally. 459 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 460 * @syscap SystemCapability.Ability.DistributedAbilityManager 461 * @since 9 462 */ 463 function startContinuationDeviceManager( 464 token: number, 465 options: ContinuationExtraParams, 466 callback: AsyncCallback<void> 467 ): void; 468 469 /** 470 * Start to manage the devices that can be selected for continuation. 471 * 472 * @permission ohos.permission.DISTRIBUTED_DATASYNC 473 * @param { number } token - Indicates the registration token of the ability. 474 * @param { ContinuationExtraParams } [options] - Indicates extraParams object containing extra parameters used to 475 * filter the list of available devices. This parameter can be null. 476 * @returns { Promise<void> } callback Indicates the callback to be invoked when continuation manager service is connected. 477 * @throws { BusinessError } 201 - Permission denied. 478 * @throws { BusinessError } 401 - The parameter check failed. 479 * @throws { BusinessError } 16600001 - The system ability works abnormally. 480 * @throws { BusinessError } 16600002 - The specified token or callback is not registered. 481 * @syscap SystemCapability.Ability.DistributedAbilityManager 482 * @since 9 483 */ 484 function startContinuationDeviceManager(token: number, options?: ContinuationExtraParams): Promise<void>; 485 486 /** 487 * Device connection status data structure. 488 * 489 * @enum { number } 490 * @syscap SystemCapability.Ability.DistributedAbilityManager 491 * @since 8 492 */ 493 export enum DeviceConnectState { 494 /** 495 * Initial state of device connection. 496 * 497 * @syscap SystemCapability.Ability.DistributedAbilityManager 498 * @since 8 499 */ 500 IDLE = 0, 501 502 /** 503 * Device connection status. 504 * 505 * @syscap SystemCapability.Ability.DistributedAbilityManager 506 * @since 8 507 */ 508 CONNECTING = 1, 509 510 /** 511 * The device is connected. 512 * 513 * @syscap SystemCapability.Ability.DistributedAbilityManager 514 * @since 8 515 */ 516 CONNECTED = 2, 517 518 /** 519 * The device is disconnected. 520 * 521 * @syscap SystemCapability.Ability.DistributedAbilityManager 522 * @since 8 523 */ 524 DISCONNECTING = 3 525 } 526 527 /** 528 * Indicates the description of additional parameters for continuation. 529 * 530 * @enum { number } 531 * @syscap SystemCapability.Ability.DistributedAbilityManager 532 * @since 8 533 */ 534 export enum ContinuationMode { 535 /** 536 * Collaboration with a single device. 537 * 538 * @syscap SystemCapability.Ability.DistributedAbilityManager 539 * @since 8 540 */ 541 COLLABORATION_SINGLE = 0, 542 543 /** 544 * Collaboration with multiple devices. 545 * 546 * @syscap SystemCapability.Ability.DistributedAbilityManager 547 * @since 8 548 */ 549 COLLABORATION_MULTIPLE = 1 550 } 551 552 /** 553 * Indicates the description of transfer results for continuation. 554 * 555 * @syscap SystemCapability.Ability.DistributedAbilityManager 556 * @since 10 557 */ 558 export type ContinuationResult = _ContinuationResult; 559 560 /** 561 * Indicates the description of additional parameters for continuation. 562 * 563 * @syscap SystemCapability.Ability.DistributedAbilityManager 564 * @since 10 565 */ 566 export type ContinuationExtraParams = _ContinuationExtraParams; 567} 568export default continuationManager; 569