setRecordingJobMode static method

XmlDocumentFragment setRecordingJobMode({
  1. required String jobToken,
  2. required RecordingJobConfigurationMode mode,
})

XML for the setRecordingJobMode

Implementation

static XmlDocumentFragment setRecordingJobMode({
  required String jobToken,
  required RecordingJobConfigurationMode mode,
}) {
  builder.element('SetRecordingJobMode', nest: () {
    builder.namespace(Xmlns.trc);

    jobToken.buildXml(builder, tag: 'JobToken', namespace: Xmlns.tt);

    mode.value.buildXml(builder, tag: 'Mode', namespace: Xmlns.tt);
  });

  return builder.buildFragment();
}