getPresets static method

XmlDocumentFragment getPresets(
  1. String videoSourceToken
)

XML for the getPresets, requires a videoSourceToken

Implementation

static XmlDocumentFragment getPresets(String videoSourceToken) {
  Transport.builder.element('GetPresets', nest: () {
    Transport.builder.namespace(Xmlns.timg);

    Transport.builder.element('VideoSourceToken', nest: () {
      Transport.builder.text(videoSourceToken);
    });
  });

  return Transport.builder.buildFragment();
}