omniClientListSubscribe2

Defined in OmniClient.h

OmniClientRequestId omniClientListSubscribe2(char const *url, OmniClientListIncludeOption includeOption, void *userData, OmniClientListCallback callback, OmniClientListSubscribeCallback subscribeCallback)

Subscribe to change notifications for a url.

‘callback’ is called once with the initial list then ‘subscribeCallback’ may be called multiple times after that as items change

Note

If this function is called after omniClientShutdown, kInvalidRequestId will be returned, and the callback will not be called.