getRecordingInformation method
Returns information about a single Recording specified by a RecordingToken. This operation is mandatory to support for a device implementing the recording search service.
ACCESS CLASS: READ_MEDIA
Implementation
Future<RecordingInformation> getRecordingInformation(
String recordingToken) async {
loggy.debug('getRecordingInformation');
final responseEnvelope = await transport.securedRequest(
uri,
soap.Body(
request: SearchRequest.getRecordingInformation(recordingToken),
));
if (responseEnvelope.body.hasFault) {
throw Exception(responseEnvelope.body.fault.toString());
}
return GetRecordingInformationResponse.fromJson(
responseEnvelope.body.response!)
.recordingInformation;
}