Condividi tramite


AccessibilityNodeInfo.ExtraDataRenderingInfoKey Field

Definition

Key used to request extra data for the rendering information.

[Android.Runtime.Register("EXTRA_DATA_RENDERING_INFO_KEY", ApiSince=30)]
public const string ExtraDataRenderingInfoKey;
[<Android.Runtime.Register("EXTRA_DATA_RENDERING_INFO_KEY", ApiSince=30)>]
val mutable ExtraDataRenderingInfoKey : string

Field Value

Implements

Attributes

Remarks

Key used to request extra data for the rendering information. The key requests that a AccessibilityNodeInfo.ExtraRenderingInfo be added to this info. This request is made with #refreshWithExtraData(String, Bundle) without argument.

The data can be retrieved from the ExtraRenderingInfo returned by #getExtraRenderingInfo() using ExtraRenderingInfo#getLayoutSize, ExtraRenderingInfo#getTextSizeInPx() and ExtraRenderingInfo#getTextSizeUnit(). For layout params, it is supported by both TextView and ViewGroup. For text size and unit, it is only supported by TextView.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.EXTRA_DATA_RENDERING_INFO_KEY.

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