getHistoryTranslationMessageList method
Get the list of all history translation messages in a session.
If the function succeeds, the return value is a list of all history translation messages in a session.
Otherwise it fails, and the return value is NULL.
Implementation
@override
Future<List<ZoomVideoSdkLiveTranscriptionMessageInfo>?> getHistoryTranslationMessageList() async {
var messageInfoListString = await methodChannel
.invokeMethod<String?>('getHistoryTranslationMessageList')
.then<String?>((String? value) => value);
var messageInfoListJson = jsonDecode(messageInfoListString!) as List;
List<ZoomVideoSdkLiveTranscriptionMessageInfo> messageInfoList = messageInfoListJson
.map((messageJson) =>
ZoomVideoSdkLiveTranscriptionMessageInfo.fromJson(messageJson))
.toList();
return messageInfoList;
}