// Token: 0x06000043 RID: 67 RVA: 0x0000381C File Offset: 0x00001C1C public static CBInPlay getInPlay(CBLocation location) { CBExternal.Log("Android : getInPlay at location = " + location.ToString()); if (!CBExternal.checkInitialized()) { return(null); } if (location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return(null); } CBInPlay result; try { AndroidJavaObject inPlayAd = CBExternal._plugin.Call <AndroidJavaObject>("getInPlay", new object[] { location.ToString() }); CBInPlay cbinPlay = new CBInPlay(inPlayAd, CBExternal._plugin); result = cbinPlay; } catch { result = null; } return(result); }
public static CBInPlay getInPlay(CBLocation location) { if (!checkInitialized()) { return(null); } else if (location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return(null); } IntPtr inPlayId = _chartBoostGetInPlay(location.ToString()); // No Inplay was available right now if (inPlayId == IntPtr.Zero) { return(null); } CBInPlay inPlayAd = new CBInPlay(inPlayId); Log("iOS : getInPlay at location = " + location.ToString()); return(inPlayAd); }
/// Checks for a cached a rewarded video. Location is optional. public static bool hasRewardedVideo(CBLocation location) { if (!checkInitialized()) { return(false); } else if (location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return(false); } Log("iOS : hasRewardedVideo at location = " + location.ToString()); return(_chartBoostHasRewardedVideo(location.ToString())); }
/// Caches an interstitial. Location is optional. public static void cacheInterstitial(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("cacheInterstitial", location.ToString()); Log("Android : cacheInterstitial at location = " + location.ToString()); }
public static bool hasInPlay(CBLocation location) { if (!checkInitialized()) { return(false); } else if (location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return(false); } Log("Android : hasInPlay at location = " + location.ToString()); return(_plugin.Call <bool>("hasCachedInPlay", location.ToString())); }
/// 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()); }
public static void cacheInPlay(CBLocation location) { if (!checkInitialized()) { return; } else if (location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return; } _chartBoostCacheInPlay(location.ToString()); Log("iOS : cacheInPlay at location = " + location.ToString()); }
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); } }
// Token: 0x06000046 RID: 70 RVA: 0x00003964 File Offset: 0x00001D64 public static void showRewardedVideo(CBLocation location) { if (!CBExternal.checkInitialized()) { return; } if (location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return; } CBExternal._plugin.Call("showRewardedVideo", new object[] { location.ToString() }); CBExternal.Log("Android : showRewardedVideo at location = " + location.ToString()); }
// Token: 0x0600003C RID: 60 RVA: 0x0000358C File Offset: 0x0000198C public static bool hasInterstitial(CBLocation location) { if (!CBExternal.checkInitialized()) { return(false); } if (location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return(false); } CBExternal.Log("Android : hasInterstitial at location = " + location.ToString()); return(CBExternal._plugin.Call <bool>("hasInterstitial", new object[] { location.ToString() })); }
/// Checks for a cached an interstitial. Location is optional. public static bool hasInterstitial(CBLocation location) { Log("Unity : hasInterstitial at location = " + location.ToString()); return(false); }
public static CBInPlay getInPlay(CBLocation location) { if (!checkInitialized()) return null; else if(location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return null; } IntPtr inPlayId = _chartBoostGetInPlay(location.ToString()); // No Inplay was available right now if(inPlayId == IntPtr.Zero) { return null; } CBInPlay inPlayAd = new CBInPlay(inPlayId); Log("iOS : getInPlay at location = " + location.ToString()); return inPlayAd; }
/// Caches a rewarded video. Location is optional. public static void cacheRewardedVideo(CBLocation location) { if (!checkInitialized()) return; else if(location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return; } _chartBoostCacheRewardedVideo(location.ToString()); Log("iOS : cacheRewardedVideo at location = " + location.ToString()); }
public static bool hasInPlay(CBLocation location) { Log("Unity : hasInPlay at location = " + location.ToString()); return false; }
/// Checks for a cached an interstitial. Location is optional. public static bool hasInterstitial(CBLocation location) { if (!checkInitialized()) return false; else if(location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return false; } Log("iOS : hasInterstitial at location = " + location.ToString()); return _chartBoostHasInterstitial(location.ToString()); }
/// 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); }
/// Caches the more apps screen. Location is optional. public static void cacheMoreApps(CBLocation location) { Log("Unity : cacheMoreApps at location = " + location.ToString()); }
/// 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()); }
public static CBInPlay getInPlay(CBLocation location) { Log("Unity : getInPlay at location = " + location.ToString()); return null; }
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; } }
/// Checks for a cached a rewarded video. public static bool hasRewardedVideo(CBLocation location) { if (!checkInitialized()) return false; else if(location == null) { Debug.LogError("Chartboost SDK: location passed is null cannot perform the operation requested"); return false; } Log("Android : hasRewardedVideo at location = " + location.ToString()); return _plugin.Call<bool>("hasRewardedVideo", location.ToString()); }
/// 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()); }
/// Caches a rewarded video. Location is optional. public static void cacheRewardedVideo(CBLocation location) { Log("Unity : cacheRewardedVideo at location = " + location.ToString()); }
/// 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()); }
/// 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; }
/// Shows the more apps screen. Location is optional. public static void showMoreApps(CBLocation location) { Log("Unity : showMoreApps at location = " + location.ToString()); }
/// Loads an interstitial. Location is optional. public static void showInterstitial(CBLocation location) { Log("Unity : showInterstitial at location = " + location.ToString()); }
/// Checks for a cached an interstitial. Location is optional. public static bool hasInterstitial(CBLocation location) { Log("Unity : hasInterstitial at location = " + location.ToString()); return false; }
/// 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; }
/// Caches an interstitial. Location is optional. public static void cacheInterstitial(CBLocation location) { Log("Unity : cacheInterstitial at location = " + location.ToString()); }
public static void cacheInPlay(CBLocation location) { Log("Unity : cacheInPlay at location = " + location.ToString()); }
/// 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); }
public static bool hasInPlay(CBLocation location) { Log("Unity : hasInPlay at location = " + location.ToString()); return(false); }
/// Loads a rewarded video. Location is optional. public static void showRewardedVideo(CBLocation location) { Log("Unity : showRewardedVideo at location = " + location.ToString()); }
public static CBInPlay getInPlay(CBLocation location) { Log("Unity : getInPlay at location = " + location.ToString()); return(null); }