InMobi WP7 SDK
 All Classes Namespaces Functions Variables Enumerations Properties Events
Classes | Enumerations | Functions
Package InMobi.WpSdk

Classes

class  IMAdRequest
 IMAdRequest is used to provide extra information when fetching ads. It is primarily used for better targeting of ads and to set the test mode. More...
class  UserInfo
 Optional information that will be sent (if set) for increased targeting of the ad. More...
class  SDKUtility
 InMobi SDK utility class. More...
class  UserLatLong
 GPS Location of the device that can be used to increase targeting of the ad. More...
class  UserLocation
 Device location information that can be used to increase targeting of the ad. More...
class  IMAdView
 Control that displays a banner or text ad from the InMobi ad server. This control will automatically refresh the Ad after interval set by RefreshInterval property. More...

Enumerations

enum  IMAdAnimationType {
  NONE, CURL_UP, SLIDE_IN_LEFT, SLIDE_IN_RIGHT,
  CURL_DOWN, FLIP_FROM_LEFT, FLIP_FROM_RIGHT, FADE_OUT
}
 Specifies the type of Ad Animation. More...
enum  LogLevels {
  IMLogLevelNone = 0, IMLogLevelDebug = 1, IMLogLevelMinimal = 2, IMLogLevelCritical = 3,
  IMLogLevelError = 4
}
 Describe the log level. More...
enum  ErrorCode {
  AD_CLICK_IN_PROGRESS, NO_FILL, AD_DOWNLOAD_IN_PROGRESS, INTERNAL_ERROR,
  INVALID_REQUEST, NETWORK_ERROR, PHONEDIALER_ERROR, DEVICEIDENTITY_ERROR
}
 Enum for all types of ErrorCodes. More...
enum  GenderType { None, Male, Female }
 Specifies the type of gender. More...
enum  EthnicityType {
  None, Mixed, Asian, Black,
  Hispanic, NativeAmerican, White, Other
}
 Type of ethnicity. More...
enum  EducationType {
  None, HighSchool, SomeCollege, InCollege,
  BachelorsDegree, MastersDegree, DoctoralDegree, Other
}
 Type of education. More...

Functions

delegate void AdRequestSuccessHandler (IMAdView IMAdView, IMAdViewSuccessEventArgs e)
 Delegate signatures for Success Handler.
delegate void AdRequestErrorHandler (IMAdView IMAdView, IMAdViewErrorEventArgs e)
 Delegate signatures for Error Handler.

Enumeration Type Documentation

Type of education.

Enumerator:
None 

The education type is None.

HighSchool 

The education type is HighSchool.

SomeCollege 

The education type is SomeCollege.

InCollege 

The education type is InCollege.

BachelorsDegree 

The education type is BachelorsDegree.

MastersDegree 

The education type is MastersDegree.

DoctoralDegree 

The education type is DoctoralDegree.

Other 

The education type is Other.

Enum for all types of ErrorCodes.

Enumerator:
AD_CLICK_IN_PROGRESS 

An ad click is in progress.

NO_FILL 

The ad request was successful, but no ad was returned due to lack of inventory.

AD_DOWNLOAD_IN_PROGRESS 

An ad request is in progress.

INTERNAL_ERROR 

An error occurred while fetching the ad.

INVALID_REQUEST 

Invalid request error could be due to an invalid appId, or the appId might not be in the Active state.

NETWORK_ERROR 

A network error occurred.

PHONEDIALER_ERROR 

A phone dialer error occured.

DEVICEIDENTITY_ERROR 

A device identity error.

Type of ethnicity.

Enumerator:
None 

The ethnicity type is None.

Mixed 

The ethnicity type is Mixed.

Asian 

The ethnicity type is Asian.

Black 

The ethnicity type is Black.

Hispanic 

The ethnicity type is Hispanic.

NativeAmerican 

The ethnicity type is Native American.

White 

The ethnicity type is White.

Other 

The ethnicity type is Other.

Specifies the type of gender.

Enumerator:
None 

The gender type is none.

Male 

The gender type is male.

Female 

The gender type is female.

Specifies the type of Ad Animation.

Enumerator:
NONE 

Specifies that there is no animation.

CURL_UP 

Specifies the curl up animation.

SLIDE_IN_LEFT 

Specifies the slide in left animation.

SLIDE_IN_RIGHT 

Specifies the slide in right animation.

CURL_DOWN 

Specifies the curl down animation.

FLIP_FROM_LEFT 

Specifies the flip from left animation.

FLIP_FROM_RIGHT 

Specifies the flip from right animation.

FADE_OUT 

Specifies the fade out animation.

Describe the log level.

Enumerator:
IMLogLevelNone 

The log level is None.

IMLogLevelDebug 

The log level is Debug.

IMLogLevelMinimal 

The log level is Minimal.

IMLogLevelCritical 

The log level is Critical.

IMLogLevelError 

The log level is Error.


Function Documentation

delegate void InMobi.WpSdk.AdRequestErrorHandler ( IMAdView  IMAdView,
IMAdViewErrorEventArgs  e 
)

Delegate signatures for Error Handler.

Parameters:
IMAdViewThe IMAdview container containing the Ad
eObject containing the ErrorCode and ErrorDescription
delegate void InMobi.WpSdk.AdRequestSuccessHandler ( IMAdView  IMAdView,
IMAdViewSuccessEventArgs  e 
)

Delegate signatures for Success Handler.

Parameters:
IMAdViewThe IMAdview container containing the Ad
eObject containing the ResponseCode and ResponseDescription
 All Classes Namespaces Functions Variables Enumerations Properties Events