Platforms to show: All Mac Windows Linux Cross-Platform
Back to GADRewardedInterstitialAdMBS class.
GADRewardedInterstitialAdMBS.canPresent(byref error as NSErrorMBS) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Sets the error out parameter if the ad can't be presented.
Must be called on the main thread.
GADRewardedInterstitialAdMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Please call Load method first to load the ad in background.
Then later, when loadCompleted was called, the Handle is not zero and finally you can call Present to show the ad over the current view controller.
GADRewardedInterstitialAdMBS.Destructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
GADRewardedInterstitialAdMBS.loadWithAdUnitID(adUnitID as String, request as GADRequestMBS = nil)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
adUnitID: An ad unit ID created in the AdMob or Ad Manager UI.
request: An ad request object. If nil, a default ad request object is used.
Calls loadCompleted event later, when the load operation finishes or times out.
GADRewardedInterstitialAdMBS.Present
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Mobile Ads | MBS iOS Plugin | 22.5 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Must be called on the main thread.
The items on this page are in the following plugins: MBS iOS Plugin.