AccessibilityNodeInfo.SetRequestInitialAccessibilityFocus(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether the node has requested initial accessibility focus.
[Android.Runtime.Register("setRequestInitialAccessibilityFocus", "(Z)V", "GetSetRequestInitialAccessibilityFocus_ZHandler", ApiSince=34)]
public virtual void SetRequestInitialAccessibilityFocus (bool requestInitialAccessibilityFocus);
[<Android.Runtime.Register("setRequestInitialAccessibilityFocus", "(Z)V", "GetSetRequestInitialAccessibilityFocus_ZHandler", ApiSince=34)>]
abstract member SetRequestInitialAccessibilityFocus : bool -> unit
override this.SetRequestInitialAccessibilityFocus : bool -> unit
Parameters
- requestInitialAccessibilityFocus
- Boolean
True if the node requests to receive initial accessibility focus.
- Attributes
Remarks
Sets whether the node has requested initial accessibility focus.
If the node #hasRequestInitialAccessibilityFocus
, this node would be one of candidates to be accessibility focused when the window appears.
<strong>Note:</strong> Cannot be called from an android.accessibilityservice.AccessibilityService
. This class is made immutable before being delivered to an AccessibilityService.
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.