javax.bluetooth
Class RemoteDevice
java.lang.Object
javax.bluetooth.RemoteDevice
public class RemoteDevice
- extends Object
RemoteDevice
protected RemoteDevice(String address)
setStaticInstance
public static void setStaticInstance(RemoteDevice delegate)
isTrustedDevice
public boolean isTrustedDevice()
getFriendlyName
public String getFriendlyName(boolean alwaysAsk)
throws IOException
- Throws:
IOException
getBluetoothAddress
public String getBluetoothAddress()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getRemoteDevice
public static RemoteDevice getRemoteDevice(Connection conn)
throws IOException
- Throws:
IOException
static_getRemoteDevice
protected RemoteDevice static_getRemoteDevice(Connection conn)
throws IOException
- Throws:
IOException
authenticate
public boolean authenticate()
throws IOException
- Throws:
IOException
authorize
public boolean authorize(Connection conn)
throws IOException
- Throws:
IOException
encrypt
public boolean encrypt(Connection conn,
boolean on)
throws IOException
- Throws:
IOException
isAuthenticated
public boolean isAuthenticated()
isAuthorized
public boolean isAuthorized(Connection conn)
throws IOException
- Throws:
IOException
isEncrypted
public boolean isEncrypted()
Copyright © 2006-2007 Jayway AB. All Rights Reserved.