Share via


FileObserver.StopWatching Method

Definition

Stop watching for events.

[Android.Runtime.Register("stopWatching", "()V", "GetStopWatchingHandler")]
public virtual void StopWatching ();
[<Android.Runtime.Register("stopWatching", "()V", "GetStopWatchingHandler")>]
abstract member StopWatching : unit -> unit
override this.StopWatching : unit -> unit
Attributes

Remarks

Stop watching for events. Some events may be in process, so events may continue to be reported even after this method completes. If monitoring is already stopped, this call has no effect.

Java documentation for android.os.FileObserver.stopWatching().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to