LSLStreamResolverContinuousByPredicate constructor
LSLStreamResolverContinuousByPredicate({})
Creates a new LSLStreamResolverContinuousByPredicate object.
The predicate
parameter is an
XPath 1.0 predicate
e.g. name='MyStream' and type='EEG'
or starts-with(name, 'My')
.
The forgetAfter
parameter determines how long the resolver should
remember streams after they have not been seen.
The maxStreams
parameter determines the maximum number of streams
to resolve, ideally, this would be the exact number of streams you expect
to be available.
Implementation
LSLStreamResolverContinuousByPredicate({
required this.predicate,
super.forgetAfter = 5.0,
super.maxStreams = 5,
}) : super();