View.SetOnLongClickListener(View+IOnLongClickListener) 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.
Register a callback to be invoked when this view is clicked and held.
[Android.Runtime.Register("setOnLongClickListener", "(Landroid/view/View$OnLongClickListener;)V", "GetSetOnLongClickListener_Landroid_view_View_OnLongClickListener_Handler")]
public virtual void SetOnLongClickListener (Android.Views.View.IOnLongClickListener? l);
[<Android.Runtime.Register("setOnLongClickListener", "(Landroid/view/View$OnLongClickListener;)V", "GetSetOnLongClickListener_Landroid_view_View_OnLongClickListener_Handler")>]
abstract member SetOnLongClickListener : Android.Views.View.IOnLongClickListener -> unit
override this.SetOnLongClickListener : Android.Views.View.IOnLongClickListener -> unit
Parameters
The callback that will run
- Attributes
Remarks
Java documentation for android.view.View.setOnLongClickListener(android.view.OnLongClickListener)
.
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.