public class DiscoveredPrinterBluetoothLe extends DiscoveredPrinter
Modifier and Type | Field and Description |
---|---|
android.content.Context |
context
Android application context.
|
String |
friendlyName
The friendly name of the Bluetooth® device.
|
address
Constructor and Description |
---|
DiscoveredPrinterBluetoothLe(String macAddress,
String friendlyName,
android.content.Context context)
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 final android.content.Context context
public DiscoveredPrinterBluetoothLe(String macAddress, String friendlyName, android.content.Context context)
macAddress
.context
- Android application context.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.