Compartilhar via


AccessibilityNodeInfo.MovementGranularities Property

Definition

Gets the movement granularities for traversing the text of this node. -or- Sets the movement granularities for traversing the text of this node.

public virtual Android.Views.Accessibility.MovementGranularity MovementGranularities { [Android.Runtime.Register("getMovementGranularities", "()I", "GetGetMovementGranularitiesHandler")] get; [Android.Runtime.Register("setMovementGranularities", "(I)V", "GetSetMovementGranularities_IHandler")] set; }
[<get: Android.Runtime.Register("getMovementGranularities", "()I", "GetGetMovementGranularitiesHandler")>]
[<set: Android.Runtime.Register("setMovementGranularities", "(I)V", "GetSetMovementGranularities_IHandler")>]
member this.MovementGranularities : Android.Views.Accessibility.MovementGranularity with get, set

Property Value

The bit mask with granularities.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets the movement granularities for traversing the text of this node.

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

Property setter documentation:

Sets the movement granularities for traversing the text of this node.

<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.setMovementGranularities(int).

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