-
public interface ErrorCallbackProject Name: OSMOS-Android-SDK File Name: ErrorCallback
Callback interface for handling Ad Fetcher error scenarios only. On success, the function returns Map<String,Any> as usual. This callback is only invoked when an error occurs.
-
-
Method Summary
-
-
Method Detail
-
onError
abstract Unit onError(String errorCode, String errorMessage, Throwable throwable)
Called when the ad fetch operation encounters an error.
- Parameters:
errorCode- The error code identifying the type of errorerrorMessage- A human-readable description of the errorthrowable- Optional throwable that caused the error (null if not applicable)
-
-
-
-