BradyCorp.Xamarin.SDK
1.0.3
See the version list below for details.
dotnet add package BradyCorp.Xamarin.SDK --version 1.0.3
NuGet\Install-Package BradyCorp.Xamarin.SDK -Version 1.0.3
<PackageReference Include="BradyCorp.Xamarin.SDK" Version="1.0.3" />
paket add BradyCorp.Xamarin.SDK --version 1.0.3
#r "nuget: BradyCorp.Xamarin.SDK, 1.0.3"
// Install BradyCorp.Xamarin.SDK as a Cake Addin #addin nuget:?package=BradyCorp.Xamarin.SDK&version=1.0.3 // Install BradyCorp.Xamarin.SDK as a Cake Tool #tool nuget:?package=BradyCorp.Xamarin.SDK&version=1.0.3
BradyCorp.Xamarin.SDK
The official Xamarin wrapper for the Brady SDK allows development in C# to integrate both the iOS and Android functionalities supported by the Brady SDK's.
Setup
To start, you must add this package to both the iOS and Android native projects if you are using a Xamarin.Forms application. To access the library's API, use the following using statements: - Android: "using BradySdkBindings.Droid" - iOS: "using BradySdkBindings.iOS"
Next, intialize a BradySdk object using the constructors: - Android: "new BradySdk(Context)" - iOS: "new BradySdk()"
NOTE: The Xamarin Binding MUST be implemented for both iOS and Android separately in both native projects. This is due to different constructors for each platform and alternative threading methods that need to be dealt with differently.
For Xamarin.iOS only, you must call the .connectToPrinter(String) and .print() methods from a different thread. That might look like this:
Thread connectThread = new Thread(() =>
{
bool status = BradySdk.connectToPrinter(printer).Result;
if (status)
{
Debug.WriteLine("Connection Status: " + status);
}
});
connectThread.Start();
Releases
1.0.3 is consistent with the Brady SDK Flutter plugin's API and contains the same capabilities such as: - Discovering, connecting, and printing to the M211, M611, and M511 via Bluetooth Low Energy. - Discovering, connecting, and printing to the M611 via wireless internet (Wifi). - Deserealizing and printing any Brady Workstation objects in a BWT file referenced at https://sdk.bradyid.com/supported_objects/ - Feeding, cutting, and disconnecting. - Supports a version of auto connecting to your previously connected to printer via the getLastConnectedPrinterName API method.
1.0.2, 1.0.1, and 1.0.0 were all versions of the Xamarin Bindings that were created, used, and tested locally. - This was done by generating a .nupkg and manually adding the package to a test project.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid12.0 is compatible. |
Xamarin.iOS | xamarinios is compatible. |
-
MonoAndroid 12.0
- Codlab.Jackson.Annotations (>= 2.8.7.1)
- Codlab.Jackson.Core (>= 2.8.7.1)
- Codlab.Jackson.Databind (>= 2.8.7.1)
- System.Collections.NonGeneric (>= 4.3.0)
- Xamarin.Google.ZXing.Core (>= 3.5.1.1)
- Xamarin.GooglePlayServices.Gcm (>= 117.0.0.8)
- Xamarin.GooglePlayServices.Tasks (>= 118.0.2.1)
-
Xamarin.iOS 0.0
- 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.7.0 | 150 | 4/25/2024 |
1.3.4 | 966 | 1/23/2024 |
1.3.2 | 1,811 | 12/5/2023 |
1.3.1 | 1,573 | 11/14/2023 |
1.3.0 | 1,010 | 10/11/2023 |
1.2.4 | 1,403 | 8/21/2023 |
1.2.3 | 1,430 | 8/9/2023 |
1.2.2 | 1,610 | 8/8/2023 |
1.2.1 | 1,372 | 8/4/2023 |
1.2.0 | 1,740 | 8/1/2023 |
1.1.0 | 1,621 | 7/18/2023 |
1.0.4 | 1,372 | 7/14/2023 |
1.0.3 | 1,668 | 7/6/2023 |
1.0.3 is the first published NuGet for the Brady SDK Xamarin Bindings on nuget.org
This version is consistent with the Brady SDK Flutter plugin's API and contains the same capabilities such as:
- Discovering, connecting, and printing to the M211, M611, and M511 via Bluetooth Low Energy.
- Discovering, connecting, and printing to the M611 via wireless internet (Wifi).
- Deserealizing and printing any Brady Workstation objects in a BWT file referenced at https://sdk.bradyid.com/supported_objects/
- Feeding, cutting, and disconnecting.
- Supports a version of auto connecting to your previously connected to printer via the getLastConnectedPrinterName API method.
1.0.2, 1.0.1, and 1.0.0 were all versions of the Xamarin Bindings that were created, used, and tested locally.
This was done by generating a .nupkg and manually adding the package to a test project.