| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.device |
The API for a device to communicate with an IoT Hub.
|
| Modifier and Type | Method and Description |
|---|---|
static ModuleClient |
ModuleClient.createFromEnvironment(UnixDomainSocketChannel unixDomainSocketChannel,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Create a module client instance from your environment variables
|
| Constructor and Description |
|---|
DeviceClient(java.lang.String connectionString,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Constructor that takes a connection string as an argument.
|
DeviceClient(java.lang.String hostName,
java.lang.String deviceId,
SasTokenProvider sasTokenProvider,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Constructor that allows for the client's SAS token generation to be controlled by the user.
|
DeviceClient(java.lang.String uri,
java.lang.String deviceId,
com.microsoft.azure.sdk.iot.provisioning.security.SecurityProvider securityProvider,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Creates a device client that uses the provided security provider for authentication.
|
ModuleClient(java.lang.String connectionString,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Constructor for a ModuleClient instance.
|
ModuleClient(java.lang.String hostName,
java.lang.String deviceId,
java.lang.String moduleId,
SasTokenProvider sasTokenProvider,
IotHubClientProtocol protocol,
ClientOptions clientOptions)
Constructor that allows for the client's SAS token generation to be controlled by the user.
|
Copyright © 2023. All rights reserved.