MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / unwatchFile

Method unwatchFile

src/plugins/sdcard/src/android/SDcard.java:244–249  ·  view source on GitHub ↗
(String id)

Source from the content-addressed store, hash-verified

242 }
243
244 private void unwatchFile(String id) {
245 MyFileObserver observer = fileObservers.get(id);
246 if (observer == null) return;
247 observer.stopObserving();
248 fileObservers.remove(id);
249 }
250
251 public void openDocumentFile(String mimeType, CallbackContext callback) {
252 Intent intent = new Intent();

Callers 1

executeMethod · 0.95

Calls 3

stopObservingMethod · 0.95
getMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected