AccessibilityNodeInfo.Obtain AccessibilityNodeInfo.Obtain Method

Definition

Overloads

Obtain() Obtain()

Returns a cached instance if such is available otherwise a new one.

Obtain(AccessibilityNodeInfo) Obtain(AccessibilityNodeInfo)

Returns a cached instance if such is available or a new one is create.

Obtain(View) Obtain(View)

Returns a cached instance if such is available otherwise a new one and sets the source.

Obtain(View, Int32) Obtain(View, Int32)

Returns a cached instance if such is available otherwise a new one and sets the source.

Obtain() Obtain()

Returns a cached instance if such is available otherwise a new one.

[Android.Runtime.Register("obtain", "()Landroid/view/accessibility/AccessibilityNodeInfo;", "")]
public static Android.Views.Accessibility.AccessibilityNodeInfo Obtain ();
static member Obtain : unit -> Android.Views.Accessibility.AccessibilityNodeInfo

Returns

Remarks

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.

Obtain(AccessibilityNodeInfo) Obtain(AccessibilityNodeInfo)

Returns a cached instance if such is available or a new one is create.

[Android.Runtime.Register("obtain", "(Landroid/view/accessibility/AccessibilityNodeInfo;)Landroid/view/accessibility/AccessibilityNodeInfo;", "")]
public static Android.Views.Accessibility.AccessibilityNodeInfo Obtain (Android.Views.Accessibility.AccessibilityNodeInfo info);
static member Obtain : Android.Views.Accessibility.AccessibilityNodeInfo -> Android.Views.Accessibility.AccessibilityNodeInfo

Parameters

Returns

Remarks

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.

Obtain(View) Obtain(View)

Returns a cached instance if such is available otherwise a new one and sets the source.

[Android.Runtime.Register("obtain", "(Landroid/view/View;)Landroid/view/accessibility/AccessibilityNodeInfo;", "")]
public static Android.Views.Accessibility.AccessibilityNodeInfo Obtain (Android.Views.View source);
static member Obtain : Android.Views.View -> Android.Views.Accessibility.AccessibilityNodeInfo

Parameters

source
View View

The source view.

Returns

Remarks

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.

See also

Obtain(View, Int32) Obtain(View, Int32)

Returns a cached instance if such is available otherwise a new one and sets the source.

[Android.Runtime.Register("obtain", "(Landroid/view/View;I)Landroid/view/accessibility/AccessibilityNodeInfo;", "", ApiSince=16)]
public static Android.Views.Accessibility.AccessibilityNodeInfo Obtain (Android.Views.View root, int virtualDescendantId);
static member Obtain : Android.Views.View * int -> Android.Views.Accessibility.AccessibilityNodeInfo

Parameters

root
View View

The root of the virtual subtree.

virtualDescendantId
Int32 Int32

The id of the virtual descendant.

Returns

Remarks

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