clearAmbientCacheWithCompletionHandler method

void clearAmbientCacheWithCompletionHandler(
  1. ObjCBlock<Void Function(NSError?)> completion
)

Clears the ambient cache by deleting resources. This method does not affect resources shared with offline regions.

@param completion The completion handler to call once resources from the ambient cache have been cleared. This handler is executed asynchronously on the main queue.

Implementation

void clearAmbientCacheWithCompletionHandler(objc.ObjCBlock<ffi.Void Function(objc.NSError?)> completion) {
_objc_msgSend_f167m6(this.ref.pointer, _sel_clearAmbientCacheWithCompletionHandler_, completion.ref.pointer);

}