# wx.onVoIPChatStateChanged(function callback)

Start from base library version 2.16.0. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Not supported

Monitor room state change events.

# parameter

# function callback

Callback function for room state change events

# parameter

# Object res
attribute type Introductions
code Number Event code
data object Additional information
errCode Number Error code
errMsg String Call result