getRecordingSearchResults method
Implementation
Future<List<FindRecordingResult>> getRecordingSearchResults(
String searchToken, {
int? minResults,
int? maxResults,
String? waitTime,
}) async {
loggy.debug('getRecordingSearchResults');
final envelope = await transport.sendRequest(
uri,
transport.securedEnvelope(soap.SearchRequest.getRecordingSearchResults(
searchToken,
minResults: minResults,
maxResults: maxResults,
waitTime: waitTime,
)));
if (envelope.body.hasFault) {
throw Exception(envelope.body.fault.toString());
}
return GetRecordingSearchResultsResponse.fromJson(envelope.body.response!)
.findRecordingResults;
}