共用方式為


AccessibilityNodeInfo.CollectionInfo.Undefined Field

Definition

Constant to denote a missing collection count.

[Android.Runtime.Register("UNDEFINED", ApiSince=35)]
public const int Undefined = -1;
[<Android.Runtime.Register("UNDEFINED", ApiSince=35)>]
val mutable Undefined : int

Field Value

Value = -1
Attributes

Remarks

Constant to denote a missing collection count.

This should be used for mItemCount and mImportantForAccessibilityItemCount when values for those fields are not known.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.CollectionInfo.UNDEFINED.

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