Compartir a través de


AccessibilityWindowInfo.Obtain Method

Definition

Overloads

Obtain()

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

Obtain(AccessibilityWindowInfo)

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

Obtain()

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

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

Returns

An instance.

Attributes

Remarks

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

In most situations object pooling is not beneficial. Create a new instance using the constructor #AccessibilityWindowInfo() instead.

Java documentation for android.view.accessibility.AccessibilityWindowInfo.obtain().

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

Obtain(AccessibilityWindowInfo)

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

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

Parameters

info
AccessibilityWindowInfo

The other info.

Returns

An instance.

Attributes

Remarks

Returns a cached instance if such is available or a new one is created. The returned instance is initialized from the given info.

In most situations object pooling is not beneficial. Create a new instance using the constructor #AccessibilityWindowInfo(AccessibilityWindowInfo) instead.

Java documentation for android.view.accessibility.AccessibilityWindowInfo.obtain(android.view.accessibility.AccessibilityWindowInfo).

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