// 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); }
// Token: 0x06000057 RID: 87 RVA: 0x00003CA9 File Offset: 0x000020A9 public static void destroy() { if (!CBExternal.checkInitialized()) { return; } CBExternal._plugin.Call("destroy", new object[0]); CBExternal.initialized = false; CBExternal.Log("Android : destroy"); }
// Token: 0x06000058 RID: 88 RVA: 0x00003CDC File Offset: 0x000020DC public static bool onBackPressed() { if (!CBExternal.checkInitialized()) { return(false); } bool result = CBExternal._plugin.Call <bool>("onBackPressed", new object[0]); CBExternal.Log("Android : onBackPressed"); return(result); }
// Token: 0x0600003A RID: 58 RVA: 0x000034E8 File Offset: 0x000018E8 public static bool isAnyViewVisible() { bool flag = false; if (!CBExternal.checkInitialized()) { return(flag); } flag = CBExternal._plugin.Call <bool>("isAnyViewVisible", new object[0]); CBExternal.Log("Android : isAnyViewVisible = " + flag); return(flag); }
// Token: 0x06000056 RID: 86 RVA: 0x00003C74 File Offset: 0x00002074 public static void pause(bool paused) { if (!CBExternal.checkInitialized()) { return; } CBExternal._plugin.Call("pause", new object[] { paused }); CBExternal.Log("Android : pause"); }
// Token: 0x06000049 RID: 73 RVA: 0x00003A2A File Offset: 0x00001E2A public static void chartBoostShouldDisplayMoreAppsCallbackResult(bool result) { if (!CBExternal.checkInitialized()) { return; } CBExternal._plugin.Call("chartBoostShouldDisplayMoreAppsCallbackResult", new object[] { result }); CBExternal.Log("Android : chartBoostShouldDisplayMoreAppsCallbackResult"); }
// 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() })); }
// 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()); }