本文整理汇总了C#中ChartboostSDK.CBLocation.ToString方法的典型用法代码示例。如果您正苦于以下问题:C# CBLocation.ToString方法的具体用法?C# CBLocation.ToString怎么用?C# CBLocation.ToString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ChartboostSDK.CBLocation
的用法示例。
在下文中一共展示了CBLocation.ToString方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: cacheMoreApps
/// Caches the more apps screen. Location is optional.
public static void cacheMoreApps(CBLocation location)
{
if (!checkInitialized())
return;
else if(location == null) {
Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested");
return;
};
_plugin.Call("cacheMoreApps", location.ToString());
Log("Android : cacheMoreApps at location = " + location.ToString());
}
示例2: getInPlay
public static CBInPlay getInPlay(CBLocation location)
{
Log("Android : getInPlay at location = " + location.ToString());
if (!checkInitialized())
return null;
else if(location == null) {
Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested");
return null;
}
try
{
AndroidJavaObject androidInPlayAd = _plugin.Call<AndroidJavaObject>("getInPlay", location.ToString());
CBInPlay inPlayAd = new CBInPlay(androidInPlayAd, _plugin);
return inPlayAd;
}
catch
{
return null;
}
}
示例3: showMoreApps
/// Shows the more apps screen. Location is optional.
public static void showMoreApps(CBLocation location)
{
if (!checkInitialized())
return;
else if(location == null) {
Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested");
return;
}
_chartBoostShowMoreApps(location.ToString());
Log("iOS : showMoreApps at location = " + location.ToString());
}
示例4: cacheRewardedVideo
/// Caches a rewarded video. Location is optional.
public static void cacheRewardedVideo(CBLocation location)
{
Log("Unity : cacheRewardedVideo at location = " + location.ToString());
}
示例5: cacheInterstitial
/// Caches an interstitial. Location is optional.
public static void cacheInterstitial(CBLocation location)
{
Log("Unity : cacheInterstitial at location = " + location.ToString());
}
示例6: cacheInPlay
public static void cacheInPlay(CBLocation location)
{
Log("Unity : cacheInPlay at location = " + location.ToString());
}
示例7: hasInPlay
public static bool hasInPlay(CBLocation location)
{
Log("Unity : hasInPlay at location = " + location.ToString());
return false;
}
示例8: hasRewardedVideo
/// Checks for a cached a rewarded video. Location is optional.
public static bool hasRewardedVideo(CBLocation location)
{
Log("Unity : hasRewardedVideo at location = " + location.ToString());
return false;
}
示例9: hasMoreApps
/// Checks to see if the more apps screen is cached. Location is optional.
public static bool hasMoreApps(CBLocation location)
{
Log("Unity : hasMoreApps at location = " + location.ToString());
return false;
}
示例10: hasInterstitial
/// Checks for a cached an interstitial. Location is optional.
public static bool hasInterstitial(CBLocation location)
{
Log("Unity : hasInterstitial at location = " + location.ToString());
return false;
}
示例11: showRewardedVideo
/// Loads a rewarded video.
public static void showRewardedVideo(CBLocation location)
{
if (!checkInitialized())
return;
else if(location == null) {
Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested");
return;
}
_plugin.Call("showRewardedVideo", location.ToString());
Log("Android : showRewardedVideo at location = " + location.ToString());
}