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, yield
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void setSTOP(boolean newvalue)
public void getBTDevice()
public void inquiryCompleted(int discType)
inquiryCompleted
in interface javax.bluetooth.DiscoveryListener
public void serviceSearchCompleted(int transID, int respCode)
serviceSearchCompleted
in interface javax.bluetooth.DiscoveryListener
public void servicesDiscovered(int transId, javax.bluetooth.ServiceRecord[] records)
servicesDiscovered
in interface javax.bluetooth.DiscoveryListener
public void deviceDiscovered(javax.bluetooth.RemoteDevice btDevice, javax.bluetooth.DeviceClass cod)
deviceDiscovered
in interface javax.bluetooth.DiscoveryListener