Språk

PrefetchType Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum PrefetchType
[<System.Flags>]
type PrefetchType = 
Inheritance
PrefetchType
Attributes

Fields

Name Value Description
Ancestors 1

Prefetching strategy that prefetches the ancestors of the requested node.

Ancestors will be prefetched before siblings and descendants.

Android reference for android.view.accessibility.AccessibilityNodeInfo.FLAG_PREFETCH_ANCESTORS.

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.

Siblings 2

Prefetching strategy that prefetches the siblings of the requested node.

To avoid disconnected trees, this flag will also prefetch the parent. Siblings will be prefetched before descendants.

See FLAG_PREFETCH_ANCESTORS for information on where these flags can be used.

Android reference for android.view.accessibility.AccessibilityNodeInfo.FLAG_PREFETCH_SIBLINGS.

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.

DescendantsHybrid 4

Prefetching strategy that prefetches the descendants in a hybrid depth first and breadth first approach.

The children of the root node is prefetched before recursing on the children. This must not be combined with FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST or FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST or this will trigger an IllegalArgumentException.

See FLAG_PREFETCH_ANCESTORS for information on where these flags can be used.

Android reference for android.view.accessibility.AccessibilityNodeInfo.FLAG_PREFETCH_DESCENDANTS_HYBRID.

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.

DescendantsDepthFirst 8

Prefetching strategy that prefetches the descendants of the requested node depth-first.

This must not be combined with FLAG_PREFETCH_DESCENDANTS_HYBRID or FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST or this will trigger an IllegalArgumentException.

See FLAG_PREFETCH_ANCESTORS for information on where these flags can be used.

Android reference for android.view.accessibility.AccessibilityNodeInfo.FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST.

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.

DescendantsBreadthFirst 16

Prefetching strategy that prefetches the descendants of the requested node breadth-first.

This must not be combined with FLAG_PREFETCH_DESCENDANTS_HYBRID or FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST or this will trigger an IllegalArgumentException.

See FLAG_PREFETCH_ANCESTORS for information on where these flags can be used.

Android reference for android.view.accessibility.AccessibilityNodeInfo.FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST.

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.

Uninterruptible 32

Prefetching flag that specifies prefetching should not be interrupted by a request to retrieve a node or perform an action on a node.

See FLAG_PREFETCH_ANCESTORS for information on where these flags can be used.

Android reference for android.view.accessibility.AccessibilityNodeInfo.FLAG_PREFETCH_UNINTERRUPTIBLE.

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