public interface AppLovinAdLoadListener
| Modifier and Type | Method and Description |
|---|---|
void |
adReceived(AppLovinAd ad)
This method is called when a new ad has been received.
|
void |
failedToReceiveAd(int errorCode)
This method is called when an ad could not be retrieved from the server.
|
void adReceived(AppLovinAd ad)
This method is invoked on the UI thread.
ad - Newly received ad. Guaranteed not to be null.void failedToReceiveAd(int errorCode)
This method is invoked on the UI thread
Common error codes are: 204 -- no ad is available 5xx -- internal server error negative number -- internal errors
errorCode - An error code recieved from the server. Common error codes are defined in AppLovinErrorCodes.