다음을 통해 공유


AccessibilityNodeInfo.ActionSetText 필드

정의

주의

This constant will be removed in the future version. Use Android.Views.Accessibility.Action enum directly instead of this field.

노드의 텍스트를 설정하는 작업입니다.

[Android.Runtime.Register("ACTION_SET_TEXT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.Accessibility.Action enum directly instead of this field.", true)]
public const Android.Views.Accessibility.Action ActionSetText = 2097152;
[<Android.Runtime.Register("ACTION_SET_TEXT")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.Accessibility.Action enum directly instead of this field.", true)>]
val mutable ActionSetText : Android.Views.Accessibility.Action

필드 값

Value = 2097152

구현

특성

설명

노드의 텍스트를 설정하는 작업입니다. 인수 없이 작업을 수행하거나 사용 null 하거나 비워 CharSequence 두면 텍스트가 지워지게 됩니다. 이 작업을 수행하면 텍스트 끝에 커서도 배치됩니다.

<strong>인수:</strong>#ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE<br><strong>Example:</strong><pre><p> Bundle arguments = new Bundle(); arguments.putCharSequence(AccessibilityNodeInfo.ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE, "android"); info.performAction(AccessibilityNodeInfo.ACTION_SET_TEXT, arguments); </pre>

에 대한 android.view.accessibility.AccessibilityNodeInfo.ACTION_SET_TEXTJava 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상