コード例 #1
0
 public override string ToString()
 {
     return(Externs.GADUGetResponseInfoDescription(iosResponseInfo));
 }
コード例 #2
0
ファイル: BannerClient.cs プロジェクト: ForKuma/Admob-Demo
 // Hides the banner view from the screen.
 public void HideBannerView()
 {
     Externs.GADUHideBannerView(this.BannerViewPtr);
 }
コード例 #3
0
 public void RecordImpression()
 {
     Externs.GADUNativeCustomTemplateAdRecordImpression(this.CustomNativeAdPtr);
 }
コード例 #4
0
 // Sets the user ID to be used in server-to-server reward callbacks.
 public void SetUserId(string userId)
 {
     Externs.GADUSetRewardBasedVideoAdUserId(this.RewardBasedVideoAdPtr, userId);
 }
コード例 #5
0
 // Returns the mediation adapter class name.
 public string MediationAdapterClassName()
 {
     return(Externs.GADUMediationAdapterClassNameForRewardedVideo(this.RewardBasedVideoAdPtr));
 }
コード例 #6
0
 // Set the position of the banner view using standard position.
 public void SetPosition(AdPosition adPosition)
 {
     Externs.GADUSetBannerViewAdPosition(this.BannerViewPtr, (int)adPosition);
 }
コード例 #7
0
 // Returns the mediation adapter class name.
 public string MediationAdapterClassName()
 {
     return(Utils.PtrToString(Externs.GADUMediationAdapterClassNameForBannerView(this.BannerViewPtr)));
 }
コード例 #8
0
 // Returns the mediation adapter class name.
 public string MediationAdapterClassName()
 {
     return(Utils.PtrToString(
                Externs.GADUMediationAdapterClassNameForRewardedAd(this.RewardedAdPtr)));
 }
コード例 #9
0
 // Show the rewarded interstitial ad on the screen.
 public void Show()
 {
     Externs.GADUShowRewardedInterstitialAd(this.rewardedInterstitialAdPtr);
 }
コード例 #10
0
 // Returns the mediation adapter class name.
 public string MediationAdapterClassName()
 {
     return(Externs.GADUMediationAdapterClassNameForInterstitial(this.InterstitialPtr));
 }
コード例 #11
0
 // Show the rewarded ad on the screen.
 public void Show()
 {
     Externs.GADUShowRewardedAd(this.RewardedAdPtr);
 }
コード例 #12
0
 // Presents the interstitial ad on the screen
 public void ShowInterstitial()
 {
     Externs.GADUShowInterstitial(this.InterstitialPtr);
 }
コード例 #13
0
 // Checks if interstitial has loaded.
 public bool IsLoaded()
 {
     return(Externs.GADUInterstitialReady(this.InterstitialPtr));
 }
コード例 #14
0
 public void Dispose()
 {
     Externs.GADURelease(status);
 }
コード例 #15
0
 // Returns the height of the BannerView in pixels.
 public float GetHeightInPixels()
 {
     return(Externs.GADUGetBannerViewHeightInPixels(this.BannerViewPtr));
 }
コード例 #16
0
 public void Initialize(string appId)
 {
     Externs.GADUInitialize(appId);
 }
コード例 #17
0
 // Returns the width of the BannerView in pixels.
 public float GetWidthInPixels()
 {
     return(Externs.GADUGetBannerViewWidthInPixels(this.BannerViewPtr));
 }
コード例 #18
0
 public void Initialize(Action <IInitializationStatusClient> initCompleteAction)
 {
     this.initCompleteAction = initCompleteAction;
     Externs.GADUInitializeWithCallback(this.mobileAdsClientPtr, InitializationCompleteCallback);
 }
コード例 #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);
 }
コード例 #20
0
 public void SetApplicationVolume(float volume)
 {
     Externs.GADUSetApplicationVolume(volume);
 }
コード例 #21
0
 // Show the reward based video on the screen.
 public void ShowRewardBasedVideoAd()
 {
     Externs.GADUShowRewardBasedVideoAd(this.RewardBasedVideoAdPtr);
 }
コード例 #22
0
 public void SetApplicationMuted(bool muted)
 {
     Externs.GADUSetApplicationMuted(muted);
 }
コード例 #23
0
 public bool IsLoaded()
 {
     return(Externs.GADURewardBasedVideoAdReady(this.RewardBasedVideoAdPtr));
 }
コード例 #24
0
 public void SetiOSAppPauseOnBackground(bool pause)
 {
     Externs.GADUSetiOSAppPauseOnBackground(pause);
 }
コード例 #25
0
ファイル: BannerClient.cs プロジェクト: ForKuma/Admob-Demo
 // Displays the banner view on the screen.
 public void ShowBannerView()
 {
     Externs.GADUShowBannerView(this.BannerViewPtr);
 }
コード例 #26
0
 public float GetDeviceScale()
 {
     return(Externs.GADUDeviceScale());
 }
コード例 #27
0
ファイル: BannerClient.cs プロジェクト: ForKuma/Admob-Demo
 // Destroys the banner view.
 public void DestroyBannerView()
 {
     Externs.GADURemoveBannerView(this.BannerViewPtr);
     this.BannerViewPtr = IntPtr.Zero;
 }
コード例 #28
0
 public int GetDeviceSafeWidth()
 {
     return(Externs.GADUDeviceSafeWidth());
 }
コード例 #29
0
 public string GetTemplateId()
 {
     return(Externs.GADUNativeCustomTemplateAdTemplateID(this.CustomNativeAdPtr));
 }
コード例 #30
0
 public ResponseInfoClient(IntPtr adFormat)
 {
     this.adFormat   = adFormat;
     iosResponseInfo = Externs.GADUGetResponseInfo(adFormat);
 }