removePresetTour static method
XML for the removePresetTour, requires a profileToken
and presetTour
Implementation
static XmlDocumentFragment removePresetTour(String profileToken,
{required PresetTour presetTour}) {
Transport.builder.element('RemovePresetTour', nest: () {
Transport.builder.namespace(Xmlns.tptz);
ReferenceToken(profileToken).buildXml(Transport.builder);
presetTour.referenceToken.buildXml(
Transport.builder,
tag: 'PresetTourToken',
);
});
return Transport.builder.buildFragment();
}