# Scenarios Values

Start from base library version 1.1.0. Please remaining backward compatible.

The scene value describes the user's path to Weixin Mini Program.See List of Scene Values for the full meaning of scene values.

Due to Android system limitations, it is not possible to obtain a scene value for exiting to the desktop with the Home button and then entering Weixin Mini Program again from the desktop, in which case the previous scene value is retained.

# Get a scene value

Developers can obtain a scene value by:

# Scenarios for returning source information

You can also get the appId of the source app, Official Account or Weixin Mini Program under some scenario values.Please refer to the reference documentation for the corresponding API for obtaining.

Scenarios Values scene AppId meaning
1020 Official Account profile Related Weixin Mini Program List Source Official Account
1035 Official Account Custom menu Source Official Account
1036 App Share Message Cards SourceApp
1037 Weixin Mini Program Open Mini Programs Source Weixin Mini Program
1038 Return from another Weixin Mini Program Source Weixin Mini Program
1043 Official Account Template message Source Official Account
1069 Mobile App SourceApp