| | |
| | | // |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | @class UIView; |
| | | |
| | |
| | | /*! HyprMX */ |
| | | CBMediationHyprMX, |
| | | /*! AerServ */ |
| | | CBMediationAerServ |
| | | CBMediationAerServ, |
| | | /*! Helium */ |
| | | CBMediationHelium, |
| | | /*! Fairbid */ |
| | | CBMediationFairbid, |
| | | /*! AppLovin MAX */ |
| | | CBMediationMAX |
| | | }; |
| | | |
| | | |
| | |
| | | /*! Error Originating from the JS side of a Web View */ |
| | | CBLoadErrorWebViewScriptError = 22, |
| | | /*! Network is unavailable while attempting to show. */ |
| | | CBLoadErrorInternetUnavailableAtShow = 25 |
| | | CBLoadErrorInternetUnavailableAtShow = 25, |
| | | /*! Error trying to present the ad. */ |
| | | CBLoadErrorAdPresentationFailure = 33, |
| | | /*! No cached ad ready to be shown. */ |
| | | CBLoadErrorNoCachedAd = 34, |
| | | /*! Publisher disabled. */ |
| | | CBLoadErrorPublisherDisabled = 35 |
| | | }; |
| | | |
| | | /*! |
| | |
| | | /*! Respect the status bar fully; fullscreen ads will not use the status bar space. */ |
| | | CBStatusBarBehaviorRespect |
| | | }; |
| | | |
| | | |
| | | /*! |
| | | @typedef NS_ENUM (NSUInteger, CBPIDataUseConsent) |
| | | |
| | | @abstract |
| | | GDPR compliance settings: |
| | | */ |
| | | typedef NS_ENUM(NSInteger, CBPIDataUseConsent) { |
| | | /*! Publisher hasn't implemented functionality or the user has the option to not answer. */ |
| | | Unknown = -1, |
| | | /*! User does not consent to targeting (Contextual ads). */ |
| | | NoBehavioral = 0, |
| | | /*! User consents (Behavioral and Contextual Ads). */ |
| | | YesBehavioral = 1 |
| | | }; |
| | | |
| | | |
| | | /*! |
| | | @typedef CBLocation |
| | |
| | | |
| | | All of the delegate methods are optional. |
| | | */ |
| | | DEPRECATED_MSG_ATTRIBUTE("This protocol is deprecated and will be removed in a future version. Please use CHBInterstitial, CHBRewarded, CHBBanner and their corresponding delegate protocols instead.") |
| | | @protocol ChartboostDelegate <NSObject> |
| | | |
| | | @optional |