跳到主要内容

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 value

Developers have the ability to obtain the scene value using onLaunch and onShow in the App or through the bn.getLaunchOptions method.

Scene Value List

Scene Value IDDescription
1000others
1001second floor
1002second floor - recent used
1003main entrance - home
1004main entrance - more
1005second floor - search
1009banner
1010favirote
1011qrcode
1014push notification
1027second floor - search - used apps
1037open by mini program app
1038return from mini program app
1054search, quick entrance
1300short link
1301webview bridge
1135related apps in the about page
1103Lite mode home page