1/** 2 * Copyright (c) 2022-2022 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 * remote animation constants. 18 */ 19export default class RemoteConstants { 20 21 /** 22 * remote type for start app from launcher 23 */ 24 static TYPE_START_APP_FROM_LAUNCHER = 0; 25 26 /** 27 * remote type for start app from recent 28 */ 29 static TYPE_START_APP_FROM_RECENT = 1; 30 31 /** 32 * remote type for start app from other 33 */ 34 static TYPE_START_APP_FROM_OTHER = 2; 35 36 /** 37 * remote type for app transition 38 */ 39 static TYPE_APP_TRANSITION = 3; 40 41 /** 42 * remote type for minimize window 43 */ 44 static TYPE_MINIMIZE_WINDOW = 4; 45 46 /** 47 * remote type for close window 48 */ 49 static TYPE_CLOSE_WINDOW = 5; 50 51 /** 52 * remote type for screen unlock 53 */ 54 static TYPE_SCREEN_UNLOCK = 6; 55} 56