Exemplo n.º 1
0
    public static void showMediationTestSuite()
    {
    #if UNITY_ANDROID
        HeyzapAdsAndroid.showMediationTestSuite();
    #endif

    #if UNITY_IPHONE && !UNITY_EDITOR
        HeyzapAdsIOS.showMediationTestSuite();
    #endif
    }
Exemplo n.º 2
0
    public static void hideDebugLogs()
    {
    #if UNITY_ANDROID
        HeyzapAdsAndroid.hideDebugLogs();
    #endif

    #if UNITY_IPHONE && !UNITY_EDITOR
        HeyzapAdsIOS.hideDebugLogs();
    #endif
    }
Exemplo n.º 3
0
 public static Boolean isNetworkInitialized(string network)
 {
 #if UNITY_ANDROID
     return(HeyzapAdsAndroid.isNetworkInitialized(network));
 #elif UNITY_IPHONE && !UNITY_EDITOR
     return(HeyzapAdsIOS.isNetworkInitialized(network));
 #else
     return(false);
 #endif
 }
Exemplo n.º 4
0
 public static Boolean onBackPressed()
 {
 #if UNITY_ANDROID
     return(HeyzapAdsAndroid.onBackPressed());
 #elif UNITY_IPHONE && !UNITY_EDITOR
     return(HeyzapAdsIOS.onBackPressed());
 #else
     return(false);
 #endif
 }
Exemplo n.º 5
0
    public static void start(string publisher_id, int options)
    {
    #if UNITY_ANDROID
        HeyzapAdsAndroid.start(publisher_id, options);
    #endif

    #if UNITY_IPHONE
        HeyzapAdsIOS.start(publisher_id, options);
    #endif

        HeyzapAds.initReceiver();
        HZInterstitialAd.initReceiver();
        HZVideoAd.initReceiver();
        HZIncentivizedAd.initReceiver();
    }
Exemplo n.º 6
0
 public static void resumeExpensiveWork()
 {
 #if UNITY_IPHONE && !UNITY_EDITOR
     HeyzapAdsIOS.resumeExpensiveWork();
 #endif
 }