• 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 * The class of auto startup info.
18 *
19 * @typedef AutoStartupInfo
20 * @syscap SystemCapability.Ability.AbilityRuntime.Core
21 * @systemapi
22 * @StageModelOnly
23 * @since 11
24 */
25export interface AutoStartupInfo {
26  /**
27   * Bundle name
28   *
29   * @type { string }
30   * @syscap SystemCapability.Ability.AbilityRuntime.Core
31   * @systemapi
32   * @StageModelOnly
33   * @since 11
34   */
35  bundleName: string;
36
37  /**
38   * Module name
39   *
40   * @type { ?string }
41   * @syscap SystemCapability.Ability.AbilityRuntime.Core
42   * @systemapi
43   * @StageModelOnly
44   * @since 11
45   */
46  moduleName?: string;
47
48  /**
49   * Ability Name
50   *
51   * @type { string }
52   * @syscap SystemCapability.Ability.AbilityRuntime.Core
53   * @systemapi
54   * @StageModelOnly
55   * @since 11
56   */
57  abilityName: string;
58
59  /**
60   * Ability Type Name
61   *
62   * @type { ?string }
63   * @syscap SystemCapability.Ability.AbilityRuntime.Core
64   * @systemapi
65   * @StageModelOnly
66   * @since 11
67   */
68  abilityTypeName?: string;
69}
70
71export default AutoStartupInfo;
72