180922886Sopenharmony_ci/* 280922886Sopenharmony_ci * Copyright (c) 2023 Huawei Device Co., Ltd. 380922886Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 480922886Sopenharmony_ci * you may not use this file except in compliance with the License. 580922886Sopenharmony_ci * You may obtain a copy of the License at 680922886Sopenharmony_ci * 780922886Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 880922886Sopenharmony_ci * 980922886Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 1080922886Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 1180922886Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1280922886Sopenharmony_ci * See the License for the specific language governing permissions and 1380922886Sopenharmony_ci * limitations under the License. 1480922886Sopenharmony_ci */ 1580922886Sopenharmony_ci 1680922886Sopenharmony_ciconst TAG = 'avcastpickerparam_component '; 1780922886Sopenharmony_ci 1880922886Sopenharmony_ciexport let AVCastPickerState; 1980922886Sopenharmony_ci(function(c) { 2080922886Sopenharmony_ci c[c.STATE_APPEARING = 0] = 'STATE_APPEARING'; 2180922886Sopenharmony_ci c[c.STATE_DISAPPEARING = 1] = 'STATE_DISAPPEARING'; 2280922886Sopenharmony_ci})(AVCastPickerState || (AVCastPickerState = {})); 2380922886Sopenharmony_ci 2480922886Sopenharmony_ciexport let AVCastPickerStyle; 2580922886Sopenharmony_ci(function(b) { 2680922886Sopenharmony_ci b[b.STYLE_PANEL = 0] = 'STYLE_PANEL'; 2780922886Sopenharmony_ci b[b.STYLE_MENU = 1] = 'STYLE_MENU'; 2880922886Sopenharmony_ci})(AVCastPickerStyle || (AVCastPickerStyle = {})); 2980922886Sopenharmony_ci 3080922886Sopenharmony_ciexport let AVCastPickerColorMode; 3180922886Sopenharmony_ci(function(a) { 3280922886Sopenharmony_ci a[a.AUTO = 0] = 'AUTO'; 3380922886Sopenharmony_ci a[a.DARK = 1] = 'DARK'; 3480922886Sopenharmony_ci a[a.LIGHT = 2] = 'LIGHT'; 3580922886Sopenharmony_ci})(AVCastPickerColorMode || (AVCastPickerColorMode = {})); 3680922886Sopenharmony_ci 3780922886Sopenharmony_ciexport class AVCastPickerParam { 3880922886Sopenharmony_ci // param class no need to extends ViewPU 3980922886Sopenharmony_ci} 4080922886Sopenharmony_ciexport default {AVCastPickerState, AVCastPickerStyle, AVCastPickerColorMode};