AI-generated Key Takeaways
-
IMAAdError represents an error that occurred during ad loading or playing.
-
It provides a
typeproperty to indicate the type of ad loading or playing error. -
It includes a
codeproperty for obtaining more specific information about the error. -
A
messageproperty offers a brief description of the error.
IMAAdError
@interface IMAAdError : NSObjectSurfaces an error that occurred during ad loading or playing.
-
The type of error that occurred during ad loading or ad playing.
Declaration
Swift
var type: IMAErrorType { get }Objective-C
@property (nonatomic, readonly) IMAErrorType type; -
The error code for obtaining more specific information about the error.
Declaration
Swift
var code: IMAErrorCode { get }Objective-C
@property (nonatomic, readonly) IMAErrorCode code; -
A brief description about the error.
Declaration
Swift
var message: String? { get }Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *message;