# Object getPluginOnloadOptions()

plug-in 2.2.3 Version Start Support

ObtainPlugin Call Page Open(onLoad)timeParameters in the page path.

Note: When getting parameters, if the plug-in call page onLoad has not been triggered, it may not get the latest value.Suggested in the callPageOnShow Called after the event.

# parameter

nothing

# Return value

# Object

Plugin Page onLoad Life-cycle query parameter

# sample code

const wmpfVoip = requirePlugin('wmpf-voip' ).default

let query = {}

wmpfVoip.onVoipEvent((event) => {
  if (event.eventName === 'callPageOnShow') {
    query = wmpfVoip.getPluginOnloadOptions()
  }
})