public class AndroidSenseServiceImpl extends Object implements AndroidSenseService
| Constructor and Description |
|---|
AndroidSenseServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getAndroidSenseDeviceStats(String deviceId,
String sensor,
long from,
long to)
Retrieve Sensor data for the device type
|
javax.ws.rs.core.Response |
register(String deviceId,
String deviceName)
Enroll devices.
|
javax.ws.rs.core.Response |
removeKeyWords(String deviceId,
String words)
End point to remove key words from the device
|
javax.ws.rs.core.Response |
sendKeyWords(String deviceId,
String keywords)
End point to send the key words to the device
|
javax.ws.rs.core.Response |
sendThreshold(String deviceId,
String threshold)
End point to send the key words to the device
|
public javax.ws.rs.core.Response sendKeyWords(String deviceId, String keywords)
AndroidSenseServicesendKeyWords in interface AndroidSenseServicedeviceId - The registered device Id.keywords - The key words to be sent. (Comma separated values)public javax.ws.rs.core.Response sendThreshold(String deviceId, String threshold)
AndroidSenseServicesendThreshold in interface AndroidSenseServicedeviceId - The registered device Id.threshold - The key words to be sent. (Comma separated values)public javax.ws.rs.core.Response removeKeyWords(String deviceId, String words)
AndroidSenseServiceremoveKeyWords in interface AndroidSenseServicepublic javax.ws.rs.core.Response getAndroidSenseDeviceStats(String deviceId, String sensor, long from, long to)
AndroidSenseServicegetAndroidSenseDeviceStats in interface AndroidSenseServicepublic javax.ws.rs.core.Response register(String deviceId, String deviceName)
AndroidSenseServiceregister in interface AndroidSenseServiceCopyright © 2017 WSO2. All rights reserved.