// Token: 0x060000D1 RID: 209 RVA: 0x00003908 File Offset: 0x00001B08 public static void ShowWithOptions(HZShowOptions showOptions) { if (showOptions == null) { showOptions = new HZShowOptions(); } HZInterstitialAdAndroid.ShowWithOptions(showOptions); }
// Token: 0x060000FE RID: 254 RVA: 0x00003D8C File Offset: 0x00001F8C public static void ShowWithOptions(HZShowOptions showOptions) { if (showOptions == null) { showOptions = new HZShowOptions(); } HZVideoAdAndroid.ShowWithOptions(showOptions); }
public static void ShowWithOptions(HZShowOptions showOptions) { if (Application.platform != RuntimePlatform.Android) { return; } AndroidJNIHelper.debug = false; using (AndroidJavaClass jc = new AndroidJavaClass("com.heyzap.sdk.extensions.unity3d.UnityHelper")) { jc.CallStatic("showInterstitial", showOptions.Tag); } }
/// <summary> /// Shows an ad with the given options. /// </summary> /// <param name="showOptions"> The options to show the ad with, or the default options if <c>null</c></param> public static void ShowWithOptions(HZShowOptions showOptions) { if (showOptions == null) { showOptions = new HZShowOptions(); } #if UNITY_ANDROID HZInterstitialAdAndroid.ShowWithOptions(showOptions); #endif #if UNITY_IPHONE && !UNITY_EDITOR HZInterstitialAdIOS.ShowWithOptions(showOptions); #endif }
// Token: 0x06000114 RID: 276 RVA: 0x00003EB4 File Offset: 0x000020B4 public static void ShowWithOptions(HZShowOptions showOptions) { if (Application.platform != RuntimePlatform.Android) { return; } AndroidJNIHelper.debug = false; using (AndroidJavaClass androidJavaClass = new AndroidJavaClass("com.heyzap.sdk.extensions.unity3d.UnityHelper")) { androidJavaClass.CallStatic("showVideo", new object[] { showOptions.Tag }); } }
/// <summary> /// Shows an ad with the given options. /// </summary> /// <param name="showOptions"> The options to show the ad with, or the default options if <c>null</c></param> public static void ShowWithOptions(HZShowOptions showOptions) { if (showOptions == null) { showOptions = new HZShowOptions(); } #if !UNITY_EDITOR && (UNITY_ANDROID || UNITY_IPHONE) #if UNITY_ANDROID HZInterstitialAdAndroid.ShowWithOptions(showOptions); #elif UNITY_IPHONE HZInterstitialAdIOS.ShowWithOptions(showOptions); #endif #else UnityEngine.Debug.LogWarning("Call received to show an HZInterstitalAd, but the SDK does not function in the editor. You must use a device/emulator to fetch/show ads."); _instance.StartCoroutine(InvokeCallbackNextFrame(HeyzapAds.NetworkCallback.SHOW_FAILED, showOptions.Tag)); #endif }
public static void ShowWithOptions(HZShowOptions showOptions) { hz_ads_show_interstitial(showOptions.Tag); }
public static void ShowWithOptions(HZShowOptions showOptions) { if(Application.platform != RuntimePlatform.Android) return; AndroidJNIHelper.debug = false; using (AndroidJavaClass jc = new AndroidJavaClass("com.heyzap.sdk.extensions.unity3d.UnityHelper")) { jc.CallStatic("showInterstitial", showOptions.Tag); } }
public static void ShowWithOptions(HZShowOptions showOptions) { hz_ads_show_video(showOptions.Tag); }