getReplayUri static method

XmlDocumentFragment getReplayUri(
  1. String recordingToken, {
  2. required StreamSetup streamSetup,
})

XML for the getReplayUri

Implementation

static XmlDocumentFragment getReplayUri(
  String recordingToken, {
  required StreamSetup streamSetup,
}) {
  builder.element('GetReplayUri', nest: () {
    builder.namespace(Xmlns.trp);

    streamSetup.buildXml(builder);

    ReferenceToken(recordingToken).buildXml(builder, tag: 'RecordingToken');
  });

  return builder.buildFragment();
}