wmpf.Channel.unregisterEvent(Object object)

View Markdown

Last edited on 2026-04-06

Unregisters the third-party app service event.

Parameters

Object object

Attribute Type Default Value Required Description
event string Yes The name of the event to be unsubscribed
success function No Callback function invoked when the API call succeeds
fail function No Callback function invoked when the API call fails
complete function No Callback function invoked when the API call finishes (executed upon success or failure)

Example Code

wmpf.Channel.unregisterEvent({
  event: 'test',
  success(res) {
    console.log(res)
  }
})