Android.App.UiAutomation.FindFocus Method
Find the view that has the specified focus type.

Syntax

[Android.Runtime.Register("findFocus", "(I)Landroid/view/accessibility/AccessibilityNodeInfo;", "")]
public Android.Views.Accessibility.AccessibilityNodeInfo FindFocus ([Android.Runtime.GeneratedEnum] Android.Views.Accessibility.NodeFocus focus)

See Also

Android.Views.Accessibility.AccessibilityNodeInfo.FocusInput
Android.Views.Accessibility.AccessibilityNodeInfo.FocusAccessibility

Parameters

focus
The focus to find. One of Android.Views.Accessibility.AccessibilityNodeInfo.FocusInput or Android.Views.Accessibility.AccessibilityNodeInfo.FocusAccessibility.

Returns

Documentation for this section has not yet been entered.

Remarks

Find the view that has the specified focus type. The search is performed across all windows.

Note: In order to access the windows you have to opt-in to retrieve the interactive windows by setting the Android.AccessibilityServices.AccessibilityServiceInfo.FlagRetrieveInteractiveWindows flag. Otherwise, the search will be performed only in the active window.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18