Compartir a través de


AccessibilityNodeInfo.GranularScrollingSupported Property

Definition

Gets if the node supports granular scrolling. -or- Sets if the node supports granular scrolling.

public virtual bool GranularScrollingSupported { [Android.Runtime.Register("isGranularScrollingSupported", "()Z", "GetIsGranularScrollingSupportedHandler", ApiSince=35)] get; [Android.Runtime.Register("setGranularScrollingSupported", "(Z)V", "GetSetGranularScrollingSupported_ZHandler", ApiSince=35)] set; }
[<get: Android.Runtime.Register("isGranularScrollingSupported", "()Z", "GetIsGranularScrollingSupportedHandler", ApiSince=35)>]
[<set: Android.Runtime.Register("setGranularScrollingSupported", "(Z)V", "GetSetGranularScrollingSupported_ZHandler", ApiSince=35)>]
member this.GranularScrollingSupported : bool with get, set

Property Value

True if all scroll actions that could support #ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT have done so, false otherwise.

Attributes

Remarks

Property getter documentation:

Gets if the node supports granular scrolling.

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

Property setter documentation:

Sets if the node supports granular scrolling. This should be set to true if all scroll actions which could support #ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT have done so.

<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.setGranularScrollingSupported(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