AMLSetupLib 1.0.0

dotnet add package AMLSetupLib --version 1.0.0                
NuGet\Install-Package AMLSetupLib -Version 1.0.0                
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="AMLSetupLib" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AMLSetupLib --version 1.0.0                
#r "nuget: AMLSetupLib, 1.0.0"                
#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 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 NuGet

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 Compatible and additional computed target framework versions.
MonoAndroid monoandroid10 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
1.0.0 127 3/7/2024

First release.