InputDevice.SourceClassButton Campo

Definición

Precaución

This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.

El origen de entrada tiene botones o teclas.

[Android.Runtime.Register("SOURCE_CLASS_BUTTON")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)]
public const Android.Views.InputSourceType SourceClassButton = 1;
[<Android.Runtime.Register("SOURCE_CLASS_BUTTON")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputSourceType enum directly instead of this field.", true)>]
val mutable SourceClassButton : Android.Views.InputSourceType

Valor de campo

Value = 1

Implementaciones

Atributos

Comentarios

El origen de entrada tiene botones o teclas. Ejemplos: #SOURCE_KEYBOARD, #SOURCE_DPAD.

Debe KeyEvent interpretarse como un botón o una pulsación de tecla.

Use #getKeyCharacterMap para consultar las asignaciones de teclas y botón del dispositivo.

Java documentación para android.view.InputDevice.SOURCE_CLASS_BUTTON.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a