lsl_create_continuous_resolver_byprop function

  1. @Native<NativeLsl_create_continuous_resolver_byprop>()
lsl_continuous_resolver lsl_create_continuous_resolver_byprop(
  1. Pointer<Char> prop,
  2. Pointer<Char> value,
  3. double forget_after
)

Construct a new lsl_continuous_resolver that resolves all streams with a specific value for a given property.

This is analogous to the functionality provided by the free function lsl_resolve_byprop() @param prop The #lsl_streaminfo property that should have a specific value (e.g., "name", "type", "source_id", or "desc/manufaturer"). @param value The string value that the property should have (e.g., "EEG" as the type property). @param forget_after When a stream is no longer visible on the network (e.g., because it was shut down), this is the time in seconds after which it is no longer reported by the resolver. The recommended default value is 5.0.

Implementation

@ffi.Native<NativeLsl_create_continuous_resolver_byprop>()
external lsl_continuous_resolver lsl_create_continuous_resolver_byprop(
  ffi.Pointer<ffi.Char> prop,
  ffi.Pointer<ffi.Char> value,
  double forget_after,
);