getStatus method
Via this command the current status of the Move operation can be requested. Supported for this command is available if the support for the Move operation is signalled via GetMoveOptions.
Access Class: READ_MEDIA
Implementation
Future<ImagingStatus20> getStatus(String videoSourceToken) async {
loggy.debug('getStatus');
final responseEnvelope = await transport.securedRequest(
uri,
soap.Body(
request: ImagingRequest.getStatus(videoSourceToken),
));
if (responseEnvelope.body.hasFault) {
throw Exception(responseEnvelope.body.fault.toString());
}
return GetStatusResponse.fromJson(responseEnvelope.body.response!)
.imagingStatus20;
}