AdropInterstitialAd

Interstitial ad class๋Š” ์ „๋ฉด ๊ด‘๊ณ ๋ฅผ ์š”์ฒญํ•˜๊ณ  ์‚ฌ์šฉ์ž์—๊ฒŒ ๋…ธ์ถœํ•ฉ๋‹ˆ๋‹ค.


Constructors

AdropInterstitialAd

AdropInterstitialAd({
    required String unitId,
    AdropInterstitialListener? listener,
})

๊ด‘๊ณ  ์œ ๋‹› ID๋ฅผ ํ•„์ˆ˜๋กœ ์ž…๋ ฅํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.


Properties

isLoaded -> bool

๊ด‘๊ณ ๊ฐ€ ์™„์ „ํžˆ ๋กœ๋“œ๋˜์—ˆ๋Š”์ง€ ํ™•์ธ(Determine)ํ•ฉ๋‹ˆ๋‹ค.

unitId -> String

AdropInterstitialAd์˜ ๊ด‘๊ณ  ์œ ๋‹› ID๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค.

listener -> AdropAdListener?

AdropInterstitialAd์—์„œ load ๋˜๋Š” show๊ฐ€ ํ˜ธ์ถœ๋  ๋•Œ ๋ฆฌ์Šค๋„ˆ๋ฅผ ํ˜ธ์ถœํ•ฉ๋‹ˆ๋‹ค.


Methods

load() -> Future<void>

AdropInterstitialAd์˜ ๊ด‘๊ณ  ์œ ๋‹› ID๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ Adrop์—์„œ ๊ด‘๊ณ ๋ฅผ ์š”์ฒญํ•ฉ๋‹ˆ๋‹ค

show() -> Future<void>

AdropInterstitialAd์˜ ๊ด‘๊ณ  ์œ ๋‹› ID๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ Adrop์˜ ๊ด‘๊ณ ๋ฅผ ๋…ธ์ถœํ•ฉ๋‹ˆ๋‹ค.

show๊ฐ€ ํ˜ธ์ถœ๋˜๊ธฐ ์ „์— ์™„์ „ํžˆ ๋กœ๋“œ๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

dispose() -> Future<void>

๋ฉ”๋ชจ๋ฆฌ ํ•ด์ œ๋ฅผ ์œ„ํ•ด ๊ด‘๊ณ ๋ฅผ disposeํ•ด์ฃผ์„ธ์š”.

Last updated