videoEncoderConfigurations static method
XmlDocumentFragment
videoEncoderConfigurations({})
XML for the videoEncoderConfigurations
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();
}