跳到主要内容

Scene Value

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

Obtaining the scene value

Developers can obtain the scene value by calling bn.getLaunchOptionsSync and bn.onShow.

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