Start a work thread for receiving asynchronous messages and receiving that a message of the “Send Speech Recognition Command”. Default port number for the listener is 46100.
If you want to change the port number, need to set ‘ReceivePort‘ property when this method call before.
Syntax
- C#: public void startAsynchronousListener()
- Ruby: startAsynchronousListener()
- Python: startAsynchronousListener()
Parameters
None
Return
None
Remarks
Supported version: SDK 2.0.0 and Haruzira 2.0.0 later
Examples
C#
1 2 |
ClientTcpCommunication cltComm = new ClientTcpCommunication(); cltComm.startAsynchronousListener(); |
Ruby
1 2 |
cltComm = ClientTcpCommunication.new cltComm.startAsynchronousListener |
Python
1 2 |
clt_comm = hz_client_tcp_communication.ClientTcpCommunication() clt_comm.startAsynchronousListener() |