Xamarin.Android | ComponentOne
C1.Android.Input Assembly / C1.Android.Input Namespace / DummyKeyListener Class / OnKeyDown Method


In This Topic
    OnKeyDown Method (DummyKeyListener)
    In This Topic
    Handles presses of the meta keys.
    Syntax
    'Declaration
     
    
    Public Overrides Function OnKeyDown( _
       ByVal view As Android.Views.View, _
       ByVal content As Android.Text.IEditable, _
       ByVal keyCode As Android.Views.Keycode, _
       ByVal e As Android.Views.KeyEvent _
    ) As Boolean
    'Usage
     
    
    Dim instance As DummyKeyListener
    Dim view As Android.Views.View
    Dim content As Android.Text.IEditable
    Dim keyCode As Android.Views.Keycode
    Dim e As Android.Views.KeyEvent
    Dim value As Boolean
     
    value = instance.OnKeyDown(view, content, keyCode, e)
    public override bool OnKeyDown( 
       Android.Views.View view,
       Android.Text.IEditable content,
       Android.Views.Keycode keyCode,
       Android.Views.KeyEvent e
    )

    Parameters

    view
    content
    keyCode
    e
    See Also