Window.ICallback.OnProvideKeyboardShortcuts 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 Keyboard Shortcuts are requested for the current window.
[Android.Runtime.Register("onProvideKeyboardShortcuts", "(Ljava/util/List;Landroid/view/Menu;I)V", "GetOnProvideKeyboardShortcuts_Ljava_util_List_Landroid_view_Menu_IHandler:Android.Views.Window/ICallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public virtual void OnProvideKeyboardShortcuts (System.Collections.Generic.IList<Android.Views.KeyboardShortcutGroup>? data, Android.Views.IMenu menu, int deviceId);
[<Android.Runtime.Register("onProvideKeyboardShortcuts", "(Ljava/util/List;Landroid/view/Menu;I)V", "GetOnProvideKeyboardShortcuts_Ljava_util_List_Landroid_view_Menu_IHandler:Android.Views.Window/ICallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member OnProvideKeyboardShortcuts : System.Collections.Generic.IList<Android.Views.KeyboardShortcutGroup> * Android.Views.IMenu * int -> unit
override this.OnProvideKeyboardShortcuts : System.Collections.Generic.IList<Android.Views.KeyboardShortcutGroup> * Android.Views.IMenu * int -> unit
Parameters
- data
- IList<KeyboardShortcutGroup>
The data list to populate with shortcuts.
- menu
- IMenu
The current menu, which may be null.
- deviceId
- Int32
The id for the connected device the shortcuts should be provided for.
- Attributes
Remarks
Called when Keyboard Shortcuts are requested for the current window.
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.