1# ContinueDeviceInfo 2 3The **ContinueDeviceInfo** module defines the parameters required for initiating mission continuation. For details about mission continuation, see [continueMission](js-apis-distributedMissionManager.md#distributedmissionmanagercontinuemission). 4 5**System capability**: SystemCapability.Ability.AbilityRuntime.Mission 6 7| Name | Type | Readable | Writable | Description | 8| -------- | ------ | ---- | ---- | ------- | 9| srcDeviceId | string | Yes | Yes | ID of the source device.| 10| dstDeviceId | string | Yes | Yes | ID of the target device.| 11| missionId | number | Yes | Yes | Mission ID.| 12| wantParam | {[key: string]: any} | Yes | Yes | Extended parameters.| 13 14**Example** 15 16 ```ts 17 import distributedMissionManager from '@ohos.distributedMissionManager'; 18 19 let continueDeviceInfo = { 20 srcDeviceId: '123', 21 dstDeviceId: '456', 22 missionId: 123, 23 wantParam: { 24 'key':'value' 25 } 26 }; 27 28 let continueCallback = { 29 onContinueDone(result) { 30 console.log('onContinueDone, result: ' + JSON.stringify(result)); 31 } 32 }; 33 34 distributedMissionManager.continueMission(continueDeviceInfo, continueCallback, (error) => { 35 if (error.code != 0) { 36 console.error('continueMission failed, cause: ' + JSON.stringify(error)) 37 } 38 console.info('continueMission finished') 39 }) 40 ``` 41