public interface

AppLovinPostbackListener

com.applovin.sdk.AppLovinPostbackListener

Class Overview

Defines a listener which will be notified upon completion of a postback requested via AppLovinPostbackService.

Summary

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.

Public Methods

public abstract void onPostbackFailure (String url, int errorCode)

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.

Parameters
url URL which was notified.
errorCode HTTP status code received, if any; otherwise a negative constant.

public abstract void onPostbackSuccess (String url)

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.

Parameters
url URL which was notified.