javax.bluetooth
Class LocalDevice

java.lang.Object
  extended by javax.bluetooth.LocalDevice

public class LocalDevice
extends Object


Constructor Summary
LocalDevice()
           
 
Method Summary
 String getBluetoothAddress()
           
 DeviceClass getDeviceClass()
           
 int getDiscoverable()
           
 DiscoveryAgent getDiscoveryAgent()
           
 String getFriendlyName()
           
static LocalDevice getLocalDevice()
           
static String getProperty(String property)
           
 ServiceRecord getRecord(Connection notifier)
           
 boolean setDiscoverable(int mode)
           
static void setStaticInstance(LocalDevice delegate)
           
protected  LocalDevice static_getLocalDevice()
           
protected  String static_getProperty(String property)
           
 void updateRecord(ServiceRecord srvRecord)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalDevice

public LocalDevice()
Method Detail

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.