public class DevicesApi
extends java.lang.Object
| Constructor and Description | 
|---|
DevicesApi(DevicesService devicesService)
Constructs Devices API endpoint initialized with corresponding service class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ApplySecureConfigRequestExecutor | 
applySecureConfigs(Config... configs)
Provides executor that can be used to apply secure configs on devices. 
 | 
ApplySecureConfigRequestExecutor | 
applySecureConfigs(java.util.List<Config> configs)
Provides executor that can be used to apply secure configs on devices. 
 | 
AssignDeviceRequestExecutor | 
assign(java.lang.String... uniqueIds)
Provides executor that can be used to assign devices either to venue or to manager. 
 | 
AssignDeviceRequestExecutor | 
assign(java.util.UUID... deviceIds)
Provides executor that can be used to assign devices either to venue or to manager. 
 | 
CredentialsListRequestExecutor | 
credentials(java.util.List<java.lang.String> uniqueIds)
Provides executor that can be used to obtain multiple device credentials. 
 | 
CredentialsRequestExecutor | 
credentials(java.lang.String uniqueId)
Provides executor that can be used to obtain single device credentials. 
 | 
TelemetryRequestExecutor | 
decryptTelemetry(java.lang.String eid,
                java.lang.String etlmFrame)
Provides executor that can be used to decrypt encrypted TLM frame 
 | 
EddystonesRequestExecutor | 
eddystones()
Provides executor that can be used to obtain Eddystone devices. 
 | 
DevicesRequestExecutor | 
fetch()
Provides executor that can be used to obtain devices. 
 | 
DevicesFromUrlRequestExecutor | 
fetchFromUrl(java.lang.String url)
Provides executor responsible for loading devices from URL. 
 | 
IBeaconsRequestExecutor | 
ibeacons()
Provides executor that can be used to obtain iBeacon devices. 
 | 
MoveDeviceRequestExecutor | 
move(java.util.List<java.lang.String> uniqueIds)
Provides executor that can be used to move devices to another manager or company. 
 | 
MoveDeviceRequestExecutor | 
move(java.lang.String... uniqueIds)
Provides executor that can be used to move devices to another manager or company. 
 | 
RegisterDeviceRequestExecutor | 
register(java.lang.String sourceId)
Provides executor that can be used to register the device. 
 | 
ShareDeviceRequestExecutor | 
share(java.util.List<java.lang.String> uniqueIds)
Provides executor that can be used to share devices with other managers. 
 | 
ShareDeviceRequestExecutor | 
share(java.lang.String... uniqueIds)
Provides executor that can be used to share devices with other managers. 
 | 
UnassignDeviceRequestExecutor | 
unassignFromVenue(java.util.List<java.lang.String> uniqueIds)
Provides executor that can be used to unassign devices from venue. 
 | 
UnassignDeviceRequestExecutor | 
unassignFromVenue(java.lang.String... uniqueIds)
Provides executor that can be used to unassign devices from venue. 
 | 
UnshareDeviceRequestExecutor | 
unshare(java.util.List<java.lang.String> uniqueIds)
Provides executor that can be used to unshare devices from managers. 
 | 
UnshareDeviceRequestExecutor | 
unshare(java.lang.String... uniqueIds)
Provides executor that can be used to unshare devices from managers. 
 | 
UpdateDeviceRequestExecutor | 
update(java.lang.String uniqueId)
Provides executor that can be used to update a device. 
 | 
public DevicesApi(DevicesService devicesService)
devicesService - the actions API service.public DevicesRequestExecutor fetch()
public DevicesFromUrlRequestExecutor fetchFromUrl(java.lang.String url)
url - the URL.public EddystonesRequestExecutor eddystones()
public IBeaconsRequestExecutor ibeacons()
public CredentialsRequestExecutor credentials(java.lang.String uniqueId)
uniqueId - the device's unique identifier.public CredentialsListRequestExecutor credentials(java.util.List<java.lang.String> uniqueIds)
uniqueIds - device unique identifiers.public TelemetryRequestExecutor decryptTelemetry(java.lang.String eid, java.lang.String etlmFrame)
eid - eddystone EIDetlmFrame - encrypted TLM framepublic UpdateDeviceRequestExecutor update(java.lang.String uniqueId)
uniqueId - the device's unique identifier.public AssignDeviceRequestExecutor assign(java.util.UUID... deviceIds)
deviceIds - device unique identifiers.public AssignDeviceRequestExecutor assign(java.lang.String... uniqueIds)
uniqueIds - device unique identifiers.public UnassignDeviceRequestExecutor unassignFromVenue(java.lang.String... uniqueIds)
uniqueIds - device unique identifiers.public UnassignDeviceRequestExecutor unassignFromVenue(java.util.List<java.lang.String> uniqueIds)
uniqueIds - device unique identifiers.public MoveDeviceRequestExecutor move(java.lang.String... uniqueIds)
uniqueIds - device unique identifiers.public MoveDeviceRequestExecutor move(java.util.List<java.lang.String> uniqueIds)
uniqueIds - device unique identifiers.public ShareDeviceRequestExecutor share(java.lang.String... uniqueIds)
uniqueIds - device unique identifiers.public ShareDeviceRequestExecutor share(java.util.List<java.lang.String> uniqueIds)
uniqueIds - device unique identifiers.public UnshareDeviceRequestExecutor unshare(java.lang.String... uniqueIds)
uniqueIds - device unique identifiers.public UnshareDeviceRequestExecutor unshare(java.util.List<java.lang.String> uniqueIds)
uniqueIds - device unique identifiers.public ApplySecureConfigRequestExecutor applySecureConfigs(Config... configs)
configs - secure configs.public ApplySecureConfigRequestExecutor applySecureConfigs(java.util.List<Config> configs)
configs - secure configs.public RegisterDeviceRequestExecutor register(java.lang.String sourceId)
sourceId - device's ID.