stop static method
XML for the stop, requires a profileToken
and optionally panTilt
and/or zoom
Implementation
static XmlDocumentFragment stop(String profileToken,
{bool panTilt = false, bool zoom = false}) {
builder.element('Stop', nest: () {
builder.namespace(Xmlns.tptz); //tptz
ReferenceToken(profileToken).buildXml(builder);
panTilt.toString().buildXml(builder, tag: 'PanTilt', namespace: Xmlns.tt);
zoom.toString().buildXml(builder, tag: 'Zoom', namespace: Xmlns.tt);
});
return builder.buildFragment();
}