FileSystem.NewWatchService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
a new watch service
- Attributes
Remarks
Constructs a new WatchService
(optional operation).
This method constructs a new watch service that may be used to watch registered objects for changes and events.
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.