matchesQuery method

bool matchesQuery(
  1. String query
)

Whether this stream info matches the XPath 1.0 query (the same predicate syntax as LSL.resolveStreamsByPredicate, e.g. "name='EEG' and type='EEG'").

Implementation

bool matchesQuery(String query) =>
    _withUtf8(query, (q) => lsl_stream_info_matches_query(_infoBang, q)) != 0;