public interface EmpaStatusDelegate
Modifier and Type | Method and Description |
---|---|
void |
didDiscoverDevice(android.bluetooth.BluetoothDevice device,
java.lang.String deviceLabel,
int rssi,
boolean allowed)
This method is invoked when a new Empatica Device is discovered during a scan
|
void |
didRequestEnableBluetooth()
This method is invoked when the Device Manager detects that Bluetooth is off
|
void |
didUpdateSensorStatus(EmpaSensorStatus status,
EmpaSensorType type)
This method is invoked when a sensor updates its status
|
void |
didUpdateStatus(EmpaStatus status)
This method is invoked when the Device Manager status is updated
|
void didUpdateStatus(EmpaStatus status)
status
- the new Device Manager statusvoid didUpdateSensorStatus(EmpaSensorStatus status, EmpaSensorType type)
status
- the new sensor statustype
- the sensor type for which the status was updatedvoid didDiscoverDevice(android.bluetooth.BluetoothDevice device, java.lang.String deviceLabel, int rssi, boolean allowed)
device
- the discovered devicedeviceLabel
- the label that identifies the devicerssi
- the RSSI for the discovered deviceallowed
- true if connection to this device is allowed by your API configuration profilevoid didRequestEnableBluetooth()