Job Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. devicetwin. Job
- com.
public class Job
Representation of a single Job scheduled on the Iothub.
Method Summary
Modifier and Type | Method and Description |
---|---|
Job |
cancel()
Cancel a current jod on the Io |
Job |
get()
Get the current job status on the iot |
java.lang.String |
getJobId()
Getter for the Job |
Methods inherited from java.lang.Object
Method Details
cancel
public JobResult cancel()
Cancel a current jod on the IoTHub
Returns:
Throws:
get
public JobResult get()
Get the current job status on the iotHub.
Returns:
Throws:
getJobId
public String getJobId()
Getter for the JobId.
Returns: