// JAVADOC COMMENT ELIDED public boolean authenticate() throws IOException { if (!BCC.getInstance().isConnected(getBluetoothAddress())) { throw new IOException( "There are no open connections between the " + "local device and this RemoteDevice."); } return BCC.getInstance().authenticate(getBluetoothAddress()); }
// JAVADOC COMMENT ELIDED public String getFriendlyName(boolean alwaysAsk) throws IOException { // contact the remote device if name is not known or alwaysAsk is true if (friendlyName == null || alwaysAsk) { friendlyName = BCC.getInstance().getFriendlyName(getBluetoothAddress()); } return friendlyName; }
// JAVADOC COMMENT ELIDED public boolean isTrustedDevice() { return BCC.getInstance().isTrusted(getBluetoothAddress()); }
// JAVADOC COMMENT ELIDED public boolean isEncrypted() { return BCC.getInstance().isEncrypted(getBluetoothAddress()); }
// JAVADOC COMMENT ELIDED public boolean isAuthenticated() { return BCC.getInstance().isAuthenticated(getBluetoothAddress()); }