# wx.onVoIPChatInterrupted(function callback)

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

Listens on the real-time voice chat disconnection event, including the disconnection due to switching the Mini Game to the background.

# Parameters

# function callback

The callback function for the real-time voice chat disconnection event.

# Parameters

# Object res
Property Type Description
errCode Number Error code
errMsg String Call results (error cause)