lsl_stream_info_matches_query function

  1. @Native<NativeLsl_stream_info_matches_query>()
int lsl_stream_info_matches_query(
  1. lsl_streaminfo info,
  2. Pointer<Char> query
)

Tries to match the stream info XML element @p info against an XPath query.

Example query strings: @code channel_count>5 and type='EEG' type='TestStream' or contains(name,'Brain') name='ExampleStream' @endcode

Implementation

@ffi.Native<NativeLsl_stream_info_matches_query>()
external int lsl_stream_info_matches_query(
  lsl_streaminfo info,
  ffi.Pointer<ffi.Char> query,
);