public interface VirtualFireAlarmService
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
downloadSketch(String deviceName,
String sketchType) |
javax.ws.rs.core.Response |
getVirtualFirealarmStats(String deviceId,
long from,
long to)
Retrieve Sensor data for the device type
|
javax.ws.rs.core.Response |
switchBuzzer(String deviceId,
String state)
This is an API called/used from within the Server(Front-End) or by a device Owner.
|
static final String SCOPE
javax.ws.rs.core.Response switchBuzzer(String deviceId, String state)
deviceId
- the ID of the VirtualFirealarm device on which the buzzer needs to switched `ON` or `OFF`.state
- the state to which the buzzer on the device needs to be changed. Either "ON" or "OFF".
(Case-Insensitive String)javax.ws.rs.core.Response getVirtualFirealarmStats(String deviceId, long from, long to)
Copyright © 2017 WSO2. All rights reserved.