KeyboardView.OnLongPress(Keyboard+Key) 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.
Called when a key is long pressed.
[Android.Runtime.Register("onLongPress", "(Landroid/inputmethodservice/Keyboard$Key;)Z", "GetOnLongPress_Landroid_inputmethodservice_Keyboard_Key_Handler")]
protected virtual bool OnLongPress (Android.InputMethodServices.Keyboard.Key? popupKey);
[<Android.Runtime.Register("onLongPress", "(Landroid/inputmethodservice/Keyboard$Key;)Z", "GetOnLongPress_Landroid_inputmethodservice_Keyboard_Key_Handler")>]
abstract member OnLongPress : Android.InputMethodServices.Keyboard.Key -> bool
override this.OnLongPress : Android.InputMethodServices.Keyboard.Key -> bool
Parameters
- popupKey
- Keyboard.Key
the key that was long pressed
Returns
true if the long press is handled, false otherwise. Subclasses should call the method on the base class if the subclass doesn't wish to handle the call.
- Attributes
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.