getConfigurationOptions method Null safety
- String configurationToken
List supported coordinate systems including their range limitations. Therefore, the options MAY differ depending on whether the PTZ Configuration is assigned to a Profile containing a Video Source Configuration. In that case, the options may additionally contain coordinate systems referring to the image coordinate system described by the Video Source Configuration. If the PTZ Node supports continuous movements, it shall return a Timeout Range within which Timeouts are accepted by the PTZ Node.
Implementation
Future<PtzConfigurationOptions> getConfigurationOptions(
String configurationToken) async {
loggy.debug('getConfigurationOptions');
final envelope = await transport.sendRequest(
uri,
transport.securedEnvelope(
soap.PtzRequest.getConfigurationOptions(configurationToken)));
if (envelope.body.hasFault) {
throw Exception(envelope.body.fault.toString());
}
return GetConfigurationOptionsResponse.fromJson(envelope.body.response!)
.ptzConfigurationOptions;
}