CloudToDeviceMethod Class

The parameters to execute a direct method on the device.

Inheritance
CloudToDeviceMethod

Constructor

CloudToDeviceMethod(**kwargs)

Parameters

method_name
str
Required

The name of the method to execute.

payload
object
Required

The JSON-formatted direct method payload, up to 128kb in size.

response_timeout_in_seconds
int
Required
connect_timeout_in_seconds
int
Required