public interface AndroidSenseService
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
|
javax.ws.rs.core.Response sendKeyWords(String deviceId, String keywords)
deviceId
- The registered device Id.keywords
- The key words to be sent. (Comma separated values)javax.ws.rs.core.Response sendThreshold(String deviceId, String threshold)
deviceId
- The registered device Id.threshold
- The key words to be sent. (Comma separated values)javax.ws.rs.core.Response removeKeyWords(String deviceId, String words)
javax.ws.rs.core.Response getAndroidSenseDeviceStats(String deviceId, String sensor, long from, long to)
Copyright © 2017 WSO2. All rights reserved.