getRecordingSummary method
GetRecordingSummary is used to get a summary description of all recorded data. This operation is mandatory to support for a device implementing the recording search service.
Implementation
Future<RecordingSummary> getRecordingSummary() async {
loggy.debug('getRecordingSummary');
final envelope = await transport.sendRequest(uri,
transport.securedEnvelope(soap.SearchRequest.getRecordingSummary()));
if (envelope.body.hasFault) {
throw Exception(envelope.body.fault.toString());
}
return GetRecordingSummaryResponse.fromJson(envelope.body.response!)
.summary;
}