AndroidSocket
AndroidSocket is a way to communicate with a process launched on the AndroidDevice. Use androidDevice.open(command) to open a socket.
androidSocket.on('close')
Added in: v1.9Emitted when the socket is closed.
androidSocket.on('data')
Added in: v1.9- type: <Buffer>
Emitted when data is available to read from the socket.
androidSocket.close()
Added in: v1.9Closes the socket.
androidSocket.write(data)
Added in: v1.9Writes some data
to the socket.