| | |
| | | * @date 2023/4/12 13:28 |
| | | */ |
| | | public enum AdConfigTypeVO { |
| | | splash("ad_splash_config","splash","splash"), |
| | | playVideoPre("ad_play_video_pre","videoPlayPre","play_video_pre"), |
| | | exitApp("ad_exit_app","exitApp","exit_app"), |
| | | videoDetailFullVideo("ad_video_detail_full_video","videoDetailFullVideo","video_detail_full_video"), |
| | | videoSearch("ad_video_search","videoSearch","video_search"), |
| | | pptvNoAdReward("pptv_no_ad_reward","pptvNoAdReward","pptv_no_ad_reward"), |
| | | splashHotStart("ad_splash_hot_start","splashHotStart","splash_hot_start"), |
| | | homeInterstitial("home_ad_interstitial","homeInterstitial","home_interstitial"), |
| | | exitFullVideo("ad_exit_app_fullvideo","exitAppFullvideo","exit_app_fullvideo"), |
| | | other("ad_other","other","other"); |
| | | splash("ad_splash_config","splash","splash", "开屏"), |
| | | playVideoPre("ad_play_video_pre","videoPlayPre","play_video_pre","视频播放贴片"), |
| | | exitApp("ad_exit_app","exitApp","exit_app","退出应用"), |
| | | videoDetailFullVideo("ad_video_detail_full_video","videoDetailFullVideo","video_detail_full_video", "视频播放弹出"), |
| | | videoSearch("ad_video_search","videoSearch","video_search", "视频搜索"), |
| | | pptvNoAdReward("pptv_no_ad_reward","pptvNoAdReward","pptv_no_ad_reward", "PPTV去广告激励"), |
| | | splashHotStart("ad_splash_hot_start","splashHotStart","splash_hot_start","热启动开屏"), |
| | | homeInterstitial("home_ad_interstitial","homeInterstitial","home_interstitial","首页插屏"), |
| | | exitFullVideo("ad_exit_app_fullvideo","exitAppFullvideo","exit_app_fullvideo","退出应用全屏"), |
| | | other("ad_other","other","other","其他位置"); |
| | | |
| | | private String dbKey; |
| | | private String voKey; |
| | | //配置文件里面的键 |
| | | private String settingKey; |
| | | private String name; |
| | | |
| | | private AdConfigTypeVO(String dbKey, String voKey,String settingKey) { |
| | | private AdConfigTypeVO(String dbKey, String voKey,String settingKey,String name) { |
| | | this.dbKey = dbKey; |
| | | this.voKey = voKey; |
| | | this.settingKey = settingKey; |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getDbKey(){ |
| | |
| | | return settingKey; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | } |