Skip to main content

Scene Value

Start from SDK library version 1.2.0.

The scene value describes a path in which a user enters a Mini Program. For the definition of the scene value, refer to Scene Value List.

Obtaining the scene value#

Developers can obtain the scene value onLaunch and onShow in App or via bn.getLaunchOptions.

Scene Value List#

Scene Value IDDescription
1001second floor
1002second floor - recent used
1003main entrance - home
1004main entrance - more
1005second floor - search
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