C# Class TapIt_Win8.BannerAdView

Inheritance: AdView
Datei anzeigen Open project: tapit/TapIt-Windows-SDK Class Usage Examples

Public Methods

Method Description
BannerAdView ( ) : System
DeviceOrientationChanged ( PageOrientation pageOrientation ) : void

orientation change

Load ( bool bRaiseError = true ) : Task
SetBannerAdSize ( BannerAdtype bannerAdtype ) : void
_storyboard_Completed ( object sender, EventArgs e ) : void

Protected Methods

Method Description
SetAdSize ( int width, int height ) : void

set size for ad - to support multiple sizes for banner ad

Private Methods

Method Description
RotateBannerAd ( ) : void

animation for banner ad

SetControlHeight ( int height ) : void
dispatcherTimer_Tick ( object sender, EventArgs e ) : void

Method Details

BannerAdView() public method

public BannerAdView ( ) : System
return System

DeviceOrientationChanged() public method

orientation change
public DeviceOrientationChanged ( PageOrientation pageOrientation ) : void
pageOrientation PageOrientation
return void

Load() public method

public Load ( bool bRaiseError = true ) : Task
bRaiseError bool
return Task

SetAdSize() protected method

set size for ad - to support multiple sizes for banner ad
protected SetAdSize ( int width, int height ) : void
width int
height int
return void

SetBannerAdSize() public method

public SetBannerAdSize ( BannerAdtype bannerAdtype ) : void
bannerAdtype BannerAdtype
return void

_storyboard_Completed() public method

public _storyboard_Completed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void