Zebra LinkOS Multiplatform SDK for Xamarin
1.1
Link-OS Portable Class Library Plugin for Xamarin
|
Discovers Zebra printers connected to an Androidâ„¢ device via USB Host More...
Inherited by LinkOS.Plugin.UsbDiscovererImplementation.
Public Member Functions | |
void | FindPrinters (object androidContext, IDiscoveryHandler handler) |
Initiate discovery Will throw a System.NotImplementedException in iOS More... | |
bool | IsZebraPrinter (object androidUSBDevice) |
Checks if a USB device is a Zebra printer Will throw a System.NotImplementedException in iOS More... | |
Discovers Zebra printers connected to an Androidâ„¢ device via USB Host
///
Note:Below are 3 methods for doing discovery. They are platform specific. Do not attempt to implement all 3 methods.
void LinkOS.Plugin.Abstractions.IUsbDiscoverer.FindPrinters | ( | object | androidContext, |
IDiscoveryHandler | handler | ||
) |
Initiate discovery Will throw a System.NotImplementedException in iOS
androidContext | The android application context. set to null for iOS |
handler | a DiscoveryHandler instance that is used to handle discovery events (e.g. found a printer, errors, discovery finished). |
bool LinkOS.Plugin.Abstractions.IUsbDiscoverer.IsZebraPrinter | ( | object | androidUSBDevice | ) |
Checks if a USB device is a Zebra printer Will throw a System.NotImplementedException in iOS
androidUSBDevice | a Android.Hardware.Usb.UsbDevice |