Skip to content

UDPSocket.onClose

js
    UDPSocket.onClose(function callback)

监听关闭事件

参数

  • function callback: 关闭事件的回调函数