# wmpf.Channel.unregisterEvent(Object object)
Deregistration of third parties App Service events
# parameter
# Object object
attribute | type | Default value | Required | Introductions |
---|---|---|---|---|
event | string | yes | Event name to be written off | |
success | function | no | Interface calls a successful callback function | |
fail | function | no | Interface call failed callback function | |
complete | function | no | The callback function at the end of the interface call (the call is executed on success or failure) |
# sample code
wmpf.Channel.unregisterEvent({
event: 'test',
success(res) {
console.log(res)
}
})