videoEncoderConfigurations static method

XmlDocumentFragment videoEncoderConfigurations({
  1. String? configurationToken,
  2. String? profileToken,
})

Implementation

static XmlDocumentFragment videoEncoderConfigurations({
  String? configurationToken,
  String? profileToken,
}) {
  builder.element('GetVideoEncoderConfigurations', nest: () {
    builder.namespace(Xmlns.tr2);

    if (configurationToken != null) {
      ReferenceToken(configurationToken).buildXml(
        builder,
        tag: 'ConfigurationToken',
      );
    }

    if (profileToken != null) {
      ReferenceToken(profileToken).buildXml(
        builder,
        tag: 'ProfileToken',
      );
    }
  });

  return builder.buildFragment();
}