• 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 * @file
18 * @kit AbilityKit
19 */
20
21/**
22 * Continuable information corresponding to ability.
23 *
24 * @typedef ContinuableInfo
25 * @syscap SystemCapability.Ability.AbilityRuntime.Mission
26 * @systemapi Hide this for inner system use.
27 * @since 10
28 */
29export interface ContinuableInfo {
30  /**
31   * Indicates the original deviceId to continue mission.
32   *
33   * @type { string }
34   * @syscap SystemCapability.Ability.AbilityRuntime.Mission
35   * @systemapi Hide this for inner system user.
36   * @since 10
37   */
38  srcDeviceId: string;
39  /**
40   * Indicates the bundle name of the destination to continue.
41   *
42   * @type { string }
43   * @syscap SystemCapability.Ability.AbilityRuntime.Mission
44   * @systemapi Hide this for inner system user.
45   * @since 10
46   */
47  bundleName: string;
48  /**
49   * Indicates the original bundle name to continue mission.
50   *
51   * @type { ?string }
52   * @syscap SystemCapability.Ability.AbilityRuntime.Mission
53   * @systemapi Hide this for inner system user.
54   * @since 12
55   */
56  srcBundleName?: string;
57  /**
58   * Indicates continue type.
59   *
60   * @type { ?string }
61   * @syscap SystemCapability.Ability.AbilityRuntime.Mission
62   * @systemapi Hide this for inner system user.
63   * @since 12
64   */
65  continueType?: string;
66}