Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.
Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
javax.bluetooth
Class LocalDevice
java.lang.Object
javax.bluetooth.LocalDevice
public class LocalDevice
- extends java.lang.Object
This class is defined by the JSR-82 specification
Java™ APIs for Bluetooth™ Wireless Technology,
Version 1.1.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getLocalDevice
public static LocalDevice getLocalDevice()
throws BluetoothStateException
- Throws:
BluetoothStateException
getDiscoveryAgent
public DiscoveryAgent getDiscoveryAgent()
getFriendlyName
public java.lang.String getFriendlyName()
getDeviceClass
public DeviceClass getDeviceClass()
getProperty
public static java.lang.String getProperty(java.lang.String property)
getDiscoverable
public int getDiscoverable()
getBluetoothAddress
public java.lang.String getBluetoothAddress()
setDiscoverable
public boolean setDiscoverable(int mode)
throws BluetoothStateException
- Throws:
BluetoothStateException
getRecord
public ServiceRecord getRecord(javax.microedition.io.Connection notifier)
updateRecord
public void updateRecord(ServiceRecord srvRecord)
throws ServiceRegistrationException
- Throws:
ServiceRegistrationException
isPowerOn
public static boolean isPowerOn()
Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.
For more information, please consult the JSR 82 specification.