AdropInterstitialAdDelegate

protocol AdropInterstitialAdDelegate {
    @objc func onAdReceived(_ ad: AdropInterstitialAd)
    @objc func onAdFailedToReceive(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)
    
    @objc optional func onAdImpression(_ ad: AdropInterstitialAd)
    @objc optional func onAdClicked(_ ad: AdropInterstitialAd)
    
    @objc optional func onAdWillPresentFullScreen(_ ad: AdropInterstitialAd)
    @objc optional func onAdDidPresentFullScreen(_ ad: AdropInterstitialAd)
    @objc optional func onAdWillDismissFullScreen(_ ad: AdropInterstitialAd)
    @objc optional func onAdDidDismissFullScreen(_ ad: AdropInterstitialAd)
    @objc optional func onAdFailedToShowFullScreen(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)
}

AdropInterstitialAd์— ์˜ํ•ด ํŠธ๋ฆฌ๊ฑฐ๋  ์ฝœ๋ฐฑ์„ ์ •์˜ํ•˜๋Š” ํ”„๋กœํ† ์ฝœ์ž…๋‹ˆ๋‹ค.


Public functions

func onAdReceived(_ ad: AdropInterstitialAd)

func onAdReceived(_ ad: AdropInterstitialAd)

์ด ๋ฉ”์†Œ๋“œ๋Š” AdropInterstitialAd๊ฐ€ ๊ด‘๊ณ ๋ฅผ ์ˆ˜์‹ ํ•  ๋•Œ UI ์Šค๋ ˆ๋“œ์—์„œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

func onAdFailedToReceive(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)

func onAdFailedToReceive(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)

์ด ๋ฉ”์†Œ๋“œ๋Š” AdropInterstitialAd๊ฐ€ ๊ด‘๊ณ  ์ˆ˜์‹ ์— ์‹คํŒจํ–ˆ์„ ๋•Œ UI ์Šค๋ ˆ๋“œ์—์„œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

func onAdClicked(_ ad: AdropInterstitialAd)

func onAdClicked(_ ad: AdropInterstitialAd)

์ด ๋ฉ”์†Œ๋“œ๋Š” AdropInterstitialAd๊ฐ€ ํด๋ฆญ ๋˜์—ˆ์„ ๋•Œ UI ์Šค๋ ˆ๋“œ์—์„œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

func onAdImpression(_ ad: AdropInterstitialAd)

func onAdClicked(_ ad: AdropInterstitialAd)

์ด ๋ฉ”์†Œ๋“œ๋Š” AdropInterstitialAd๋ฅผ ํ‘œ์‹œํ•  ๋•Œ UI ์Šค๋ ˆ๋“œ์—์„œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

func onAdWillPresentFullScreen(_ ad: AdropInterstitialAd)

func onAdWillPresentFullScreen(_ ad: AdropInterstitialAd)

์ด ๋ฉ”์†Œ๋“œ๋Š” AdropInterstitialAd๊ฐ€ ๋‚˜ํƒ€๋‚˜๊ธฐ ์ „ UI ์Šค๋ ˆ๋“œ์—์„œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

func onAdDidPresentFullScreen(_ ad: AdropInterstitialAd)

func onAdDidPresentFullScreen(_ ad: AdropInterstitialAd)

์ด ๋ฉ”์†Œ๋“œ๋Š” AdropInterstitialAd๊ฐ€ ๋‚˜ํƒ€๋‚  ๋•Œ UI ์Šค๋ ˆ๋“œ์—์„œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

func onAdWillDismissFullScreen(_ ad: AdropInterstitialAd)

func onAdWillDismissFullScreen(_ ad: AdropInterstitialAd)

์ด ๋ฉ”์†Œ๋“œ๋Š” AdropInterstitialAd๊ฐ€ ์‚ฌ๋ผ์ง€๊ธฐ ์ „ UI ์Šค๋ ˆ๋“œ์—์„œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

func onAdDidDismissFullScreen(_ ad: AdropInterstitialAd)

func onAdDidDismissFullScreen(_ ad: AdropInterstitialAd)

์ด ๋ฉ”์†Œ๋“œ๋Š” AdropInterstitialAd๊ฐ€ ์‚ฌ๋ผ์กŒ์„ ๋•Œ UI ์Šค๋ ˆ๋“œ์—์„œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

func onAdFailedToShowFullScreen(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)

func onAdFailedToShowFullScreen(_ ad: AdropInterstitialAd, _ errorCode: AdropErrorCode)

์ด ๋ฉ”์†Œ๋“œ๋Š” AdropInterstitialAd๊ฐ€ ๊ด‘๊ณ  ํ‘œ์‹œ์— ์‹คํŒจํ–ˆ์„ ๋•Œ UI ์Šค๋ ˆ๋“œ์—์„œ ํ˜ธ์ถœ๋ฉ๋‹ˆ๋‹ค.

Last updated