searchAvailSdk

fun searchAvailSdk(success: (JSONReader) -> Unit, failure: (Int, String?, Throwable?) -> Unit)

Search for the Avail SDK artifact, avail.

Parameters

success

Accepts the JSONReader that contains the response.

failure

Accepts the HttpURLConnection.getResponseCode and nullable HttpURLConnection.responseMessage and nullable Throwable in the event of a failure.