/// <summary> /// (Android only) Call this method in your back button pressed handler to make sure the back button does what the user should expect when ads are showing. /// </summary> /// <returns><c>true</c>, if Heyzap handled the back button press (in which case your code should not do anything else), and <c>false</c> if Heyzap did not handle the back button press (in which case your app may want to do something).</returns> public static Boolean OnBackPressed() { #if UNITY_ANDROID return(HeyzapAdsAndroid.OnBackPressed()); #elif UNITY_IPHONE && !UNITY_EDITOR return(HeyzapAdsIOS.OnBackPressed()); #else return(false); #endif }
// Token: 0x06000077 RID: 119 RVA: 0x00002F80 File Offset: 0x00001180 public static bool OnBackPressed() { return(HeyzapAdsAndroid.OnBackPressed()); }