1/* 2 * Copyright (c) 2021 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 16import { RectBounds } from '../wallpaper'; 17 18/** 19 * @name This class is the input param for { moveMissionToFirstSplitScreen }. 20 * @since 7 21 * @SysCap appexecfwk 22 * @import import app from 'app/splitMissionInfo' 23 * @devices phone, tablet 24 * @systemapi hide this for inner system use 25 */ 26export interface SplitMissionInfo { 27 /** 28 * @default the mission id that you want to move 29 */ 30 missionId: number; 31 /** 32 * @default whether the target window is the first one 33 */ 34 isFirstWindow: boolean; 35 /** 36 * @default whether to move the mission to top 37 */ 38 isToTop: boolean; 39 /** 40 * @default Whether you want an animation when moving the task 41 */ 42 isAnimating: boolean; 43 /** 44 * @default The bounds of the split window 45 */ 46 initialBounds: RectBounds; 47} 48