Surface.IsValid Property
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.
Returns true if this object holds a valid surface.
public virtual bool IsValid { [Android.Runtime.Register("isValid", "()Z", "GetIsValidHandler")] get; }
[<get: Android.Runtime.Register("isValid", "()Z", "GetIsValidHandler")>]
member this.IsValid : bool
Property Value
True if it holds a physical surface, so lockCanvas() will succeed. Otherwise returns false.
- Attributes
Remarks
Returns true if this object holds a valid surface.
Java documentation for android.view.Surface.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.