# TCPSocket.offMessage(function callback)

with Promise style call: Not supported

Mini Program plugin: Not supported

Cancels listening to trigger this event when data is received

# parameter

# function callback

The callback function that triggers the event when data is received

The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.