• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 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
16/**
17 * Parameters corresponding to continue mission.
18 *
19 * @typedef ContinueMissionInfo
20 * @syscap SystemCapability.Ability.AbilityRuntime.Mission
21 * @systemapi Hide this for inner system use.
22 * @since 10
23 */
24export interface ContinueMissionInfo {
25  /**
26   * Indicates the original deviceId to continue mission.
27   *
28   * @type { string }
29   * @syscap SystemCapability.Ability.AbilityRuntime.Mission
30   * @systemapi Hide this for inner system user.
31   * @since 10
32   */
33  srcDeviceId: string;
34  /**
35   * Indicates the target deviceId to continue mission.
36   *
37   * @type { string }
38   * @syscap SystemCapability.Ability.AbilityRuntime.Mission
39   * @systemapi Hide this for inner system user.
40   * @since 10
41   */
42  dstDeviceId: string;
43  /**
44   * Indicates the bundle to continue.
45   *
46   * @type { string }
47   * @syscap SystemCapability.Ability.AbilityRuntime.Mission
48   * @systemapi Hide this for inner system user.
49   * @since 10
50   */
51  bundleName: string;
52  /**
53   * Indicates the extended param.
54   *
55   * @type { object }
56   * @syscap SystemCapability.Ability.AbilityRuntime.Mission
57   * @systemapi Hide this for inner system user.
58   * @since 10
59   */
60  /**
61   * Indicates the extended param.
62   *
63   * @type { Record<string, Object> }
64   * @syscap SystemCapability.Ability.AbilityRuntime.Mission
65   * @systemapi Hide this for inner system user.
66   * @since 11
67   */
68  wantParam: Record<string, Object>;
69}