1c5c2eed7Sopenharmony_ci/* 2c5c2eed7Sopenharmony_ci * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 3c5c2eed7Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4c5c2eed7Sopenharmony_ci * you may not use this file except in compliance with the License. 5c5c2eed7Sopenharmony_ci * You may obtain a copy of the License at 6c5c2eed7Sopenharmony_ci * 7c5c2eed7Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8c5c2eed7Sopenharmony_ci * 9c5c2eed7Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10c5c2eed7Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11c5c2eed7Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12c5c2eed7Sopenharmony_ci * See the License for the specific language governing permissions and 13c5c2eed7Sopenharmony_ci * limitations under the License. 14c5c2eed7Sopenharmony_ci */ 15c5c2eed7Sopenharmony_ci 16c5c2eed7Sopenharmony_ciimport UIAbility from '@ohos.app.ability.UIAbility'; 17c5c2eed7Sopenharmony_ci 18c5c2eed7Sopenharmony_ciexport default class MainAbility extends UIAbility { 19c5c2eed7Sopenharmony_ci onCreate(want, launchParam): void {} 20c5c2eed7Sopenharmony_ci 21c5c2eed7Sopenharmony_ci onDestroy(): void {} 22c5c2eed7Sopenharmony_ci 23c5c2eed7Sopenharmony_ci onWindowStageCreate(windowStage): void { 24c5c2eed7Sopenharmony_ci windowStage.setUIContent(this.context, 'pages/index', null); 25c5c2eed7Sopenharmony_ci } 26c5c2eed7Sopenharmony_ci 27c5c2eed7Sopenharmony_ci onWindowStageDestroy(): void {} 28c5c2eed7Sopenharmony_ci 29c5c2eed7Sopenharmony_ci onForeground(): void {} 30c5c2eed7Sopenharmony_ci 31c5c2eed7Sopenharmony_ci onBackground(): void {} 32c5c2eed7Sopenharmony_ci}; 33