DeviceClientConfig.setMessageCallback 方法

重载

setMessageCallback(MessageCallback callback, Object context)

Setter for the message callback. Can benull 

</code> . </p>

setMessageCallback(String inputName, MessageCallback callback, Object context)

setMessageCallback(MessageCallback callback, Object context)

public void setMessageCallback(MessageCallback callback, Object context)

Setter for the message callback. Can benull 

</code> . </p>

参数

callback
MessageCallback

the message callback. Can benull 

</code> . </p>

context
Object

the context to be passed in to the callback.

setMessageCallback(String inputName, MessageCallback callback, Object context)

public void setMessageCallback(String inputName, MessageCallback callback, Object context)

参数

inputName
String
callback
MessageCallback
context
Object

适用于