findRecordings static method
XmlDocumentFragment
findRecordings({
- SearchScope? searchScope,
- int? maxMatches,
- required int keepAliveTime,
XML for the findRecordings
Implementation
static XmlDocumentFragment findRecordings({
SearchScope? searchScope,
int? maxMatches,
required int keepAliveTime,
}) {
Transport.builder.element('FindRecordings', nest: () {
Transport.builder.namespace(Xmlns.tse);
if (searchScope != null) {
Transport.builder.element('RecordingToken', nest: () {
searchScope.toXml();
});
}
if (maxMatches != null) {
Transport.builder.element('MaxMatches', nest: () {
Transport.builder.text(maxMatches);
});
}
Transport.builder.element('KeepAliveTime', nest: () {
Transport.builder.text(keepAliveTime);
});
});
return Transport.builder.buildFragment();
}