Zebra LinkOS Multiplatform SDK for Xamarin
1.1
Link-OS Portable Class Library Plugin for Xamarin
|
A class that discovers Bluetooth® devices. More...
Public Member Functions | |
void | FindPrinters (object androidContext, IDiscoveryHandler handler) |
Find Bluetooth® devices that are discoverable. Note: This method will return all devices found, not just Zebra printers Note: This method should not be called from the application main thread. More... | |
A class that discovers Bluetooth® devices.
Note:Below are 3 methods for doing discovery. They are platform specific. Do not attempt to implement all 3 methods.
Note: There are no cancel discovery methods. Be carefull when using these to properly dispose of discoverer objects if navigating prior to finishing discovery.
void LinkOS.Plugin.Abstractions.IBluetoothDiscoverer.FindPrinters | ( | object | androidContext, |
IDiscoveryHandler | handler | ||
) |
Find Bluetooth® devices that are discoverable. Note: This method will return all devices found, not just Zebra printers Note: This method should not be called from the application main thread.
androidContext | Android™ application context. Pass null if iOS implementation. |
handler | a DiscoveryHandler instance that is used to handle discovery events (e.g. found a printer, errors, discovery finished). |
Implemented in LinkOS.Plugin.BluetoothDiscovererImplementation.