C# Class TapIt_Win8.AdViewBase

Datei anzeigen Open project: tapit/TapIt-Windows-SDK

Protected Properties

Property Type Description
_adtype AdType
_visible Visibility

Public Methods

Method Description
AdViewBase ( ) : System
DeviceOrientationChanged ( PageOrientation DisplayOrientations ) : void
Load ( bool bRaiseError = true ) : Task
OnInAppBrowserClosed ( object obj ) : void

Protected Methods

Method Description
OnContentLoad ( object sender, NavigationEventArgs e ) : void
OnControlLoad ( object sender, RoutedEventArgs e ) : void
OnError ( string errorMsg, Exception ex = null ) : void

//The event-invoking method that derived classes can override. // The helper function to raise error event.

OnNavigatingToInAppBrowser ( string uri ) : void

Private Methods

Method Description
GetAdSrvURL ( ) : Task

Method Details

AdViewBase() public method

public AdViewBase ( ) : System
return System

DeviceOrientationChanged() public method

public DeviceOrientationChanged ( PageOrientation DisplayOrientations ) : void
DisplayOrientations PageOrientation
return void

Load() public method

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

OnContentLoad() protected method

protected OnContentLoad ( object sender, NavigationEventArgs e ) : void
sender object
e NavigationEventArgs
return void

OnControlLoad() protected method

protected OnControlLoad ( object sender, RoutedEventArgs e ) : void
sender object
e RoutedEventArgs
return void

OnError() protected method

//The event-invoking method that derived classes can override. // The helper function to raise error event.
protected OnError ( string errorMsg, Exception ex = null ) : void
errorMsg string
ex System.Exception
return void

OnInAppBrowserClosed() public method

public OnInAppBrowserClosed ( object obj ) : void
obj object
return void

OnNavigatingToInAppBrowser() protected method

protected OnNavigatingToInAppBrowser ( string uri ) : void
uri string
return void

Property Details

_adtype protected_oe property

protected AdType _adtype
return AdType

_visible protected_oe property

protected Visibility _visible
return Visibility