This method will return an url that you can use to access a cached media file.
var localURL = intel.xdk.cache.getMediaCacheLocalURL(url);
This method will return an url that you can use to access the cached media file. If the requested URL is not cached, the value returned will be "undefined".
- Apple iOS
- Google Android
- Microsoft Windows 8 - BETA
- Microsoft Windows Phone 8 - BETA
- url: The remote URL of the file that was cached.
- localURL: The local URL of the cached file on the device itself.
var localurl = intel.xdk.cache.getMediaCacheLocalURL("http://myweb.com/image/logo.gif");