-
public interface PurchaseClient.ValidationResultListener<Result extends Object>Purchase Validation listener. Invoked after getting response from AF servers to let developer know if purchase was validated successfully
-
-
Method Summary
Modifier and Type Method Description abstract UnitonResponse(Result result)Invoked when we got 200 OK response from the server (INVALID purchase is considered to be successful response and will be returned to this callback) abstract UnitonFailure(String result, Throwable error)Invoked when we got some network exception or non 200/OK response from the server. -
-
Method Detail
-
onResponse
abstract Unit onResponse(Result result)
Invoked when we got 200 OK response from the server (INVALID purchase is considered to be successful response and will be returned to this callback)
- Parameters:
result- server response
-
-
-
-