本文整理汇总了C#中ChartboostSDK.CBLocation类的典型用法代码示例。如果您正苦于以下问题:C# CBLocation类的具体用法?C# CBLocation怎么用?C# CBLocation使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CBLocation类属于ChartboostSDK命名空间,在下文中一共展示了CBLocation类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CacheAd
public void CacheAd(AdNetwork network, DisplayedAdType displayType, CBLocation location)
{
#if ADFREE
// Don't cache if Ad-free
return;
#endif
if (Debug.isDebugBuild)
{
Debug.Log("Caching ad");
}
switch (displayType)
{
case DisplayedAdType.FullScreen:
#if !MOREAPPSONLY
switch (network)
{
case AdNetwork.ChartBoost:
default:
Chartboost.cacheInterstitial(location);
break;
}
#endif
break;
case DisplayedAdType.MoreGames:
switch (network)
{
case AdNetwork.ChartBoost:
default:
Chartboost.cacheMoreApps(location);
break;
}
break;
case DisplayedAdType.Video:
switch (network)
{
case AdNetwork.ChartBoost:
default:
Chartboost.cacheRewardedVideo(location);
break;
}
break;
}
}
示例2: didDisplayRewardedVideo
void didDisplayRewardedVideo(CBLocation location)
{
}
示例3: willDisplayVideo
void willDisplayVideo(CBLocation location) {
AddLog("willDisplayVideo: " + location);
}
示例4: didCacheInPlay
void didCacheInPlay(CBLocation location) {
AddLog("didCacheInPlay called: "+location);
}
示例5: didCompleteRewardedVideo
void didCompleteRewardedVideo(CBLocation location, int reward) {
AddLog(string.Format("didCompleteRewardedVideo: reward {0} at location {1}", reward, location));
}
示例6: didCacheRewardedVideo
void didCacheRewardedVideo(CBLocation location) {
AddLog("didCacheRewardedVideo: " + location);
}
示例7: didFailToRecordClick
void didFailToRecordClick(CBLocation location, CBClickError error) {
AddLog(string.Format("didFailToRecordClick: {0} at location: {1}", error, location));
}
示例8: shouldDisplayMoreApps
bool shouldDisplayMoreApps(CBLocation location) {
AddLog(string.Format("shouldDisplayMoreApps at location: {0}: {1}", location, showMoreApps));
return showMoreApps;
}
示例9: shouldDisplayMoreApps
bool shouldDisplayMoreApps(CBLocation location)
{
return showMoreApps;
}
示例10: shouldDisplayInterstitial
bool shouldDisplayInterstitial(CBLocation location)
{
return showInterstitial;
}
示例11: didFailToRecordClick
void didFailToRecordClick(CBLocation location, CBClickError error)
{
}
示例12: didFailToLoadRewardedVideo
void didFailToLoadRewardedVideo(CBLocation location, CBImpressionError error)
{
}
示例13: didFailToLoadMoreApps
void didFailToLoadMoreApps(CBLocation location, CBImpressionError error)
{
}
示例14: didFailToLoadInterstitial
void didFailToLoadInterstitial(CBLocation location, CBImpressionError error)
{
}
示例15: didFailToLoadInPlay
void didFailToLoadInPlay(CBLocation location, CBImpressionError error)
{
}