getStatus method
- String videoSourceToken
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.
Implementation
Future<ImagingStatus20> getStatus(String videoSourceToken) async {
loggy.debug('getStatus');
final envelope = await transport.sendRequest(
uri,
transport
.securedEnvelope(soap.ImagingRequest.getStatus(videoSourceToken)));
if (envelope.body.hasFault) {
throw Exception(envelope.body.fault.toString());
}
return GetStatusResponse.fromJson(envelope.body.response!).imagingStatus20;
}