Partager via


com.microsoft.azure.sdk.iot.device

The API for a device to communicate with an IoT Hub.

Classes

BatchMessage

Used to construct batch messages to be sent to the IoT Hub com.microsoft.azure.sdk.iot.device.InternalClient#sendEventBatchAsync(List, IotHubEventCallback, Object)

ClientOptions

Options that allow configuration of the device client instance during initialization.

CustomLogger

Deprecated as of Device client version 1.18.0, sdk now calls SLF4J directly instead and will not be replacing this class with anything

DeviceClient

The public-facing API.

DeviceClientConfig

Configuration settings for an IoT Hub client.

DeviceIO

The task scheduler for sending and receiving messages for the Device Client

InternalClient
IotHubConnectionString

Parser for the Iothub connection string.

Message
MessageProperty

An IoT Hub message property.

ModuleClient

Public API for communicating from Edge Modules.

MultiplexingClient

A client for creating multiplexed connections to IoT Hub.

MultiplexingClientOptions

The optional settings for creating a MultiplexingClient.

ObjectLock

This class enables mocking of the base class wait and notify functions

ProductInfo

Represents the complete user agent string to be included in all D2C communication.

ProxySettings
ReportedPropertiesParameters

Convenience class for the sendReportedProperties method in the DeviceClient

ResponseMessage

Extend Message to support status response

TransportClient

Deprecated

This client has been replaced with MultiplexingClient since this client does not support adding or removing devices once the connection has been established. MultiplexingClient allows for adding and removing of devices from multiplexed connections before or after opening the connection.

Interfaces

CorrelatingMessageCallback

This interface has a number of call backs to notify when a message is in a specific part of the IotHubTransport lifecycle.

IotHubConnectionStateCallback

An interface for an IoT Hub connection state callback.

IotHubConnectionStatusChangeCallback

Callback interface for allowing users to respond to changes in the connectivity of this sdk to Iot Hub.

IotHubEventCallback

An interface for an IoT Hub event callback.

IotHubResponseCallback

An interface for an IoT Hub response callback.

MessageCallback

An interface for an IoT Hub message callback.

SasTokenProvider

Interface for allowing users to control SAS token generation.

Enums

DeviceClientConfig.AuthType
FeedbackStatusCodeEnum
IotHubClientProtocol

The application-layer protocol used by the client to communicate with an IoT Hub.

IotHubConnectionState

The IoT Hub connection state value.

IotHubConnectionStatusChangeReason
IotHubMessageResult

A return value from a message callback that instructs an IoT Hub to complete, abandon, or reject the message.

IotHubMethod

Generic IoT Hub Method.

IotHubStatusCode

An IoT Hub status code.

MessageType

The IoTHub message type

TransportClient.TransportClientState