Click or drag to resize

KeyboardManagerGetKeyCode Method

Returns current mapping between a physical scan code key and an Android key code.

Namespace:  Com.Datalogic.Decode
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public virtual Com.Datalogic.Device.Input.KeyCodeEntry GetKeyCode (Com.Datalogic.Device.Input.VScanEntry scanCode);

Parameters

scanCode
Type: Com.Datalogic.Device.Input.VScanEntry
a VScanEntry representing the virtual scan code.

Return Value

Type: Com.Datalogic.Device.Input.KeyCodeEntry
KeyCodeEntry representing an Android key code and meta state. Returns null in case there is no association.

Exceptions
Exception Condition
DeviceException in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks
Returns current mapping between a physical scan code key and an Android key code.

[Android Documentation]

See Also

Reference