Methods

async static

end(deviceId, processId) → Promise containing ApiResponse

dispatches a command to end a process on the device

Parameters

Name Type Optional Description

deviceId

string

 

processId

string

 

Returns

Promise containing ApiResponse 

async static

goToNextPhase(deviceId, processId) → Promise containing ApiResponse

dispatches a command to transition a process on the device into the next phase

Parameters

Name Type Optional Description

deviceId

string

 

processId

string

 

Returns

Promise containing ApiResponse 

async static

pause(deviceId, processId) → Promise containing ApiResponse

dispatches a command to pause a process on the device

Parameters

Name Type Optional Description

deviceId

string

 

processId

string

 

Returns

Promise containing ApiResponse 

async static

resume(deviceId, processId) → Promise containing ApiResponse

dispatches a command to resume a process on the device

Parameters

Name Type Optional Description

deviceId

string

 

processId

string

 

Returns

Promise containing ApiResponse 

async static

start(deviceId, processId) → Promise containing ApiResponse

dispatches a command to start a process on the device

Parameters

Name Type Optional Description

deviceId

string

 

processId

string

 

Returns

Promise containing ApiResponse 

async static

updateRunning(deviceId, processId, params) → Promise containing ApiResponse

dispatches a command to update a running process on the device

Parameters

Name Type Optional Description

deviceId

string

 

processId

string

 

params

Object

 

Values in params have the following properties:

Name Type Optional Description

entryPhaseId

number

 

elapsedTime

number

 

Returns

Promise containing ApiResponse