Language

JniObjectReference.IsValid Property

Definition

Gets whether the stored handle is nonzero.

public bool IsValid { get; }
member this.IsValid : bool

Property Value

true if Handle is not Zero; otherwise, false.

Remarks

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