Språk

CheckedState Enum

Definition

Specifies the checked state reported by an accessibility node.

public enum CheckedState
type CheckedState = 
Inheritance
CheckedState

Fields

Name Value Description
False 0

This node is not checked.

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

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.

True 1

This node is checked.

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

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.

Partial 2

This node is partially checked. For example, when a checkbox owns a number of sub-options and they have different states, then the main checkbox is in a partially-checked state.

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

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.

Remarks

The values distinguish unchecked, checked, and partially checked nodes.

Applies to