Condividi tramite


AccessibilityNodeInfo.ContentInvalid Property

Definition

Gets if the content of this node is invalid. -or- Sets if the content of this node is invalid.

public virtual bool ContentInvalid { [Android.Runtime.Register("isContentInvalid", "()Z", "GetIsContentInvalidHandler")] get; [Android.Runtime.Register("setContentInvalid", "(Z)V", "GetSetContentInvalid_ZHandler")] set; }
[<get: Android.Runtime.Register("isContentInvalid", "()Z", "GetIsContentInvalidHandler")>]
[<set: Android.Runtime.Register("setContentInvalid", "(Z)V", "GetSetContentInvalid_ZHandler")>]
member this.ContentInvalid : bool with get, set

Property Value

If the node content is invalid.

Attributes

Remarks

Property getter documentation:

Gets if the content of this node is invalid. For example, a date is not well-formed.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.isContentInvalid().

Property setter documentation:

Sets if the content of this node is invalid. For example, a date is not well-formed.

<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.setContentInvalid(boolean).

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