set_search_func


Description:

public void set_search_func (owned SearchRunFunc func)

Set search function.

Use this call to set the search function. The search function should be set right after the call to unity_simple_scope_new(). Note that by default the search function will be invoked in a separate thread, if you want to change that behavior use the set_search_async_func() method instead. You must call either this method or the async variant set_search_async_func() to make this instance fully usable.