AccessibilityWindowInfo.Obtain 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.
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
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.
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.