itos.scan 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package itos.scan --version 1.0.3
NuGet\Install-Package itos.scan -Version 1.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="itos.scan" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add itos.scan --version 1.0.3
#r "nuget: itos.scan, 1.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install itos.scan as a Cake Addin
#addin nuget:?package=itos.scan&version=1.0.3

// Install itos.scan as a Cake Tool
#tool nuget:?package=itos.scan&version=1.0.3

ITOS IOT Barcode scanning SDK.

Note: The SDK requires WRITE_SETTINGS permission

APIS:

//Barcode prefix
public static string GetBarcodePrefix(Context p0);
public static void SetBarcodePrefix(Context p0, string p1);

//Is barcode prefix enabled
public static bool GetBarcodePrefixState(Context p0);
public static void SetBarcodePrefixState(Context p0, bool p1);

//Barcode receiving mode, 0 : fast; 1 : slow; 2 : broadcast
public static int GetBarcodeReceiveModel(Context p0);
public static void SetBarcodeReceiveModel(Context p0, int p1);

//Barcode separator 0:no separator,  1:\r,  2:\n,  3:Tab
public static int GetBarcodeSeparator(Context p0);
public static void SetBarcodeSeparator(Context p0, int p1);

//Barcode suffix
public static string GetBarcodeSuffix(Context p0);
public static void SetBarcodeSuffix(Context p0, string p1);

//Is barcode suffix enabled
public static bool GetBarcodeSuffixState(Context p0);
public static void SetBarcodeSuffixState(Context p0, bool p1);

//Custom continuous scan interval time In seconds
public static float GetScanDelay(Context p0);
public static void SetScanDelay(Context p0, float p1);

//Continuous scanning interval time, 0: no interval time, 1: 0.5s interval time, 2: 1s interval time, 3: Customize the scanning interval time and set the value using SetScanDelay
public static int GetScanDelaySetting(Context p0);
public static void SetScanDelaySetting(Context p0, int p1);

//Scan mode, 0: Normal scanning, 1: automatic continuous scanning, 2: manual continuous scanning
public static int GetScanModel(Context p0);
public static void SetScanModel(Context p0, int p1);

//Is scanning sound enabled
public static bool GetScanSound(Context p0);
public static void SetScanSound(Context p0, bool p1);

//Is scanning left click enabled
public static bool GetScanSwitchLeft(Context p0);
public static void SetScanSwitchLeft(Context p0, bool p1);

//Is scanning right click enabled
public static bool GetScanSwitchRight(Context p0);
public static void SetScanSwitchRight(Context p0, bool p1);

//Is scanning vibrate enabled
public static bool GetScanVibrate(Context p0);
public static void SetScanVibrate(Context p0, bool p1);

example 1:

private void ScanSetting()
{
	try
	{
        ScanHelper.SetBarcodeReceiveModel(this, 2);
        ScanHelper.SetScanModel(this, 2);
        ScanHelper.SetScanDelaySetting(this, 3);
        ScanHelper.SetScanDelay(this, 5f);
	}
	catch (Exception e)
	{
		Log.Error(TAG, "Error modifying system settings", e);
	}
}
Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 226 9/28/2023
2.0.5 120 9/27/2023
2.0.4 155 6/13/2023
2.0.3 149 6/13/2023
2.0.2 143 5/30/2023
2.0.1 158 5/30/2023
1.0.3 162 5/20/2023
1.0.2 184 5/17/2023

update README.md