meson-wrap / ai.meson.sdk / MesonAdFetchListener / onComplete
onComplete
abstract fun onComplete(obj: T, error: Error?): Unit
Callback to be given with null in case of success or an appropriate error message in case of failure
Parameters
obj
-
- instance of any publisher Object on which keyword handling is done.
error
-
- instance of Error denotes whether bid fetch is success or failure.
In case of failure , it will be non-null containing the reason of failure
In case of Success, it will be null.