IT. Expert System.

Android Reference

DialogInterface.OnKeyListener


android.content

Interface DialogInterface.OnKeyListener

  • Enclosing interface:
    DialogInterface


    public static interface DialogInterface.OnKeyListener
    Interface definition for a callback to be invoked when a key event is dispatched to this dialog. The callback will be invoked before the key event is given to the dialog.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event)
      Called when a key is dispatched to a dialog.
    • Method Detail

      • onKey

        boolean onKey(DialogInterface dialog,
                    int keyCode,
                    KeyEvent event)
        Called when a key is dispatched to a dialog. This allows listeners to get a chance to respond before the dialog.
        Parameters:
        dialog - The dialog the key has been dispatched to.
        keyCode - The code for the physical key that was pressed
        event - The KeyEvent object containing full information about the event.
        Returns:
        True if the listener has consumed the event, false otherwise.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 191 / . Delta: 0.01712 с