AdropRewardedAd

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


Constructors

AdropRewardedAd

AdropRewardedAd(unitId: string)

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


Properties

isLoaded: boolean

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

unitId: string

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

listener: AdropListener?

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


Methods

load: () -> void

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

show: () -> void

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

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

destroy: () -> void

๋ฉ”๋ชจ๋ฆฌ ํ•ด์ œ๋ฅผ ์œ„ํ•ด ๊ด‘๊ณ ๋ฅผ Destroyํ•ฉ๋‹ˆ๋‹ค.

Last updated