CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2016 |
ZFRewardVideoManager is an integration of all mainstream reward video platforms. You can monetize your app by reward video with simple API and dispatch reward videos by priority. And you can also integrate/delete certain RV platform just by adding/deleting one line code in Podfile
without changing any code in your project.
pod 'ZFRewardVideoManager/Vungle'
pod 'ZFRewardVideoManager/Appnext'
pod 'ZFRewardVideoManager/Adcolony'
pod 'ZFRewardVideoManager/Unity'
You can delete certain line if you don't need to play the videos from that platform.
Initialize and start to load videos. Usually use when user enters the homepage of your app.
[ZFRewardVideoManager sharedInstance].delegate = self;
[[ZFRewardVideoManager sharedInstance] configVungleAppId:{vungle_appId}];
[[ZFRewardVideoManager sharedInstance] configAppnextPlacementId:{appnext_placementId}];
[[ZFRewardVideoManager sharedInstance] configAdcolonyAppId:{adcolony_appId} zoneId:{adcolony_zoneId}];
[[ZFRewardVideoManager sharedInstance] configUnityGameId:{unity_gameId} placementId:{unity_placementId}];
[[ZFRewardVideoManager sharedInstance] setPriority:@[@(ZFRewardVideoTypeAdcolony),
@(ZFRewardVideoTypeAppNext),
@(ZFRewardVideoTypeVungle),
@(ZFRewardVideoTypeUnity)]];
[[ZFRewardVideoManager sharedInstance] setCap:2 platform:ZFRewardVideoTypeAppNext];
[[ZFRewardVideoManager sharedInstance] setCap:1 platform:ZFRewardVideoTypeAdcolony];
[[ZFRewardVideoManager sharedInstance] start];
Call this function to start playing video(If any video has been loaded).
[[ZFRewardVideoManager sharedInstance] play];
ZFRewardVideoManagerDelegate
indicates the status for the reward videos.
Usually implemented for UI changes.
To avoid namespace duplication. This project changes CTMediator
file name.
CTMediator by casa : https://github.com/casatwy/CTMediator