public class DeviceEventRequestBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DeviceEventRequestBuilder.AssignmentScope |
Constructor and Description |
---|
DeviceEventRequestBuilder(IDeviceManagement deviceManagement,
IDeviceEventManagement eventManagement) |
Modifier and Type | Method and Description |
---|---|
DeviceEventRequestBuilder.AssignmentScope |
forAssignment(java.lang.String assignmentToken) |
DeviceEventRequestBuilder.AssignmentScope |
forSameAssignmentAs(DeviceEventSupport support) |
DeviceEventRequestBuilder.AssignmentScope |
forSameAssignmentAs(IDeviceEvent event) |
IDeviceManagement |
getDeviceManagement() |
IDeviceEventManagement |
getEventManagement() |
DeviceAlertCreateRequest.Builder |
newAlert(java.lang.String type,
java.lang.String message) |
DeviceCommandInvocationCreateRequest.Builder |
newCommandInvocation(java.lang.String commandName,
java.lang.String target) |
DeviceLocationCreateRequest.Builder |
newLocation(double latitude,
double longitude) |
DeviceMeasurementsCreateRequest.Builder |
newMeasurements() |
void |
setDeviceManagement(IDeviceManagement deviceManagement) |
void |
setEventManagement(IDeviceEventManagement eventManagement) |
public DeviceEventRequestBuilder(IDeviceManagement deviceManagement, IDeviceEventManagement eventManagement)
public DeviceLocationCreateRequest.Builder newLocation(double latitude, double longitude)
public DeviceMeasurementsCreateRequest.Builder newMeasurements()
public DeviceAlertCreateRequest.Builder newAlert(java.lang.String type, java.lang.String message)
public DeviceCommandInvocationCreateRequest.Builder newCommandInvocation(java.lang.String commandName, java.lang.String target)
public DeviceEventRequestBuilder.AssignmentScope forSameAssignmentAs(DeviceEventSupport support)
public DeviceEventRequestBuilder.AssignmentScope forSameAssignmentAs(IDeviceEvent event)
public DeviceEventRequestBuilder.AssignmentScope forAssignment(java.lang.String assignmentToken)
public IDeviceManagement getDeviceManagement()
public void setDeviceManagement(IDeviceManagement deviceManagement)
public IDeviceEventManagement getEventManagement()
public void setEventManagement(IDeviceEventManagement eventManagement)