WebexConnectJSONResponseHandler

A type alias for a callback function that handles the JSON response of a Webex connection.

A type alias for a callback function that handles the JSON response from the Webex connect platform.

Syntax: typealias WebexConnectJsonResponseHandler = (jsonObject: JSONObject, exception: WebexConnectException?) -> Unit

Parameters

ParametersTypeDescription
jsonObjectJSONObjectA JSONObject representing the response data.
exceptionWebexConnectExceptionAn optional WebexConnectException may be passed to the callback if an error occurs.