getRecordingOptions static method

XmlDocumentFragment getRecordingOptions(
  1. String recordingToken
)

XML for the getRecordingOptions

Implementation

static XmlDocumentFragment getRecordingOptions(String recordingToken) {
  Transport.builder.element('GetRecordingOptions', nest: () {
    Transport.builder.namespace(Xmlns.trc);

    Transport.builder.element('RecordingToken', nest: () {
      Transport.builder.namespace(Xmlns.tt);

      Transport.builder.text(recordingToken);
    });
  });

  return Transport.builder.buildFragment();
}