UNPKG

@hmscore/cordova-plugin-hms-ads

Version:
332 lines (328 loc) 21.7 kB
/* Copyright 2020-2024. Huawei Technologies Co., Ltd. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License") you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ "use strict"; /////////////////////////////////////////////////////////////////////////// // Constants /////////////////////////////////////////////////////////////////////////// Object.defineProperty(exports, "__esModule", { value: true }); exports.AutoPlayNetType = exports.AppDownloadStatus = exports.ActivateStyle = exports.CreativeMatchType = exports.DetailedCreativeType = exports.VastEvents = exports.NativeAdEvents = exports.RewardAdEvents = exports.RollAdEvents = exports.SplashAdEvents = exports.InterstitialAdEvents = exports.BannerAdEvents = exports.Anchor = exports.InstallReferrerResponses = exports.Color = exports.NativeAdTemplate = exports.MediaDirection = exports.ChoicesPosition = exports.MediaAspect = exports.AudioFocusType = exports.ConsentStatus = exports.DebugNeedConsent = exports.HMSScreenOrientation = exports.BannerAdSize = exports.UnderAgeOfPromise = exports.ChildProtection = exports.NonPersonalizedAd = exports.Gender = exports.AdContentClassification = exports.RewardAdStatusErrorCodes = exports.AdParamErrorCodes = void 0; var AdParamErrorCodes; (function (AdParamErrorCodes) { AdParamErrorCodes[AdParamErrorCodes["AD_PARAM_INNER"] = 0] = "AD_PARAM_INNER"; AdParamErrorCodes[AdParamErrorCodes["AD_PARAM_INVALID_REQUEST"] = 1] = "AD_PARAM_INVALID_REQUEST"; AdParamErrorCodes[AdParamErrorCodes["AD_PARAM_NETWORK_ERROR"] = 2] = "AD_PARAM_NETWORK_ERROR"; AdParamErrorCodes[AdParamErrorCodes["AD_PARAM_NO_AD"] = 3] = "AD_PARAM_NO_AD"; AdParamErrorCodes[AdParamErrorCodes["AD_PARAM_AD_LOADING"] = 4] = "AD_PARAM_AD_LOADING"; AdParamErrorCodes[AdParamErrorCodes["AD_PARAM_LOW_API"] = 5] = "AD_PARAM_LOW_API"; AdParamErrorCodes[AdParamErrorCodes["AD_PARAM_BANNER_AD_EXPIRE"] = 6] = "AD_PARAM_BANNER_AD_EXPIRE"; AdParamErrorCodes[AdParamErrorCodes["AD_PARAM_BANNER_AD_CANCEL"] = 7] = "AD_PARAM_BANNER_AD_CANCEL"; AdParamErrorCodes[AdParamErrorCodes["AD_PARAM_HMS_NOT_SUPPORT_SET_APP"] = 8] = "AD_PARAM_HMS_NOT_SUPPORT_SET_APP"; })(AdParamErrorCodes || (exports.AdParamErrorCodes = AdParamErrorCodes = {})); var RewardAdStatusErrorCodes; (function (RewardAdStatusErrorCodes) { RewardAdStatusErrorCodes[RewardAdStatusErrorCodes["REWARD_AD_STATUS_INTERNAL"] = 0] = "REWARD_AD_STATUS_INTERNAL"; RewardAdStatusErrorCodes[RewardAdStatusErrorCodes["REWARD_AD_STATUS_REUSED"] = 1] = "REWARD_AD_STATUS_REUSED"; RewardAdStatusErrorCodes[RewardAdStatusErrorCodes["REWARD_AD_STATUS_NOT_LOADED"] = 2] = "REWARD_AD_STATUS_NOT_LOADED"; RewardAdStatusErrorCodes[RewardAdStatusErrorCodes["REWARD_AD_STATUS_BACKGROUND"] = 3] = "REWARD_AD_STATUS_BACKGROUND"; })(RewardAdStatusErrorCodes || (exports.RewardAdStatusErrorCodes = RewardAdStatusErrorCodes = {})); var AdContentClassification; (function (AdContentClassification) { AdContentClassification["AD_CONTENT_CLASSIFICATION_A"] = "A"; AdContentClassification["AD_CONTENT_CLASSIFICATION_PI"] = "PI"; AdContentClassification["AD_CONTENT_CLASSIFICATION_UNKNOWN"] = ""; AdContentClassification["AD_CONTENT_CLASSIFICATION_J"] = "J"; AdContentClassification["AD_CONTENT_CLASSIFICATION_W"] = "W"; })(AdContentClassification || (exports.AdContentClassification = AdContentClassification = {})); var Gender; (function (Gender) { Gender[Gender["FEMALE"] = 2] = "FEMALE"; Gender[Gender["MALE"] = 1] = "MALE"; Gender[Gender["UNKNOWN"] = 0] = "UNKNOWN"; })(Gender || (exports.Gender = Gender = {})); var NonPersonalizedAd; (function (NonPersonalizedAd) { NonPersonalizedAd[NonPersonalizedAd["ALLOW_ALL"] = 0] = "ALLOW_ALL"; NonPersonalizedAd[NonPersonalizedAd["ALLOW_NON_PERSONALIZED"] = 1] = "ALLOW_NON_PERSONALIZED"; })(NonPersonalizedAd || (exports.NonPersonalizedAd = NonPersonalizedAd = {})); var ChildProtection; (function (ChildProtection) { ChildProtection[ChildProtection["TAG_FOR_CHILD_PROTECTION_UNSPECIFIED"] = -1] = "TAG_FOR_CHILD_PROTECTION_UNSPECIFIED"; ChildProtection[ChildProtection["TAG_FOR_CHILD_PROTECTION_FALSE"] = 0] = "TAG_FOR_CHILD_PROTECTION_FALSE"; ChildProtection[ChildProtection["TAG_FOR_CHILD_PROTECTION_TRUE"] = 1] = "TAG_FOR_CHILD_PROTECTION_TRUE"; })(ChildProtection || (exports.ChildProtection = ChildProtection = {})); var UnderAgeOfPromise; (function (UnderAgeOfPromise) { UnderAgeOfPromise[UnderAgeOfPromise["PROMISE_UNSPECIFIED"] = -1] = "PROMISE_UNSPECIFIED"; UnderAgeOfPromise[UnderAgeOfPromise["PROMISE_FALSE"] = 0] = "PROMISE_FALSE"; UnderAgeOfPromise[UnderAgeOfPromise["PROMISE_TRUE"] = 1] = "PROMISE_TRUE"; })(UnderAgeOfPromise || (exports.UnderAgeOfPromise = UnderAgeOfPromise = {})); var BannerAdSize; (function (BannerAdSize) { BannerAdSize["BANNER_SIZE_360_57"] = "BANNER_SIZE_360_57"; BannerAdSize["BANNER_SIZE_360_144"] = "BANNER_SIZE_360_144"; BannerAdSize["BANNER_SIZE_160_600"] = "BANNER_SIZE_160_600"; BannerAdSize["BANNER_SIZE_300_250"] = "BANNER_SIZE_300_250"; BannerAdSize["BANNER_SIZE_320_100"] = "BANNER_SIZE_320_100"; BannerAdSize["BANNER_SIZE_320_50"] = "BANNER_SIZE_320_50"; BannerAdSize["BANNER_SIZE_468_60"] = "BANNER_SIZE_468_60"; BannerAdSize["BANNER_SIZE_728_90"] = "BANNER_SIZE_728_90"; BannerAdSize["BANNER_SIZE_DYNAMIC"] = "BANNER_SIZE_DYNAMIC"; BannerAdSize["BANNER_SIZE_INVALID"] = "BANNER_SIZE_INVALID"; BannerAdSize["BANNER_SIZE_SMART"] = "BANNER_SIZE_SMART"; BannerAdSize["BANNER_SIZE_ADVANCED"] = "BANNER_SIZE_ADVANCED"; })(BannerAdSize || (exports.BannerAdSize = BannerAdSize = {})); var HMSScreenOrientation; (function (HMSScreenOrientation) { HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_LANDSCAPE"] = 0] = "SCREEN_ORIENTATION_LANDSCAPE"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_UNSPECIFIED"] = -1] = "SCREEN_ORIENTATION_UNSPECIFIED"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_PORTRAIT"] = 1] = "SCREEN_ORIENTATION_PORTRAIT"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_USER"] = 2] = "SCREEN_ORIENTATION_USER"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_BEHIND"] = 3] = "SCREEN_ORIENTATION_BEHIND"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_SENSOR"] = 4] = "SCREEN_ORIENTATION_SENSOR"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_NOSENSOR"] = 5] = "SCREEN_ORIENTATION_NOSENSOR"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_SENSOR_LANDSCAPE"] = 6] = "SCREEN_ORIENTATION_SENSOR_LANDSCAPE"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_SENSOR_PORTRAIT"] = 7] = "SCREEN_ORIENTATION_SENSOR_PORTRAIT"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_REVERSE_LANDSCAPE"] = 8] = "SCREEN_ORIENTATION_REVERSE_LANDSCAPE"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_REVERSE_PORTRAIT"] = 9] = "SCREEN_ORIENTATION_REVERSE_PORTRAIT"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_FULL_SENSOR"] = 10] = "SCREEN_ORIENTATION_FULL_SENSOR"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_USER_LANDSCAPE"] = 11] = "SCREEN_ORIENTATION_USER_LANDSCAPE"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_USER_PORTRAIT"] = 12] = "SCREEN_ORIENTATION_USER_PORTRAIT"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_FULL_USER"] = 13] = "SCREEN_ORIENTATION_FULL_USER"; HMSScreenOrientation[HMSScreenOrientation["SCREEN_ORIENTATION_LOCKED"] = 14] = "SCREEN_ORIENTATION_LOCKED"; })(HMSScreenOrientation || (exports.HMSScreenOrientation = HMSScreenOrientation = {})); var DebugNeedConsent; (function (DebugNeedConsent) { DebugNeedConsent[DebugNeedConsent["CONSENT_DEBUG_DISABLED"] = 0] = "CONSENT_DEBUG_DISABLED"; DebugNeedConsent[DebugNeedConsent["CONSENT_DEBUG_NEED_CONSENT"] = 1] = "CONSENT_DEBUG_NEED_CONSENT"; DebugNeedConsent[DebugNeedConsent["CONSENT_DEBUG_NOT_NEED_CONSENT"] = 2] = "CONSENT_DEBUG_NOT_NEED_CONSENT"; })(DebugNeedConsent || (exports.DebugNeedConsent = DebugNeedConsent = {})); var ConsentStatus; (function (ConsentStatus) { ConsentStatus[ConsentStatus["CONSENT_PERSONALIZED"] = 0] = "CONSENT_PERSONALIZED"; ConsentStatus[ConsentStatus["CONSENT_NON_PERSONALIZED"] = 1] = "CONSENT_NON_PERSONALIZED"; ConsentStatus[ConsentStatus["CONSENT_UNKNOWN"] = 2] = "CONSENT_UNKNOWN"; })(ConsentStatus || (exports.ConsentStatus = ConsentStatus = {})); var AudioFocusType; (function (AudioFocusType) { AudioFocusType[AudioFocusType["GAIN_AUDIO_FOCUS_ALL"] = 0] = "GAIN_AUDIO_FOCUS_ALL"; AudioFocusType[AudioFocusType["NOT_GAIN_AUDIO_FOCUS_WHEN_MUTE"] = 1] = "NOT_GAIN_AUDIO_FOCUS_WHEN_MUTE"; AudioFocusType[AudioFocusType["NOT_GAIN_AUDIO_FOCUS_ALL"] = 2] = "NOT_GAIN_AUDIO_FOCUS_ALL"; })(AudioFocusType || (exports.AudioFocusType = AudioFocusType = {})); var MediaAspect; (function (MediaAspect) { MediaAspect[MediaAspect["ASPECT_ANY"] = 1] = "ASPECT_ANY"; MediaAspect[MediaAspect["ASPECT_CUSTOM_SIZE"] = -1] = "ASPECT_CUSTOM_SIZE"; MediaAspect[MediaAspect["ASPECT_LANDSCAPE"] = 2] = "ASPECT_LANDSCAPE"; MediaAspect[MediaAspect["ASPECT_PORTRAIT"] = 3] = "ASPECT_PORTRAIT"; MediaAspect[MediaAspect["ASPECT_SQUARE"] = 4] = "ASPECT_SQUARE"; MediaAspect[MediaAspect["ASPECT_UNKNOWN"] = 0] = "ASPECT_UNKNOWN"; })(MediaAspect || (exports.MediaAspect = MediaAspect = {})); var ChoicesPosition; (function (ChoicesPosition) { ChoicesPosition[ChoicesPosition["BOTTOM_LEFT"] = 3] = "BOTTOM_LEFT"; ChoicesPosition[ChoicesPosition["BOTTOM_RIGHT"] = 2] = "BOTTOM_RIGHT"; ChoicesPosition[ChoicesPosition["INVISIBLE"] = 4] = "INVISIBLE"; ChoicesPosition[ChoicesPosition["TOP_LEFT"] = 0] = "TOP_LEFT"; ChoicesPosition[ChoicesPosition["TOP_RIGHT"] = 1] = "TOP_RIGHT"; })(ChoicesPosition || (exports.ChoicesPosition = ChoicesPosition = {})); var MediaDirection; (function (MediaDirection) { MediaDirection[MediaDirection["ANY"] = 0] = "ANY"; MediaDirection[MediaDirection["LANDSCAPE"] = 2] = "LANDSCAPE"; MediaDirection[MediaDirection["PORTRAIT"] = 1] = "PORTRAIT"; })(MediaDirection || (exports.MediaDirection = MediaDirection = {})); var NativeAdTemplate; (function (NativeAdTemplate) { NativeAdTemplate["NATIVE_AD_SMALL_TEMPLATE"] = "NATIVE_AD_SMALL_TEMPLATE"; NativeAdTemplate["NATIVE_AD_FULL_TEMPLATE"] = "NATIVE_AD_FULL_TEMPLATE"; NativeAdTemplate["NATIVE_AD_BANNER_TEMPLATE"] = "NATIVE_AD_BANNER_TEMPLATE"; NativeAdTemplate["NATIVE_AD_VIDEO_TEMPLATE"] = "NATIVE_AD_VIDEO_TEMPLATE"; NativeAdTemplate["NATIVE_AD_WITH_APP_DOWNLOAD_BTN_TEMPLATE"] = "NATIVE_AD_WITH_APP_DOWNLOAD_BTN_TEMPLATE"; })(NativeAdTemplate || (exports.NativeAdTemplate = NativeAdTemplate = {})); var Color; (function (Color) { Color["RED"] = "RED"; Color["DKGRAY"] = "DKGRAY"; Color["GRAY"] = "GRAY"; Color["WHITE"] = "WHITE"; Color["BLUE"] = "BLUE"; Color["BLACK"] = "BLACK"; Color["LTGRAY"] = "LTGRAY"; Color["MAGENTA"] = "MAGENTA"; Color["YELLOW"] = "YELLOW"; Color["CYAN"] = "CYAN"; Color["GREEN"] = "GREEN"; Color["TRANSPARENT"] = "TRANSPARENT"; })(Color || (exports.Color = Color = {})); var InstallReferrerResponses; (function (InstallReferrerResponses) { InstallReferrerResponses[InstallReferrerResponses["SERVICE_DISCONNECTED"] = -1] = "SERVICE_DISCONNECTED"; InstallReferrerResponses[InstallReferrerResponses["DEVELOPER_ERROR"] = 3] = "DEVELOPER_ERROR"; InstallReferrerResponses[InstallReferrerResponses["SERVICE_UNAVAILABLE"] = 1] = "SERVICE_UNAVAILABLE"; InstallReferrerResponses[InstallReferrerResponses["OK"] = 0] = "OK"; InstallReferrerResponses[InstallReferrerResponses["FEATURE_NOT_SUPPORTED"] = 2] = "FEATURE_NOT_SUPPORTED"; })(InstallReferrerResponses || (exports.InstallReferrerResponses = InstallReferrerResponses = {})); var Anchor; (function (Anchor) { Anchor["TOP"] = "top"; Anchor["BOTTOM"] = "bottom"; Anchor["INVISIBLE"] = "invisible"; })(Anchor || (exports.Anchor = Anchor = {})); /////////////////////////////////////////////// var BannerAdEvents; (function (BannerAdEvents) { BannerAdEvents["BANNER_AD_CLOSED"] = "banner_ad_closed"; BannerAdEvents["BANNER_AD_FAILED"] = "banner_ad_failed"; BannerAdEvents["BANNER_AD_LEAVE"] = "banner_ad_leave"; BannerAdEvents["BANNER_AD_OPENED"] = "banner_ad_opened"; BannerAdEvents["BANNER_AD_LOADED"] = "banner_ad_loaded"; BannerAdEvents["BANNER_AD_CLICKED"] = "banner_ad_clicked"; BannerAdEvents["BANNER_AD_IMPRESSION"] = "banner_ad_impression"; })(BannerAdEvents || (exports.BannerAdEvents = BannerAdEvents = {})); var InterstitialAdEvents; (function (InterstitialAdEvents) { InterstitialAdEvents["INTERSTITIAL_AD_CLOSED"] = "interstitial_ad_closed"; InterstitialAdEvents["INTERSTITIAL_AD_FAILED"] = "interstitial_ad_failed"; InterstitialAdEvents["INTERSTITIAL_AD_LEAVE"] = "interstitial_ad_leave"; InterstitialAdEvents["INTERSTITIAL_AD_OPENED"] = "interstitial_ad_opened"; InterstitialAdEvents["INTERSTITIAL_AD_LOADED"] = "interstitial_ad_loaded"; InterstitialAdEvents["INTERSTITIAL_AD_CLICKED"] = "interstitial_ad_clicked"; InterstitialAdEvents["INTERSTITIAL_AD_IMPRESSION"] = "interstitial_ad_impression"; InterstitialAdEvents["INTERSTITIAL_AD_REWARDED"] = "interstitial_ad_rewarded"; InterstitialAdEvents["INTERSTITIAL_REWARD_AD_CLOSED"] = "interstitial_reward_ad_closed"; InterstitialAdEvents["INTERSTITIAL_REWARD_AD_FAILED_TO_LOAD"] = "interstitial_reward_ad_failed_to_load"; InterstitialAdEvents["INTERSTITIAL_REWARD_AD_LEFT_APP"] = "interstitial_reward_ad_left_app"; InterstitialAdEvents["INTERSTITIAL_REWARD_AD_LOADED"] = "interstitial_reward_ad_loaded"; InterstitialAdEvents["INTERSTITIAL_REWARD_AD_OPENED"] = "interstitial_reward_ad_opened"; InterstitialAdEvents["INTERSTITIAL_REWARD_AD_COMPLETED"] = "interstitial_reward_ad_completed"; InterstitialAdEvents["INTERSTITIAL_REWARD_AD_STARTED"] = "interstitial_reward_ad_started"; })(InterstitialAdEvents || (exports.InterstitialAdEvents = InterstitialAdEvents = {})); var SplashAdEvents; (function (SplashAdEvents) { SplashAdEvents["SPLASH_AD_FAILED_TO_LOAD"] = "splash_ad_failed_to_load"; SplashAdEvents["SPLASH_AD_LOADED"] = "splash_ad_loaded"; SplashAdEvents["SPLASH_AD_DISMISSED"] = "splash_ad_dismissed"; SplashAdEvents["SPLASH_AD_SHOWED"] = "splash_ad_showed"; SplashAdEvents["SPLASH_AD_CLICK"] = "splash_ad_click"; })(SplashAdEvents || (exports.SplashAdEvents = SplashAdEvents = {})); var RollAdEvents; (function (RollAdEvents) { RollAdEvents["ROLL_AD_LOAD_FAILED"] = "roll_ad_load_failed"; RollAdEvents["ROLL_AD_LOADED"] = "roll_ad_loaded"; RollAdEvents["ROLL_AD_MEDIA_CHANGED"] = "roll_ad_media_changed"; RollAdEvents["ROLL_AD_CLICKED"] = "roll_ad_clicked"; RollAdEvents["ROLL_AD_MEDIA_PROGRESS"] = "roll_ad_media_progress"; RollAdEvents["ROLL_AD_MEDIA_START"] = "roll_ad_media_start"; RollAdEvents["ROLL_AD_MEDIA_PAUSE"] = "roll_ad_media_pause"; RollAdEvents["ROLL_AD_MEDIA_STOP"] = "roll_ad_media_stop"; RollAdEvents["ROLL_AD_MEDIA_COMPLETION"] = "roll_ad_media_completion"; RollAdEvents["ROLL_AD_MEDIA_ERROR"] = "roll_ad_media_error"; RollAdEvents["ROLL_AD_MEDIA_UNMUTE"] = "roll_ad_media_unmute"; RollAdEvents["ROLL_AD_MEDIA_MUTE"] = "roll_ad_media_mute"; RollAdEvents["ROLL_AD_WHY_THIS_AD"] = "roll_ad_why_this_ad"; })(RollAdEvents || (exports.RollAdEvents = RollAdEvents = {})); var RewardAdEvents; (function (RewardAdEvents) { RewardAdEvents["REWARD_METADATA_CHANGED"] = "reward_metadata_changed"; RewardAdEvents["REWARD_AD_FAILED_TO_LOAD_LOAD"] = "reward_ad_failed_to_load_load"; RewardAdEvents["REWARDED_LOADED"] = "rewarded_loaded"; RewardAdEvents["REWARDED_STATUS"] = "rewarded_status"; RewardAdEvents["REWARD_AD_CLOSED_STATUS"] = "reward_ad_closed_status"; RewardAdEvents["REWARD_AD_OPENED_STATUS"] = "reward_ad_opened_status"; RewardAdEvents["REWARD_AD_FAILED_TO_SHOW"] = "reward_ad_failed_to_show"; RewardAdEvents["REWARDED"] = "rewarded"; RewardAdEvents["REWARD_AD_CLOSED"] = "reward_ad_closed"; RewardAdEvents["REWARD_AD_FAILED_TO_LOAD"] = "reward_ad_failed_to_load"; RewardAdEvents["REWARD_AD_LOADED"] = "reward_ad_loaded"; RewardAdEvents["REWARD_AD_OPENED"] = "reward_ad_opened"; })(RewardAdEvents || (exports.RewardAdEvents = RewardAdEvents = {})); var NativeAdEvents; (function (NativeAdEvents) { NativeAdEvents["NATIVE_AD_DISLIKED"] = "native_ad_disliked"; NativeAdEvents["NATIVE_AD_LOADED_LOAD"] = "native_ad_loaded_load"; NativeAdEvents["NATIVE_AD_CLOSED"] = "native_ad_closed"; NativeAdEvents["NATIVE_AD_FAILED"] = "native_ad_failed"; NativeAdEvents["NATIVE_AD_LEAVE"] = "native_ad_leave"; NativeAdEvents["NATIVE_AD_OPENED"] = "native_ad_opened"; NativeAdEvents["NATIVE_AD_LOADED"] = "native_ad_loaded"; NativeAdEvents["NATIVE_AD_CLICKED"] = "native_ad_clicked"; NativeAdEvents["NATIVE_AD_IMPRESSION"] = "native_ad_impression"; NativeAdEvents["VIDEO_OPERATOR_VIDEO_START"] = "video_operator_video_start"; NativeAdEvents["VIDEO_OPERATOR_VIDEO_PLAY"] = "video_operator_video_play"; NativeAdEvents["VIDEO_OPERATOR_VIDEO_PAUSE"] = "video_operator_video_pause"; NativeAdEvents["VIDEO_OPERATOR_VIDEO_END"] = "video_operator_video_end"; NativeAdEvents["VIDEO_OPERATOR_VIDEO_MUTE"] = "video_operator_video_mute"; NativeAdEvents["APP_DOWNLOAD_STATUS_CHANGED"] = "app_download_status_changed"; NativeAdEvents["APP_DOWNLOAD_NON_WIFI_DOWNLOAD"] = "app_download_non_wifi_download"; })(NativeAdEvents || (exports.NativeAdEvents = NativeAdEvents = {})); var VastEvents; (function (VastEvents) { VastEvents["VAST_LOAD_SUCCESS"] = "vast_load_success"; VastEvents["VAST_LOAD_FAILED"] = "vast_load_failed"; VastEvents["VAST_PLAY_STATE_CHANGED"] = "vast_play_state_changed"; VastEvents["VAST_VOLUME_CHANGED"] = "vast_volume_changed"; VastEvents["VAST_SCREEN_VIEW_CHANGED"] = "vast_screen_view_changed"; VastEvents["VAST_PROGRESS_CHANGED"] = "vast_progress_changed"; VastEvents["VAST_ON_SUCCESS"] = "vast_on_success"; VastEvents["VAST_ON_FAILED"] = "vast_on_failed"; VastEvents["VAST_AD_READY"] = "vast_ad_ready"; VastEvents["VAST_AD_FINISH"] = "vast_ad_finish"; VastEvents["VAST_BUFFER_START"] = "vast_buffer_start"; VastEvents["VAST_BUFFER_END"] = "vast_buffer_end"; })(VastEvents || (exports.VastEvents = VastEvents = {})); var DetailedCreativeType; (function (DetailedCreativeType) { DetailedCreativeType[DetailedCreativeType["BIG_IMG"] = 901] = "BIG_IMG"; DetailedCreativeType[DetailedCreativeType["VIDEO"] = 903] = "VIDEO"; DetailedCreativeType[DetailedCreativeType["THREE_IMG"] = 904] = "THREE_IMG"; DetailedCreativeType[DetailedCreativeType["SMALL_IMG"] = 905] = "SMALL_IMG"; DetailedCreativeType[DetailedCreativeType["SINGLE_IMG"] = 909] = "SINGLE_IMG"; DetailedCreativeType[DetailedCreativeType["SHORT_TEXT"] = 913] = "SHORT_TEXT"; DetailedCreativeType[DetailedCreativeType["LONG_TEXT"] = 914] = "LONG_TEXT"; })(DetailedCreativeType || (exports.DetailedCreativeType = DetailedCreativeType = {})); var CreativeMatchType; (function (CreativeMatchType) { CreativeMatchType[CreativeMatchType["EXACT"] = 0] = "EXACT"; CreativeMatchType[CreativeMatchType["SMART"] = 1] = "SMART"; CreativeMatchType[CreativeMatchType["UNKNOWN"] = 2] = "UNKNOWN"; CreativeMatchType[CreativeMatchType["ANY"] = 3] = "ANY"; CreativeMatchType[CreativeMatchType["LANDSCAPE"] = 4] = "LANDSCAPE"; CreativeMatchType[CreativeMatchType["PORTRAIT"] = 5] = "PORTRAIT"; CreativeMatchType[CreativeMatchType["SQUARE"] = 6] = "SQUARE"; })(CreativeMatchType || (exports.CreativeMatchType = CreativeMatchType = {})); var ActivateStyle; (function (ActivateStyle) { ActivateStyle[ActivateStyle["BOTTOM_BANNER"] = 1] = "BOTTOM_BANNER"; ActivateStyle[ActivateStyle["CONFIRM_DIALOG"] = 2] = "CONFIRM_DIALOG"; })(ActivateStyle || (exports.ActivateStyle = ActivateStyle = {})); var AppDownloadStatus; (function (AppDownloadStatus) { AppDownloadStatus["DOWNLOAD"] = "DOWNLOAD"; AppDownloadStatus["WAITING_FOR_WIFI"] = "WAITING_FOR_WIFI"; AppDownloadStatus["WAITING"] = "WAITING"; AppDownloadStatus["DOWNLOADING"] = "DOWNLOADING"; AppDownloadStatus["PAUSE"] = "PAUSE"; AppDownloadStatus["RESUME"] = "RESUME"; AppDownloadStatus["DOWNLOADED"] = "DOWNLOADED"; AppDownloadStatus["DOWNLOADFAILED"] = "DOWNLOADFAILED"; AppDownloadStatus["INSTALLING"] = "INSTALLING"; AppDownloadStatus["INSTALL"] = "INSTALL"; AppDownloadStatus["INSTALLED"] = "INSTALLED"; })(AppDownloadStatus || (exports.AppDownloadStatus = AppDownloadStatus = {})); var AutoPlayNetType; (function (AutoPlayNetType) { AutoPlayNetType[AutoPlayNetType["WIFI_ONLY"] = 0] = "WIFI_ONLY"; AutoPlayNetType[AutoPlayNetType["BOTH_WIFI_AND_DATA"] = 1] = "BOTH_WIFI_AND_DATA"; AutoPlayNetType[AutoPlayNetType["FORBID_AUTO_PLAY"] = 2] = "FORBID_AUTO_PLAY"; })(AutoPlayNetType || (exports.AutoPlayNetType = AutoPlayNetType = {})); //# sourceMappingURL=HMSConstants.js.map