AdropRewardedAdDelegate

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

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


Public functions

func onAdReceived(_ ad: AdropRewardedAd)

func onAdReceived(_ ad: AdropRewardedAd)

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

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

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

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

func onAdClicked(_ ad: AdropRewardedAd)

func onAdClicked(_ ad: AdropRewardedAd)

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

func onAdImpression(_ ad: AdropRewardedAd)

func onAdClicked(_ ad: AdropRewardedAd)

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

func onAdWillPresentFullScreen(_ ad: AdropRewardedAd)

func onAdWillPresentFullScreen(_ ad: AdropRewardedAd)

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

func onAdDidPresentFullScreen(_ ad: AdropRewardedAd)

func onAdDidPresentFullScreen(_ ad: AdropRewardedAd)

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

func onAdWillDismissFullScreen(_ ad: AdropRewardedAd)

func onAdWillDismissFullScreen(_ ad: AdropRewardedAd)

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

func onAdDidDismissFullScreen(_ ad: AdropRewardedAd)

func onAdDidDismissFullScreen(_ ad: AdropRewardedAd)

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

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

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

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

Last updated