• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# MissionDeviceInfo (System API)
2
3The MissionDeviceInfo module defines the parameters required for registering a listener. It can be used as an input parameter in [registerMissionListener](js-apis-distributedMissionManager-sys.md#distributedmissionmanagerregistermissionlistener).
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8>
9> The APIs provided by this module are system APIs.
10
11## Modules to Import
12
13```ts
14import distributedMissionManager from '@ohos.distributedMissionManager';
15```
16
17## Attributes
18
19**System API**: This is a system API.
20
21**Required permissions**: ohos.permission.MANAGE_MISSIONS
22
23**System capability**: SystemCapability.Ability.AbilityRuntime.Mission
24
25| Name      | Type  | Readable  | Writable  | Description     |
26| -------- | ------ | ---- | ---- | ------- |
27| deviceId | string | Yes   | Yes   | Device ID.|
28