Click or drag to resize

Intents.ActionConfigurationCommit Field

ACTION_CONFIGURATION_COMMIT This intent allows to request a change of the device configuration.

Namespace: Com.Datalogic.Device
Assembly: datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public const String ActionConfigurationCommit = new Intent(Intents.ACTION_CONFIGURATION_COMMIT);
 HashMapinvalid input: '<'Integer, String> map

Field Value

Type: String
Remarks
ACTION_CONFIGURATION_COMMIT This intent allows to request a change of the device configuration.
The intent carries as extra data the list of requested properties' changes.

The intent will have the following extra values:

EXTRA_CONFIGURATION_CHANGED_MAP - Bundle containing the map of requested properties' changes.

java code example:
 Intent intent = new Intent(Intents.ACTION_CONFIGURATION_COMMIT);
 HashMapinvalid input: '<'Integer, String> map = new HashMapinvalid input: '<'Integer, String>();
 map.put(PropertyID.WIFI_802_DOT_11_MODE, Wifi802Dot11Mode.WIFI_802_DOT_11_ABG.toString());
 map.put(PropertyID.CODE128_ENABLE, "true")
 map.put(PropertyID.CODE128_LENGTH2, "10");
 map.put(PropertyID.CODE128_USER_ID, String.format ("\\u%04x", (int)'a'));
 intent.putExtra(Intents.EXTRA_CONFIGURATION_CHANGED_MAP, map);
 mContext.sendBroadcast(intent);
 
adb example with extra data as Listinvalid input: '&ltString'invalid input: '&gt':
 adb shell am broadcast -a com.datalogic.device.intent.action.configuration.COMMIT
 --esal com.datalogic.device.intent.extra.configuration.CHANGED_MAP 'TOUCH_MODE_SENSITIVITY=TOUCH_MODE_STYLUS,800=10,CODE128_ENABLE=false'
 
adb example with extra data as String:
 adb shell am broadcast -a com.datalogic.device.intent.action.configuration.COMMIT
 --es com.datalogic.device.intent.extra.configuration.CHANGED_MAP 'TOUCH_MODE_SENSITIVITY=TOUCH_MODE_STYLUS,800=10,CODE128_ENABLE=false'
 

[Android Documentation]

See Also