Udostępnij za pośrednictwem


SurfaceControl.IsValid Property

Definition

Check whether this instance points to a valid layer with the system-compositor.

public bool IsValid { [Android.Runtime.Register("isValid", "()Z", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("isValid", "()Z", "", ApiSince=29)>]
member this.IsValid : bool

Property Value

Whether this SurfaceControl is valid.

Attributes

Remarks

Check whether this instance points to a valid layer with the system-compositor. For example this may be false if construction failed, or the layer was released (#release).

Java documentation for android.view.SurfaceControl.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