AccessibilityEvent.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() |
Instantiates a new AccessibilityEvent instance. |
Obtain(AccessibilityEvent) |
Instantiates a new AccessibilityEvent instance. |
Obtain(EventTypes) |
Instantiates a new AccessibilityEvent instance with its type property set. |
Obtain()
Instantiates a new AccessibilityEvent instance.
[Android.Runtime.Register("obtain", "()Landroid/view/accessibility/AccessibilityEvent;", "")]
public static Android.Views.Accessibility.AccessibilityEvent? Obtain ();
[<Android.Runtime.Register("obtain", "()Landroid/view/accessibility/AccessibilityEvent;", "")>]
static member Obtain : unit -> Android.Views.Accessibility.AccessibilityEvent
Returns
An instance.
- Attributes
Remarks
Instantiates a new AccessibilityEvent instance.
This member is deprecated. Object pooling has been discontinued. Create a new instance using the constructor #AccessibilityEvent()
instead.
Java documentation for android.view.accessibility.AccessibilityEvent.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(AccessibilityEvent)
Instantiates a new AccessibilityEvent instance.
[Android.Runtime.Register("obtain", "(Landroid/view/accessibility/AccessibilityEvent;)Landroid/view/accessibility/AccessibilityEvent;", "")]
public static Android.Views.Accessibility.AccessibilityEvent? Obtain (Android.Views.Accessibility.AccessibilityEvent? e);
[<Android.Runtime.Register("obtain", "(Landroid/view/accessibility/AccessibilityEvent;)Landroid/view/accessibility/AccessibilityEvent;", "")>]
static member Obtain : Android.Views.Accessibility.AccessibilityEvent -> Android.Views.Accessibility.AccessibilityEvent
Parameters
The other event.
Returns
An instance.
- Attributes
Remarks
Instantiates a new AccessibilityEvent instance. The returned instance is initialized from the given event
.
This member is deprecated. Object pooling has been discontinued. Create a new instance using the constructor #AccessibilityEvent()
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.
Applies to
Obtain(EventTypes)
Instantiates a new AccessibilityEvent instance with its type property set.
[Android.Runtime.Register("obtain", "(I)Landroid/view/accessibility/AccessibilityEvent;", "")]
public static Android.Views.Accessibility.AccessibilityEvent? Obtain (Android.Views.Accessibility.EventTypes eventType);
[<Android.Runtime.Register("obtain", "(I)Landroid/view/accessibility/AccessibilityEvent;", "")>]
static member Obtain : Android.Views.Accessibility.EventTypes -> Android.Views.Accessibility.AccessibilityEvent
Parameters
- eventType
- EventTypes
The event type.
Returns
An instance.
- Attributes
Remarks
Instantiates a new AccessibilityEvent instance with its type property set.
This member is deprecated. Object pooling has been discontinued. Create a new instance using the constructor #AccessibilityEvent()
instead.
Java documentation for android.view.accessibility.AccessibilityEvent.obtain(int)
.
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.