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