Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Expose constants #5

Open
hassankhan opened this issue Jun 2, 2016 · 1 comment
Open

Expose constants #5

hassankhan opened this issue Jun 2, 2016 · 1 comment

Comments

@hassankhan
Copy link
Member

Currently no constants are exposed to Javascript.

@hassankhan
Copy link
Member Author

iOS:

// HZAdOptions
HZAdOptionsNone
HZAdOptionsDisableAutoPrefetching
HZAdOptionsInstallTrackingOnly
HZAdOptionsAdvertiserOnly
HZAdOptionsAmazon
HZAdOptionsDisableMedation
HZAdOptionsDisableAutomaticIAPRecording
HZAdOptionsChildDirectedAds

// Network Names
extern NSString * const HZNetworkHeyzap;
extern NSString * const HZNetworkCrossPromo;
extern NSString * const HZNetworkFacebook;
extern NSString * const HZNetworkUnityAds;
extern NSString * const HZNetworkAppLovin;
extern NSString * const HZNetworkVungle;
extern NSString * const HZNetworkChartboost;
extern NSString * const HZNetworkAdColony;
extern NSString * const HZNetworkAdMob;
extern NSString * const HZNetworkIAd;
extern NSString * const HZNetworkHyprMX;
extern NSString * const HZNetworkHeyzapExchange;
extern NSString * const HZNetworkLeadbolt;
extern NSString * const HZNetworkInMobi;

// General Network Callbacks
extern NSString * const HZNetworkCallbackInitialized;
extern NSString * const HZNetworkCallbackShow;
extern NSString * const HZNetworkCallbackAvailable;
extern NSString * const HZNetworkCallbackHide;
extern NSString * const HZNetworkCallbackFetchFailed;
extern NSString * const HZNetworkCallbackClick;
extern NSString * const HZNetworkCallbackDismiss;
extern NSString * const HZNetworkCallbackIncentivizedResultIncomplete;
extern NSString * const HZNetworkCallbackIncentivizedResultComplete;
extern NSString * const HZNetworkCallbackAudioStarting;
extern NSString * const HZNetworkCallbackAudioFinished;
extern NSString * const HZNetworkCallbackLeaveApplication;

// NSNotifications
extern NSString * const HZRemoteDataRefreshedNotification;
extern NSString * const HZMediationNetworkCallbackNotification;

// HZAdsDelegate Callback NSNotifications
extern NSString * const HZMediationDidShowAdNotification;
extern NSString * const HZMediationDidFailToShowAdNotification;
extern NSString * const HZMediationDidReceiveAdNotification;
extern NSString * const HZMediationDidFailToReceiveAdNotification;
extern NSString * const HZMediationDidClickAdNotification;
extern NSString * const HZMediationDidHideAdNotification;
extern NSString * const HZMediationWillStartAdAudioNotification;
extern NSString * const HZMediationDidFinishAdAudioNotification;

// HZIncentivizedAdDelegate Callback NSNotifications
extern NSString * const HZMediationDidCompleteIncentivizedAdNotification;
extern NSString * const HZMediationDidFailToCompleteIncentivizedAdNotification;

// User Info Keys
extern NSString * const HZNetworkCallbackNameUserInfoKey;
extern NSString * const HZAdTagUserInfoKey;
extern NSString * const HZNetworkNameUserInfoKey;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant