omniClientListSubscribe

Defined in OmniClient.h

OmniClientRequestId omniClientListSubscribe(char const *url, 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.