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.

UnityAdsPlacementState.h 1.3KB

123456789101112131415161718192021222324252627282930
  1. #import <Foundation/Foundation.h>
  2. /**
  3. * An enumerate that describes the state of `UnityAds` placements.
  4. * @note All placement states, other than `kUnityAdsPlacementStateReady`, indicate that the placement is not currently ready to show ads.
  5. */
  6. typedef NS_ENUM (NSInteger, UnityAdsPlacementState) {
  7. /**
  8. * A state that indicates that the placement is ready to show an ad. The `show:` selector can be called.
  9. */
  10. kUnityAdsPlacementStateReady,
  11. /**
  12. * A state that indicates that no state is information is available.
  13. * @warning This state can that UnityAds is not initialized or that the placement is not correctly configured in the Unity Ads admin tool.
  14. */
  15. kUnityAdsPlacementStateNotAvailable,
  16. /**
  17. * A state that indicates that the placement is currently disabled. The placement can be enabled in the Unity Ads admin tools.
  18. */
  19. kUnityAdsPlacementStateDisabled,
  20. /**
  21. * A state that indicates that the placement is not currently ready, but will be in the future.
  22. * @note This state most likely indicates that the ad content is currently caching.
  23. */
  24. kUnityAdsPlacementStateWaiting,
  25. /**
  26. * A state that indicates that the placement is properly configured, but there are currently no ads available for the placement.
  27. */
  28. kUnityAdsPlacementStateNoFill
  29. };