def METHOD_NAME(self, results):
    texts = []
    matches = results.getStringArrayList(SpeechResults)
    for match in matches.toArray():
        if isinstance(match, bytes):
            match = match.decode('utf-8')
        texts.append(match)
    if texts and self.partial_result_callback:
        self.partial_result_callback(texts)