bn.getEnterOptionsSync
• getEnterOptionsSync: () => LaunchShowOptions
description
Gets the parameters when the applet starts. If the current startup is cold, the return value is the same as the callback parameter for onLaunch
; If the current is a hot start, the return value is the same as onShow
.
example
Type declaration
▸ (): LaunchShowOptions
Returns
LaunchShowOptions
#
LaunchShowOptionsƬ LaunchShowOptions: Object
Type declaration
Name | Type |
---|---|
path | string |
query | Query |
scene | number |
referrerInfo? | { appId? : string ; extraData? : object } |
referrerInfo.appId? | string |
referrerInfo.extraData? | object |
#
QueryƬ Query: Object