DigitalTwinsImpl.getDigitalTwinAsync 方法

定义

重载

getDigitalTwinAsync(String id)

Gets a digital twin.

getDigitalTwinAsync(String id, final ServiceCallback<Object> serviceCallback)

Gets a digital twin.

getDigitalTwinAsync(String id)

Gets a digital twin.

public Observable<Object> getDigitalTwinAsync(String id)

参数

id
String

Digital Twin ID.

返回

Observable<Object>

the observable to the Object object

例外

IllegalArgumentException

thrown if parameters fail the validation

替代

getDigitalTwinAsync(String id, final ServiceCallback<Object> serviceCallback)

Gets a digital twin.

public ServiceFuture<Object> getDigitalTwinAsync(String id, final ServiceCallback<Object> serviceCallback)

参数

id
String

Digital Twin ID.

serviceCallback
final ServiceCallback<Object>

the async ServiceCallback to handle successful and failed responses.

返回

ServiceFuture<Object>

the ServiceFuture object

例外

IllegalArgumentException

thrown if parameters fail the validation

替代

适用于