KeyboardWedge.OnlyOnFocus Property
Click or drag to resize

KeyboardWedgeOnlyOnFocus Property

onlyOnFocus enables the input of the keystrokes only in input areas with active focus and an IME active, such as a touch keyboard.

Namespace: Com.Datalogic.Decode.Configuration
Assembly: datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public Com.Datalogic.Device.Configuration.BooleanProperty OnlyOnFocus { get; set; }

Property Value

Property Value

Type: Com.Datalogic.Device.Configuration.BooleanProperty
No description available.

Remarks
onlyOnFocus enables the input of the keystrokes only in input areas with active focus and an IME active, such as a touch keyboard. This means that the label will be sent to the foreground application in the form of key events only when previous conditions will be met. Instead, set to false, it will emulate keystrokes directly into the foreground activity. Be aware, keeping this deactivated could lead to undesired behaviors.

[Android Documentation]

See Also