|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esf.device.bluetooth.discovery.service.BluetoothService
This class is used to contain the information related to a Bluetooth service on a single Bluetooth device. Each instance of this class will represent a device service found during the most recent Bluetooth device discovery process.
Constructor Summary | |
BluetoothService(java.lang.String url,
java.lang.String name)
Constructor. |
Method Summary | |
java.lang.String |
getName()
Returns the name of the Bluetooth service. |
java.lang.String |
getURL()
Returns the URL of the Bluetooth service within a specific device. |
java.lang.String |
toString()
Typically used for application debugging, this method returns a string representation of the Bluetooth service on a specific Bluetooth device. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BluetoothService(java.lang.String url, java.lang.String name)
url
- The URL used to connect to the service within the device.name
- The name of the service.Method Detail |
public java.lang.String getURL()
Note that with the current implementation of the ESF, the javax.microedition.io classes will not properly recognize Bluetooth URLs.
public java.lang.String getName()
Note that this name is not consistent between manufacturers, for a given Bluetooth service.
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |