| com.applovin.sdk.AppLovinPostbackListener |
Defines a listener which will be notified upon completion of a postback requested via AppLovinPostbackService.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onPostbackFailure(String url, int errorCode)
Indicates that a postback dispatched to a given URL has failed.
| ||||||||||
| abstract void |
onPostbackSuccess(String url)
Indicates that a postback dispatched to a given URL completed successfully.
| ||||||||||
Indicates that a postback dispatched to a given URL has failed.
We define failed as having received a response code outside the 2XX range, or having been unable to establish a connection.
| url | URL which was notified. |
|---|---|
| errorCode | HTTP status code received, if any; otherwise a negative constant. |
Indicates that a postback dispatched to a given URL completed successfully.
We define success as having received a 2XX response code from the remote endpoint.
| url | URL which was notified. |
|---|