OOPulseAdError

Objective-C

enum OOPulseAdError : NSInteger {}

Swift

enum OOPulseAdError : Int, @unchecked Sendable

Potential errors encountered trying to play an ad. When an error occurs, pass in the appropriate message in -[OOPulseVideoAd adFailedWithError:] or -[OOPulsePauseAd adFailedWithError:], depending on the type of ad the error occurred on.

  • The request for the ad’s media file did not return a valid response.

    Declaration

    Objective-C

    OOPulseAdErrorRequestFailed = 0

    Swift

    case requestFailed = 0
  • The request for the ad’s media file did not complete, or playback timed out.

    Declaration

    Objective-C

    OOPulseAdErrorTimedOut

    Swift

    case timedOut = 1
  • The ad did not contain any supported media file formats.

    Declaration

    Objective-C

    OOPulseAdErrorNoSupportedMediaFile

    Swift

    case noSupportedMediaFile = 2
  • The video player could not display the ad’s media file.

    Declaration

    Objective-C

    OOPulseAdErrorCouldNotPlay

    Swift

    case couldNotPlay = 3
  • The ad type (OOPulsePauseAd, OOPulseVideoAd etc.) is not supported

    Declaration

    Objective-C

    OOPulseAdErrorNotSupported

    Swift

    case notSupported = 4