ist.palcom.base
Class BluetoothDiscovery
java.lang.Object
ist.palcom.base.BluetoothDiscovery
- All Implemented Interfaces:
- Channel
public class BluetoothDiscovery
- extends Object
- implements Channel
PALCOM_SERVICE_ID
public static UUID PALCOM_SERVICE_ID
BluetoothDiscovery
public BluetoothDiscovery()
dataAvailable
public boolean dataAvailable()
- Description copied from interface:
Channel
- This method should only be called by the System class, not from other
classes. It is used for implementing select on the JVM, and not used on
the PalVM.
After a call to System's select or selectNow with this Channel (on the
JVM), this method returns true if data is available, false otherwise. If
no call to select or selectNow has been made, the result is undefined.
- Specified by:
dataAvailable in interface Channel
getNumberOfServices
public int getNumberOfServices()
getNumberOfDevices
public int getNumberOfDevices()
getServiceAddress
public String getServiceAddress()
timeToNextDiscovery
public long timeToNextDiscovery()
searchDevices
public void searchDevices()
searchServices
public void searchServices()