DigitalTwinAsyncClient Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. digitaltwin. DigitalTwinAsyncClient
- com.
public class DigitalTwinAsyncClient
The Digital Twins Service Client contains asynchronous methods to retrieve and update digital twin information, and invoke commands on a digital twin device.
Constructor Summary
Constructor | Description |
---|---|
DigitalTwinAsyncClient(String connectionString) |
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features |
DigitalTwinAsyncClient(String hostName, AzureSasCredential azureSasCredential) |
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features |
DigitalTwinAsyncClient(String hostName, AzureSasCredential azureSasCredential, DigitalTwinClientOptions options) |
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features |
DigitalTwinAsyncClient(String connectionString, DigitalTwinClientOptions options) |
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features |
DigitalTwinAsyncClient(String hostName, TokenCredential credential) |
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features |
DigitalTwinAsyncClient(String hostName, TokenCredential credential, DigitalTwinClientOptions options) |
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features |
Method Summary
Constructor Details
DigitalTwinAsyncClient
public DigitalTwinAsyncClient(String connectionString)
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features
Parameters:
DigitalTwinAsyncClient
public DigitalTwinAsyncClient(String hostName, AzureSasCredential azureSasCredential)
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features
Parameters:
DigitalTwinAsyncClient
public DigitalTwinAsyncClient(String hostName, AzureSasCredential azureSasCredential, DigitalTwinClientOptions options)
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features
Parameters:
DigitalTwinAsyncClient
public DigitalTwinAsyncClient(String connectionString, DigitalTwinClientOptions options)
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features
Parameters:
DigitalTwinAsyncClient
public DigitalTwinAsyncClient(String hostName, TokenCredential credential)
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features
Parameters:
DigitalTwinAsyncClient
public DigitalTwinAsyncClient(String hostName, TokenCredential credential, DigitalTwinClientOptions options)
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features
Parameters:
Method Details
createFromConnectionString
public static DigitalTwinAsyncClient createFromConnectionString(String connectionString)
Creates an implementation instance of DigitalTwins that is used to invoke the Digital Twin features
Parameters:
Returns:
getDigitalTwin
public
Gets a digital twin.
Parameters:
Returns:
getDigitalTwinWithResponse
public
Gets a digital twin.
Parameters:
Returns:
invokeCommand
public Observable
Invoke a command on a digital twin.
Parameters:
Returns:
invokeCommand
public Observable
Invoke a command on a digital twin.
Parameters:
Returns:
invokeCommandWithResponse
public Observable
Invoke a command on a digital twin.
Parameters:
Returns:
invokeComponentCommand
public Observable
Invoke a command on a digital twin component.
Parameters:
Returns:
invokeComponentCommand
public Observable
Invoke a command on a digital twin component.
Parameters:
Returns:
invokeComponentCommandWithResponse
public Observable
Invoke a command on a digital twin component.
Parameters:
Returns:
updateDigitalTwin
public Observable
Azure SDK for Java