SearchEvent Constructors
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
| Name | Description |
|---|---|
| SearchEvent(InputDevice) |
Create a new search event. |
| SearchEvent(IntPtr, JniHandleOwnership) |
Creates a managed peer for an existing Java Native Interface object reference. |
SearchEvent(InputDevice)
Create a new search event.
[Android.Runtime.Register(".ctor", "(Landroid/view/InputDevice;)V", "", ApiSince=23)]
public SearchEvent(Android.Views.InputDevice? inputDevice);
[<Android.Runtime.Register(".ctor", "(Landroid/view/InputDevice;)V", "", ApiSince=23)>]
new Android.Views.SearchEvent : Android.Views.InputDevice -> Android.Views.SearchEvent
Parameters
- inputDevice
- InputDevice
The Android.Views.InputDevice value used for input device.
- Attributes
Remarks
Create a new search event.
Java documentation for android.view.SearchEvent.SearchEvent(android.view.InputDevice).
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
SearchEvent(IntPtr, JniHandleOwnership)
Creates a managed peer for an existing Java Native Interface object reference.
protected SearchEvent(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.SearchEvent : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.SearchEvent
Parameters
- javaReference
-
IntPtr
nativeint
The System.IntPtr value used for java reference.
- transfer
- JniHandleOwnership
The Android.Runtime.JniHandleOwnership value used for transfer.
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.