javax.bluetooth
Class LocalDevice
java.lang.Object
javax.bluetooth.LocalDevice
public class LocalDevice
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalDevice
public LocalDevice()
setStaticInstance
public static void setStaticInstance(LocalDevice delegate)
getLocalDevice
public static LocalDevice getLocalDevice()
throws BluetoothStateException
- Throws:
BluetoothStateException
static_getLocalDevice
protected LocalDevice static_getLocalDevice()
throws BluetoothStateException
- Throws:
BluetoothStateException
getDiscoveryAgent
public DiscoveryAgent getDiscoveryAgent()
getFriendlyName
public String getFriendlyName()
getDeviceClass
public DeviceClass getDeviceClass()
getProperty
public static String getProperty(String property)
static_getProperty
protected String static_getProperty(String property)
getDiscoverable
public int getDiscoverable()
getBluetoothAddress
public String getBluetoothAddress()
setDiscoverable
public boolean setDiscoverable(int mode)
throws BluetoothStateException
- Throws:
BluetoothStateException
getRecord
public ServiceRecord getRecord(Connection notifier)
updateRecord
public void updateRecord(ServiceRecord srvRecord)
throws ServiceRegistrationException
- Throws:
ServiceRegistrationException
Copyright © 2006-2007 Jayway AB. All Rights Reserved.