public class DiscoveredPrinterBluetooth extends DiscoveredPrinter
Modifier and Type | Field and Description |
---|---|
String |
friendlyName
The friendly name of the Bluetooth® device.
|
address
Constructor and Description |
---|
DiscoveredPrinterBluetooth(String macAddress,
String friendlyName)
Returns an instance of a DiscoveredPrinterBluetooth with
macAddress . |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Creates a connection based on the information in the DiscoveredPrinter response.
|
equals, getDiscoveryDataMap, hashCode, toString
public final String friendlyName
public DiscoveredPrinterBluetooth(String macAddress, String friendlyName)
macAddress
.macAddress
- MAC address of the printer.friendlyName
- Friendly name of the printer.public Connection getConnection()
DiscoveredPrinter
getConnection
in class DiscoveredPrinter
Connection
to the discovered printerDiscoveredPrinter.getConnection()
© 2017 ZIH Corp. All Rights Reserved.