public override string ToString()
 {
     return(Externs.GADUGetResponseInfoDescription(iosResponseInfo));
 }
Exemple #2
0
 // Hides the banner view from the screen.
 public void HideBannerView()
 {
     Externs.GADUHideBannerView(this.BannerViewPtr);
 }
 public void RecordImpression()
 {
     Externs.GADUNativeCustomTemplateAdRecordImpression(this.CustomNativeAdPtr);
 }
 // Sets the user ID to be used in server-to-server reward callbacks.
 public void SetUserId(string userId)
 {
     Externs.GADUSetRewardBasedVideoAdUserId(this.RewardBasedVideoAdPtr, userId);
 }
 // Returns the mediation adapter class name.
 public string MediationAdapterClassName()
 {
     return(Externs.GADUMediationAdapterClassNameForRewardedVideo(this.RewardBasedVideoAdPtr));
 }
Exemple #6
0
 // Set the position of the banner view using standard position.
 public void SetPosition(AdPosition adPosition)
 {
     Externs.GADUSetBannerViewAdPosition(this.BannerViewPtr, (int)adPosition);
 }
Exemple #7
0
 // Returns the mediation adapter class name.
 public string MediationAdapterClassName()
 {
     return(Utils.PtrToString(Externs.GADUMediationAdapterClassNameForBannerView(this.BannerViewPtr)));
 }
 // Returns the mediation adapter class name.
 public string MediationAdapterClassName()
 {
     return(Utils.PtrToString(
                Externs.GADUMediationAdapterClassNameForRewardedAd(this.RewardedAdPtr)));
 }
 // Show the rewarded interstitial ad on the screen.
 public void Show()
 {
     Externs.GADUShowRewardedInterstitialAd(this.rewardedInterstitialAdPtr);
 }
 // Returns the mediation adapter class name.
 public string MediationAdapterClassName()
 {
     return(Externs.GADUMediationAdapterClassNameForInterstitial(this.InterstitialPtr));
 }
 // Show the rewarded ad on the screen.
 public void Show()
 {
     Externs.GADUShowRewardedAd(this.RewardedAdPtr);
 }
 // Presents the interstitial ad on the screen
 public void ShowInterstitial()
 {
     Externs.GADUShowInterstitial(this.InterstitialPtr);
 }
 // Checks if interstitial has loaded.
 public bool IsLoaded()
 {
     return(Externs.GADUInterstitialReady(this.InterstitialPtr));
 }
 public void Dispose()
 {
     Externs.GADURelease(status);
 }
Exemple #15
0
 // Returns the height of the BannerView in pixels.
 public float GetHeightInPixels()
 {
     return(Externs.GADUGetBannerViewHeightInPixels(this.BannerViewPtr));
 }
Exemple #16
0
 public void Initialize(string appId)
 {
     Externs.GADUInitialize(appId);
 }
Exemple #17
0
 // Returns the width of the BannerView in pixels.
 public float GetWidthInPixels()
 {
     return(Externs.GADUGetBannerViewWidthInPixels(this.BannerViewPtr));
 }
Exemple #18
0
 public void Initialize(Action <IInitializationStatusClient> initCompleteAction)
 {
     this.initCompleteAction = initCompleteAction;
     Externs.GADUInitializeWithCallback(this.mobileAdsClientPtr, InitializationCompleteCallback);
 }
Exemple #19
0
 // Set the position of the banner view using custom position.
 public void SetPosition(int x, int y)
 {
     Externs.GADUSetBannerViewCustomPosition(this.BannerViewPtr, x, y);
 }
Exemple #20
0
 public void SetApplicationVolume(float volume)
 {
     Externs.GADUSetApplicationVolume(volume);
 }
 // Show the reward based video on the screen.
 public void ShowRewardBasedVideoAd()
 {
     Externs.GADUShowRewardBasedVideoAd(this.RewardBasedVideoAdPtr);
 }
Exemple #22
0
 public void SetApplicationMuted(bool muted)
 {
     Externs.GADUSetApplicationMuted(muted);
 }
 public bool IsLoaded()
 {
     return(Externs.GADURewardBasedVideoAdReady(this.RewardBasedVideoAdPtr));
 }
Exemple #24
0
 public void SetiOSAppPauseOnBackground(bool pause)
 {
     Externs.GADUSetiOSAppPauseOnBackground(pause);
 }
Exemple #25
0
 // Displays the banner view on the screen.
 public void ShowBannerView()
 {
     Externs.GADUShowBannerView(this.BannerViewPtr);
 }
Exemple #26
0
 public float GetDeviceScale()
 {
     return(Externs.GADUDeviceScale());
 }
Exemple #27
0
 // Destroys the banner view.
 public void DestroyBannerView()
 {
     Externs.GADURemoveBannerView(this.BannerViewPtr);
     this.BannerViewPtr = IntPtr.Zero;
 }
Exemple #28
0
 public int GetDeviceSafeWidth()
 {
     return(Externs.GADUDeviceSafeWidth());
 }
 public string GetTemplateId()
 {
     return(Externs.GADUNativeCustomTemplateAdTemplateID(this.CustomNativeAdPtr));
 }
 public ResponseInfoClient(IntPtr adFormat)
 {
     this.adFormat   = adFormat;
     iosResponseInfo = Externs.GADUGetResponseInfo(adFormat);
 }