1bae44755Sopenharmony_ci/* 2bae44755Sopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd. 3bae44755Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4bae44755Sopenharmony_ci * you may not use this file except in compliance with the License. 5bae44755Sopenharmony_ci * You may obtain a copy of the License at 6bae44755Sopenharmony_ci * 7bae44755Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8bae44755Sopenharmony_ci * 9bae44755Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10bae44755Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11bae44755Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12bae44755Sopenharmony_ci * See the License for the specific language governing permissions and 13bae44755Sopenharmony_ci * limitations under the License. 14bae44755Sopenharmony_ci */ 15bae44755Sopenharmony_ci 16bae44755Sopenharmony_ci// 首先需要通过requireInternal函数加载本模块 17bae44755Sopenharmony_ciconst systemCapability = requireInternal('systemCapability'); 18bae44755Sopenharmony_ci 19bae44755Sopenharmony_ci// 这里定义了模块对外暴露的所有api 20bae44755Sopenharmony_ciexport default { 21bae44755Sopenharmony_ci querySystemCapabilities: systemCapability.querySystemCapabilities 22bae44755Sopenharmony_ci};