absoluteMove static method
XmlDocumentFragment
absoluteMove(})
Implementation
static XmlDocumentFragment absoluteMove(
String profileToken, {
required PtzVector position,
PtzSpeed? speed,
}) {
builder.element('AbsoluteMove', nest: () {
builder.namespace(Xmlns.tptz); //tptz
ReferenceToken(profileToken).buildXml(builder);
position.buildXml(
builder,
tag: 'Position',
namespace: Xmlns.tptz,
);
speed?.buildXml(
builder,
tag: 'Speed',
namespace: Xmlns.tptz,
);
});
return builder.buildFragment();
}