public final class

InMobiAdRequestStatus

extends Object
java.lang.Object
   ↳ com.inmobi.ads.InMobiAdRequestStatus

Class Overview

Class used to encapsulate information when an ad request fails.

Summary

Nested Classes
enum InMobiAdRequestStatus.StatusCode Collection of codes indicating the status of an ad request. 
Public Constructors
InMobiAdRequestStatus(InMobiAdRequestStatus.StatusCode statusCode)
Public Methods
String getMessage()
Use this to get the description of why the ad request failed.
InMobiAdRequestStatus.StatusCode getStatusCode()
Use this to get the status code enum for the failed ad request.
InMobiAdRequestStatus setCustomMessage(String message)
If a custom message has to to be used for the above request codes
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public InMobiAdRequestStatus (InMobiAdRequestStatus.StatusCode statusCode)

Public Methods

public String getMessage ()

Use this to get the description of why the ad request failed.

public InMobiAdRequestStatus.StatusCode getStatusCode ()

Use this to get the status code enum for the failed ad request.

public InMobiAdRequestStatus setCustomMessage (String message)

If a custom message has to to be used for the above request codes