Package | Description |
---|---|
com.zebra.sdk.printer.discovery |
Provides implementation for finding Zebra branded printers.
|
Modifier and Type | Class and Description |
---|---|
class |
DiscoveryHandlerLinkOsOnly
Class definition for a callback to be invoked for Link-OS printer discovery events
|
Modifier and Type | Method and Description |
---|---|
static void |
NetworkDiscoverer.directedBroadcast(DiscoveryHandler discoveryHandler,
String ipAddress)
Sends a directed broadcast discovery packet to the subnet specified by
ipAddress . |
static void |
NetworkDiscoverer.directedBroadcast(DiscoveryHandler discoveryHandler,
String ipAddress,
int waitForResponsesTimeout)
Sends a directed broadcast discovery packet to the subnet specified by
ipAddress . |
static void |
BluetoothDiscoverer.findPrinters(android.content.Context context,
DiscoveryHandler discoveryHandler)
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. |
static void |
UsbDiscoverer.findPrinters(android.content.Context context,
DiscoveryHandler discoveryHandler)
Initiate discovery
|
static void |
BluetoothDiscoverer.findPrinters(android.content.Context context,
DiscoveryHandler discoveryHandler,
DeviceFilter deviceFilter)
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. Note: Android 6 and higher (API 23+) requires user permission ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION in your application manifest. |
static void |
NetworkDiscoverer.findPrinters(DiscoveryHandler discoveryHandler)
This method will search the network using a combination of discovery methods to find printers on the network.
|
static void |
NetworkDiscoverer.findPrinters(DiscoveryHandler discoveryHandler,
java.util.List<String> printersToFind)
Sends a discovery request to the list of printer DNS names or IPs in
printersToFind . |
static void |
NetworkDiscoverer.findPrinters(DiscoveryHandler discoveryHandler,
java.util.List<String> printersToFind,
int waitForResponsesTimeout)
Sends a discovery request to the list of printer DNS names or IPs in
printersToFind . |
static void |
UrlPrinterDiscoverer.findPrinters(String url,
DiscoveryHandler discoveryHandler)
|
static void |
UrlPrinterDiscoverer.findPrinters(String url,
DiscoveryHandler discoveryHandler,
android.content.Context context)
This method will search using a combination of discovery methods to find the printer described by the specified
URL.
|
static void |
UsbDiscoverer.findPrinters(android.hardware.usb.UsbManager usbService,
DiscoveryHandler discoveryHandler) |
static void |
NetworkDiscoverer.localBroadcast(DiscoveryHandler discoveryHandler)
Sends a local broadcast packet.
|
static void |
NetworkDiscoverer.localBroadcast(DiscoveryHandler discoveryHandler,
int waitForResponsesTimeout)
Sends a local broadcast packet.
|
static void |
NetworkDiscoverer.multicast(DiscoveryHandler discoveryHandler,
int hops)
Sends a multicast discovery packet.
|
static void |
NetworkDiscoverer.multicast(DiscoveryHandler discoveryHandler,
int hops,
int waitForResponsesTimeout)
Sends a multicast discovery packet.
|
static void |
NetworkDiscoverer.subnetSearch(DiscoveryHandler discoveryHandler,
String subnetRange)
Sends a discovery packet to the IPs specified in the
subnetRange . |
static void |
NetworkDiscoverer.subnetSearch(DiscoveryHandler discoveryHandler,
String subnetRange,
int waitForResponsesTimeout)
Sends a discovery packet to the IPs specified in the
subnetRange . |
Constructor and Description |
---|
DiscoveryHandlerLinkOsOnly(DiscoveryHandler internalDiscoveryHandler)
Creates a DiscoveryHandler which will only report back Link-OS printers.
|
© 2017 ZIH Corp. All Rights Reserved.