public class BluetoothReceiver
extends java.lang.Thread
implements javax.bluetooth.DiscoveryListener
| Constructor and Description |
|---|
BluetoothReceiver() |
| Modifier and Type | Method and Description |
|---|---|
void |
deviceDiscovered(javax.bluetooth.RemoteDevice btDevice,
javax.bluetooth.DeviceClass cod) |
void |
getBTDevice() |
void |
inquiryCompleted(int discType) |
void |
run() |
void |
servicesDiscovered(int transId,
javax.bluetooth.ServiceRecord[] records) |
void |
serviceSearchCompleted(int transID,
int respCode) |
void |
setSTOP(boolean newvalue) |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void setSTOP(boolean newvalue)
public void getBTDevice()
public void inquiryCompleted(int discType)
inquiryCompleted in interface javax.bluetooth.DiscoveryListenerpublic void serviceSearchCompleted(int transID,
int respCode)
serviceSearchCompleted in interface javax.bluetooth.DiscoveryListenerpublic void servicesDiscovered(int transId,
javax.bluetooth.ServiceRecord[] records)
servicesDiscovered in interface javax.bluetooth.DiscoveryListenerpublic void deviceDiscovered(javax.bluetooth.RemoteDevice btDevice,
javax.bluetooth.DeviceClass cod)
deviceDiscovered in interface javax.bluetooth.DiscoveryListener