Language

IWatchKey.IsValid Property

Definition

Tells whether or not this watch key is valid.

public bool IsValid { [Android.Runtime.Register("isValid", "()Z", "GetIsValidHandler:Java.Nio.FileNio.IWatchKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isValid", "()Z", "GetIsValidHandler:Java.Nio.FileNio.IWatchKeyInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
member this.IsValid : bool

Property Value

true if, and only if, this watch key is valid

Attributes

Remarks

Tells whether or not this watch key is valid. A watch key is valid upon creation and remains until it is cancelled, or its watch service is closed.

Java reference for java.nio.file.WatchKey.isValid.

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