ServiceClient.sendAsync(String deviceId, Message message) 方法

定义

Provide asynchronous access to send()

public CompletableFuture<Void> sendAsync(String deviceId, Message message)

参数

deviceId
String

The device identifier for the target device

message
Message

The message for the device

返回

CompletableFuture<Void>

The future object for the requested operation

适用于