omniClientGetLocalFile

Defined in OmniClient.h

OmniClientRequestId omniClientGetLocalFile(char const *url, void *userData, OmniClientGetLocalFileCallback callback)

Get a local file name for the URL.

If the URL already points to a local file, it is returned directly Otherwise, this downloads the file to a local location and return that location

Note

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