FileSystem.NewWatchService Method

Definition

Constructs a new WatchService(optional operation).

[Android.Runtime.Register("newWatchService", "()Ljava/nio/file/WatchService;", "GetNewWatchServiceHandler", ApiSince=26)]
public abstract Java.Nio.FileNio.IWatchService? NewWatchService ();
[<Android.Runtime.Register("newWatchService", "()Ljava/nio/file/WatchService;", "GetNewWatchServiceHandler", ApiSince=26)>]
abstract member NewWatchService : unit -> Java.Nio.FileNio.IWatchService

Returns

IWatchService

a new watch service

Attributes

Remarks

Java documentation for java.nio.file.FileSystem.newWatchService().

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