mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 14:15:20 +00:00
30 lines
702 B
Java
30 lines
702 B
Java
package aX;
|
|
|
|
import java.io.IOException;
|
|
import javax.bluetooth.RemoteDevice;
|
|
|
|
class RemoteDeviceTostring {
|
|
private RemoteDevice b;
|
|
|
|
public RemoteDeviceTostring(h paramh, RemoteDevice paramRemoteDevice) {
|
|
this.b = paramRemoteDevice;
|
|
}
|
|
|
|
public String toString() {
|
|
try {
|
|
return this.b.getFriendlyName(false) + " (" + this.b.getBluetoothAddress() + ")";
|
|
} catch (IOException iOException) {
|
|
return "(" + this.b.getBluetoothAddress() + ")";
|
|
}
|
|
}
|
|
|
|
public RemoteDevice a() {
|
|
return this.b;
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/aX/m.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |