getCurrentPreset static method

XmlDocumentFragment getCurrentPreset(
  1. String videoSourceToken
)

XML for the getCurrentPreset, requires a videoSourceToken

Implementation

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

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

  return Transport.builder.buildFragment();
}