1/* 2 * Copyright (c) 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 16 /** 17 * @file Defines the fullScreen launch component 18 * @kit ArkUI 19 */ 20 21import AtomicServiceOptions from '@ohos.app.ability.AtomicServiceOptions'; 22import { Callback, ErrorCallback } from '@ohos.base'; 23 24/** 25 * Declare component FullScreenLaunchComponent 26 * @syscap SystemCapability.ArkUI.ArkUI.Full 27 * @atomicservice 28 * @since 12 29 */ 30@Component 31export declare struct FullScreenLaunchComponent { 32 /** 33 * Sets the component content. 34 * @type { Callback<void> } 35 * @syscap SystemCapability.ArkUI.ArkUI.Full 36 * @atomicservice 37 * @since 12 38 */ 39 @BuilderParam content: Callback<void>; 40 /** 41 * Indicates atomic service appId. 42 * @type { string } 43 * @syscap SystemCapability.ArkUI.ArkUI.Full 44 * @atomicservice 45 * @since 12 46 */ 47 appId: string; 48 /** 49 * Indicates the atomic service start options. 50 * @type { ?AtomicServiceOptions } 51 * @syscap SystemCapability.ArkUI.ArkUI.Full 52 * @atomicservice 53 * @since 12 54 */ 55 options?: AtomicServiceOptions; 56 /** 57 * Indicates the callback of onError. 58 * @type { ?ErrorCallback } 59 * @syscap SystemCapability.ArkUI.ArkUI.Full 60 * @atomicservice 61 * @since 18 62 */ 63 onError?: ErrorCallback; 64 /** 65 * Indicates the callback of onTerminated. 66 * @type { ?Callback<TerminationInfo> } 67 * @syscap SystemCapability.ArkUI.ArkUI.Full 68 * @atomicservice 69 * @since 18 70 */ 71 onTerminated?: Callback<TerminationInfo>; 72}