AMLSetupLib 1.0.0
dotnet add package AMLSetupLib --version 1.0.0
NuGet\Install-Package AMLSetupLib -Version 1.0.0
<PackageReference Include="AMLSetupLib" Version="1.0.0" />
paket add AMLSetupLib --version 1.0.0
#r "nuget: AMLSetupLib, 1.0.0"
// Install AMLSetupLib as a Cake Addin #addin nuget:?package=AMLSetupLib&version=1.0.0 // Install AMLSetupLib as a Cake Tool #tool nuget:?package=AMLSetupLib&version=1.0.0
AML Setup Library
Overview
AML Setup Library provides an easy way to interface with an AML device to configure its settings and get hardware info. The library allows you to create an instance of AMLSetupClient. You can configure the device settings with a AML Setup configuration json string. This library works for Android.Xamarin, Xamarin Forms, and Maui.
Usage
The library contains a class called AMLSetupClient
that is used to interface with the device:
var client = new AMLSetupClient(this);
The parameter for the constructor is the Context
of the Android application.
Example
var client;
bool _connected = false;
public void InitAMLClient()
{
client = new AMLSetupClient(this);
scanner.Connected += AMLClientConnected;
scanner.Error += AMLClientError;
}
public void AMLClientConnected(bool permissionGranted)
{
if (permissionGranted)
{
_connected = true;
//Perform operations
}
}
public void AMLClientError(SdkError error)
{
//Handle error
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid10 is compatible. |
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 |
---|---|---|
1.0.0 | 127 | 3/7/2024 |
First release.