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
1000others
1001second floor
1002second floor - recent used
1003main entrance - home
1004main entrance - more
1009banner
1011qrcode
1014push notification
1037open by mini program app
1038return from mini program app