Scene Value
Beginning with SDK library version 1.2.0
The scene value describes a path in which a user enters a Mini Program. You can refer to the Scene Value List for a detailed definition of the scene value.
#
Retrieve the scene valueDevelopers have the ability to obtain the scene value using onLaunch
and onShow
in the App or through the bn.getLaunchOptions
method.
#
Scene Value ListScene Value ID | Description |
---|---|
1000 | others |
1001 | second floor |
1002 | second floor - recent used |
1003 | main entrance - home |
1004 | main entrance - more |
1005 | second floor - search |
1009 | banner |
1010 | favirote |
1011 | qrcode |
1014 | push notification |
1027 | second floor - search - used apps |
1037 | open by mini program app |
1038 | return from mini program app |
1054 | search, quick entrance |
1300 | short link |
1301 | webview bridge |
1135 | related apps in the about page |
1103 | Lite mode home page |