This function clears an item from the contents of the on-device request result cache for the current hybrid app.
<static> clearCacheItem( cachekey )
Name | Type | Description |
cachekey | string | The key for the cache item to be removed.This is the same key that was passed to hwc.doOnlineRequest. |
// The cache key is set when calling hwc.doOnlineRequest_CONT hwc.doOnlineRequest( ., ., ., ., ., ., ., cacheKey, ., .); // At some later point if we want to clear the cache for the above request, we use the following code: hwc.clearCacheItem( cacheKey );