java.lang.Object | |
↳ | com.inmobi.ads.listeners.NativeAdEventListener |
A listener for receiving notifications during the lifecycle of a Native ad.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called to notify ad was clicked.
| |||||||||||
Called to notify that the ad opened an overlay that covers the screen.
| |||||||||||
Called to notify that the ad will open an overlay that covers the screen.
| |||||||||||
Called to notify impression has been recorded for this ad.
| |||||||||||
Called to notify that a native ad failed to load.
| |||||||||||
Called to indicate that an ad was loaded and it can now be shown.
| |||||||||||
Called to indicate that an ad is available in response to a request for an ad (by calling
load() . | |||||||||||
Called to notify that the ad status has changed.
| |||||||||||
Called to notify when the request payload is created
| |||||||||||
Called to notify when the request payload creation fails
| |||||||||||
Called to notify that the user is about to leave the application as a result of interacting with it.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Called to notify ad was clicked. Note:Override this method to notify click to the Mediation Adapter.
ad | Represents the InMobiNative ad which was clicked
|
---|
ad | Represents the InMobiNative ad whose fullscreen was dismissed
|
---|
Called to notify that the ad opened an overlay that covers the screen.
ad | Represents the InMobiNative ad whose fullscreen will be displayed
|
---|
Called to notify that the ad will open an overlay that covers the screen.
ad | Represents the InMobiNative ad which will go fullscreen
|
---|
Called to notify impression has been recorded for this ad. Note:Override this method to notify viewable impression to the Mediation Adapter.
ad | Represents the InMobiNative ad for which impression is recorded.
|
---|
Called to notify that a native ad failed to load.
ad | Represents the InMobiNative ad which failed to load |
---|---|
requestStatus | Represents the InMobiAdRequestStatus status containing error reason
|
Called to indicate that an ad was loaded and it can now be shown. This will always be called
after the onAdReceived(InMobiNative)
callback.
ad | Represents the InMobiNative ad which was loaded
|
---|
Called to indicate that an ad is available in response to a request for an ad (by calling
load()
.
Note This does not
indicate that the ad can be shown yet. Your code should show an ad after the
onAdLoadSucceeded(InMobiNative)
method is called. Alternately, if you do not
want to handle this event, you must test if the ad is ready to be shown by checking the
result of calling the isReady()
method.
ad | Represents the InMobiNative ad for which ad content was received
|
---|
Called to notify that the ad status has changed.
nativeAd | Represents the InMobiNative ad
|
---|
Called to notify when the request payload is created
requestPayload | Represents the request payload |
---|
Called to notify when the request payload creation fails
status | Represents the InMobiAdRequestStatus status containing error reason
|
---|
Called to notify that the user is about to leave the application as a result of interacting with it.
ad | Represents the InMobiNative ad
|
---|