deleteRecordingJob method
DeleteRecordingJob removes a recording job. It shall also implicitly delete all the receiver objects associated with the recording job that are automatically created using the AutoCreateReceiver field of the recording job configuration structure and are not used in any other recording job.
ACCESS CLASS: READ_MEDIA
Implementation
Future<bool> deleteRecordingJob(String jobToken) async {
loggy.debug('deleteRecordingJob');
final responseEnvelope = await transport.securedRequest(
uri,
soap.Body(
request: RecordingsRequest.deleteRecording(jobToken),
));
if (responseEnvelope.body.hasFault) {
throw Exception(responseEnvelope.body.fault.toString());
}
return true;
}