public final class InMobiAdRequestStatus
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
InMobiAdRequestStatus.StatusCode
Collection of codes indicating the status of an ad request.
|
Constructor and Description |
---|
InMobiAdRequestStatus(InMobiAdRequestStatus.StatusCode statusCode) |
Modifier and Type | Method and Description |
---|---|
java.lang.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(java.lang.String message)
If a custom message has to to be used for the above request codes
|
public InMobiAdRequestStatus(InMobiAdRequestStatus.StatusCode statusCode)
statusCode
- public InMobiAdRequestStatus setCustomMessage(java.lang.String message)
message
- public InMobiAdRequestStatus.StatusCode getStatusCode()
public java.lang.String getMessage()