No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UnityAdsLoadDelegate.h 957B

1234567891011121314151617181920212223242526
  1. #import <UnityAds/UnityAdsLoadError.h>
  2. NS_ASSUME_NONNULL_BEGIN
  3. /**
  4. * The `UnityAdsLoadDelegate` protocol defines the required methods for receiving messages from UnityAds.load() method.
  5. */
  6. @protocol UnityAdsLoadDelegate <NSObject>
  7. /**
  8. * Callback triggered when a load request has successfully filled the specified placementId with an ad that is ready to show.
  9. *
  10. * @param placementId The ID of the placement as defined in Unity Ads admin tools.
  11. */
  12. - (void)unityAdsAdLoaded: (NSString *)placementId;
  13. /**
  14. * Called when load request has failed to load an ad for a requested placement.
  15. * @param placementId The ID of the placement as defined in Unity Ads admin tools.
  16. * @param error UnityAdsLoadError
  17. * @param message A human readable error message
  18. */
  19. - (void)unityAdsAdFailedToLoad: (NSString *)placementId
  20. withError: (UnityAdsLoadError)error
  21. withMessage: (NSString *)message;
  22. @end
  23. NS_ASSUME_NONNULL_END