AI-generated Key Takeaways
-
IMAErrorType is an enum in iOS that defines possible error types when loading or playing ads.
-
kIMAAdUnknownErrorTypeindicates an unexpected error during ad loading or playback, potentially due to improper SDK loading. -
kIMAAdLoadingFailedsignifies an error specifically during the ad loading process. -
kIMAAdPlayingFailedpoints to an error that occurred while attempting to play the ads.
IMAErrorType
enum IMAErrorType : NSInteger {}Possible error types while loading or playing ads.
-
An unexpected error occurred while loading or playing the ads. This may mean that the SDK wasn’t loaded properly.
Declaration
Swift
case adUnknownErrorType = 0Objective-C
kIMAAdUnknownErrorType -
An error occurred while loading the ads.
Declaration
Swift
case adLoadingFailed = 1Objective-C
kIMAAdLoadingFailed -
An error occurred while playing the ads.
Declaration
Swift
case adPlayingFailed = 2Objective-C
kIMAAdPlayingFailed