InMobi Windows Phone Ad SDK
|
Control that loads an Interstitial Ad from InMobi Ad server. After loading of interstitial ad has been completed,it can be shown at any time using ShowAd method. More...
Public Member Functions | |
delegate void | IMInterstitialAdRequestErrorHandler (object sender, IMAdInterstitialErrorEventArgs e) |
Delegate signatures for Error Handler | |
IMAdInterstitial (string AppId) | |
The parameterised constructor to set the value of the AppId. | |
void | LoadNewAd (IMAdRequest IMAdRequest) |
Loads the Ad into the Ad Creative. | |
void | LoadNewAd () |
Loads the Ad into the Ad Creative. | |
void | ShowAd () |
Method to show the already loaded interstitial ad.Before calling this method the loading of interstitial Ad must be completed. | |
void | StopLoading () |
Aborts the Ad request | |
Properties | |
string | AppId [get, set] |
InMobi site id. | |
States | State [get] |
Get the current state of the interstitial AdState. | |
Events | |
EventHandler | OnAdRequestLoaded |
Notified when adrequest is successfully loaded | |
IMInterstitialAdRequestErrorHandler | OnAdRequestFailed |
Notified when the adrequest failed to return data. | |
EventHandler | OnShowAdScreen |
Notified when the full screen ad has been opened, but not yet fully loaded | |
EventHandler | OnDismissAdScreen |
Notified when the full screen ad has been closed | |
EventHandler | OnLeaveApplication |
Occurs when control is moving out of the application | |
Control that loads an Interstitial Ad from InMobi Ad server. After loading of interstitial ad has been completed,it can be shown at any time using ShowAd method.
InMobi.WP.AdSDK.IMAdInterstitial.IMAdInterstitial | ( | string | AppId | ) |
The parameterised constructor to set the value of the AppId.
AppId | Site Id assigned at the time of application registration. This can be retrieved by logging into InMobi's self-serve UI at http://www.inmobi.com |
delegate void InMobi.WP.AdSDK.IMAdInterstitial.IMInterstitialAdRequestErrorHandler | ( | object | sender, |
IMAdInterstitialErrorEventArgs | e | ||
) |
Delegate signatures for Error Handler
IMAdInterstitial | The IMAdInterstitial container containing the Ad |
e | Object containing the ErrorCode and ErrorDescription |
void InMobi.WP.AdSDK.IMAdInterstitial.LoadNewAd | ( | IMAdRequest | IMAdRequest | ) |
Loads the Ad into the Ad Creative.
IMAdRequest | IMAdrequest |
void InMobi.WP.AdSDK.IMAdInterstitial.LoadNewAd | ( | ) |
Loads the Ad into the Ad Creative.
void InMobi.WP.AdSDK.IMAdInterstitial.ShowAd | ( | ) |
Method to show the already loaded interstitial ad.Before calling this method the loading of interstitial Ad must be completed.
req |
void InMobi.WP.AdSDK.IMAdInterstitial.StopLoading | ( | ) |
Aborts the Ad request
|
getset |
InMobi site id.
|
get |
Get the current state of the interstitial AdState.
IMInterstitialAdRequestErrorHandler InMobi.WP.AdSDK.IMAdInterstitial.OnAdRequestFailed |
Notified when the adrequest failed to return data.
EventHandler InMobi.WP.AdSDK.IMAdInterstitial.OnAdRequestLoaded |
Notified when adrequest is successfully loaded
EventHandler InMobi.WP.AdSDK.IMAdInterstitial.OnDismissAdScreen |
Notified when the full screen ad has been closed
EventHandler InMobi.WP.AdSDK.IMAdInterstitial.OnLeaveApplication |
Occurs when control is moving out of the application
EventHandler InMobi.WP.AdSDK.IMAdInterstitial.OnShowAdScreen |
Notified when the full screen ad has been opened, but not yet fully loaded