onMatchResult

fun onMatchResult(matchID: String, img: ByteArray)

Callback for when the server answers to a match request with a match.

Updates captureViewModel with matchID, then starts the ResultsActivity

Parameters

matchID

The ID of the match

img

The cropped image of the match