RegistryManager.getModule(String deviceId, String moduleId) Method
Definition
Get module data by device Id and module Id from IotHub
public Module getModule(String deviceId, String moduleId)
Parameters
- deviceId
- java.lang.String
The id of requested device
- moduleId
- java.lang.String
The id of requested module
Returns
The module object of requested module on the specific device
Exceptions
java.io.IOException
This exception is thrown if the IO operation failed
This exception is thrown if the IO operation failed
com.google.gson.JsonSyntaxException
This exception is thrown if the IO operation failed