captureJsonObjectRequest

private fun captureJsonObjectRequest(serverURL: String, json: JSONObject, cb: CaptureRequestCallback): JsonObjectRequest

Create a JSONObjectRequest that sends a match request to the server.

Return

A JSONObjectRequest that sends a match request to the server.

Parameters

serverURL

The server URL to send the request to.

json

The JSONObject to be sent.

cb

The CaptureRequestCallback object to be notified about the match status.