Type Function Return value none Revision 2017.3060 Keywords ads, advertising, AdBuddiz, rewarded video, fetch See also adbuddiz.RewardedVideo_isReadyToShow() adbuddiz.RewardedVideo_show() adbuddiz.*
Fetches the next rewarded video ad. Should be called each time before calling adbuddiz.RewardedVideo_show(). Notifies the rewarded video listener via the "didFetch"
event value when the video is fetched.
adbuddiz.RewardedVideo_fetch()
local function listenerRewardedVideo( event ) if event.value == "didFetch" then -- The video has been fetched end end Runtime:addEventListener( "AdBuddizRewardedVideoEvent", listenerRewardedVideo ) adbuddiz.RewardedVideo_fetch()