• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ContinuableInfo
2
3The **ContinuableInfo** module provides the mission continuation information to be returned when the listener for listening for the mission continuation state is registered. For details about the registration, see [on('continueStateChange')](js-apis-distributedMissionManager.md#distributedmissionmanageroncontinuestatechange10).
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 10. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8> The APIs provided by this module are system APIs.
9
10## Modules to Import
11
12```ts
13import distributedMissionManager from '@ohos.distributedMissionManager';
14```
15
16## Attributes
17
18**System capability**: SystemCapability.Ability.AbilityRuntime.Mission
19
20| Name      | Type  | Readable  | Writable  | Description     |
21| -------- | ------ | ---- | ---- | ------- |
22| srcDeviceId | string | Yes   | Yes   | ID of the source device.|
23| bundleName | string | Yes   | Yes   | Name of the bundle to which the mission belongs.|
24
25**Example**
26
27```ts
28import distributedMissionManager from '@ohos.distributedMissionManager';
29
30try {
31  distributedMissionManager.on('continueStateChange', (data) => {
32    console.info("continueStateChange on:" + JSON.stringify(data));
33  });
34} catch (err) {
35  console.error("continueStateChange err: " + JSON.stringify(err));
36}
37```
38