meson-wrap / ai.meson.sdk / MesonBidFetchListener / onBidFetchCompleted
onBidFetchCompleted
abstract fun onBidFetchCompleted(error: Error?, bidInfo: JSONObject?): Unit
On bid fetch completed - callback to be given with the response in case of success
or
appropriate error message in case of failure
Parameters
error
-
- instance of Error denotes whether bid fetch is success or failure.
In case of bid-fetch failure , it will be non-null containing the reason of failure
In case of bid-fetch Success, it will be null.
bidInfo
-
- The actual bid received from the server.
In case of bid-fetch failure, it will be null,
In case of bid-fetch success, it will be non-null