gotoPreset method

Future<void> gotoPreset(
  1. String profileToken,
  2. Preset preset
)

Operation to go to a saved preset position for the Preset in the selected profile. The operation is supported if there is support for at least on PTZ preset by the Preset.

Implementation

Future<void> gotoPreset(String profileToken, Preset preset) async {
  await Soap.retrieveEnvlope(
      uri, onvif.secureRequest(SoapRequest.gotoPreset(profileToken, preset)));
}