1/**
2 * Copyright (c) 2024-2024 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
16export default interface MenuInfo {
17  businessId: string;
18  intents: string;
19
20  // 用户id
21  userId: number;
22
23  //图标背景颜色
24  iconBackgroundColorResource: string;
25
26  // 优先级
27  priority: number;
28
29  //是否展示(0: 不支持, 1:支持)
30  isSupport: number;
31
32  //是否可点击(0:不可点击, 1: 可点击)
33  isClickable: number;
34  displayedMode: string;
35  iconResource: string;
36  mainTitleResource: string;
37  subTitleResource: string;
38  showControlAbilityUri: string;
39  dstAbilityMode: number;
40  dstAbilityName: string;
41  dstBundleName: string;
42  bundleName: string;
43  titleString: string;
44  subTitleString: string;
45}