stop method

Future<void> stop(
  1. String profileToken, {
  2. bool panTilt = true,
  3. bool zoom = true,
})

Operation to stop ongoing pan, tilt and zoom movements of absolute relative and continuous type. If no stop argument for pan, tilt or zoom is set, the device will stop all ongoing pan, tilt and zoom movements.

Implementation

Future<void> stop(String profileToken,
    {bool panTilt = true, bool zoom = true}) async {
  await Soap.retrieveEnvlope(
      uri,
      onvif.secureRequest(
          SoapRequest.stop(profileToken, panTilt: panTilt, zoom: zoom)));
}