Aggiunta impostazione che permette di abilitare la ricezione degli aggiornamenti beta
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package it.integry.barcode_base_android_library.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.HashMap;
|
||||
|
||||
public class BarcodeSetting {
|
||||
|
||||
@@ -13,14 +12,13 @@ public class BarcodeSetting {
|
||||
public static final String P_TRIGGER_SCAN_DELAY = "TRIG_SCAN_DELAY";
|
||||
|
||||
|
||||
public static CharSequence[] getTriggerScanModes() {
|
||||
List<String> keys = new ArrayList<>();
|
||||
keys.add(V_TRIGGER_SCAN_MODE_READ_ON_RELEASE);
|
||||
keys.add(V_TRIGGER_SCAN_MODE_ONE_SHOT);
|
||||
// keys.add(V_TRIGGER_SCAN_MODE_CONTINUOS);
|
||||
// keys.add(V_TRIGGER_SCAN_MODE_READ_ON_SECOND_TRIGGER_PRESS);
|
||||
|
||||
return keys.toArray(new String[0]);
|
||||
public static HashMap<String, CharSequence> getTriggerScanModes() {
|
||||
return new HashMap<>() {{
|
||||
put(V_TRIGGER_SCAN_MODE_READ_ON_RELEASE, "Read on release");
|
||||
put(V_TRIGGER_SCAN_MODE_ONE_SHOT, "One shot");
|
||||
// put(V_TRIGGER_SCAN_MODE_CONTINUOS, "Continuous");
|
||||
// put(V_TRIGGER_SCAN_MODE_READ_ON_SECOND_TRIGGER_PRESS, "Read on second trigger press");
|
||||
}};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user