tencent cloud

All product documents
Tencent Cloud Super App as a Service
API Introduction
Last updated: 2024-11-21 18:04:43
API Introduction
Last updated: 2024-11-21 18:04:43

TMAVersionType

Mini program version
//Development version
   // Development version
   TMAVersionDevelop = 0,
 
   //Preview version
   // Preview version
   TMAVersionPreview = 1,
 
   //Reviewed version
   // Audit version
   TMAVersionAudit = 2,
 
   //Online version (released version)
   // Online version (release version)
   TMAVersionOnline = 3,
 
   //Local preloaded version, will not be updated (Not available currently)
   // Local preset version will not be updated (not used yet)
   TMAVersionLocal = 10,

TMAEntryScene

The scene where the mini program is opened.
   // Initialization value
   // initialization value
   TMAEntrySceneNone                                = 0,
 
   // Main entry
   // main entrance
   TMAEntrySceneAIOEntry                            = 1001,
 
   // Search
   // search
   TMAEntrySceneSearch                              = 1005,
 
   // Scan QR code
   //Scan QR code
   TMAEntrySceneScanQRCode                          = 1011,

MAShareTarget

   //Share to QQ
   // Share to QQ
   MAShareTargetQQ = 0,
 
   //Share to Qzone
   // Share to Qzone
   MAShareTargetQzone,
 
    | 2 | Share to QQ, quickly share to the current chat window |
   // Share to QQ, and share to the current chat window quickly
   MAShareTargetQQFastForward,
 
   //WeChat friends
   // WeChat friends
   MAShareTargetWXFriends,
 
   // WeChat Moments
   // WeChat Moments
   MAShareTargetWXMoment,
 
   //Quick sharing of recent contacts, triggered by clicking on the sharing panel
   // Quick sharing of recent contacts, triggered by clicking on the sharing
   MAShareTargetChatFastShare,
 
   // Share contacts quickly
   //Quickly share friends list
   MAShareTargetFastShareTable,
 
   //openId sharing, click and share the open data domain of the source mini game
   // openId sharing, click and share the open data domain of the source mini game
    MAShareTargetOpenIdShare,
   MAShareTargetGuild,

TMAAppLifeCycleType


TMAAppLifeCycleTypeNone,

TMAAppLifeCycleTypeonColdOpen,

TMAAppLifeCycleTypeonHotOpen,

TMAAppLifeCycleTypeOnShow,

TMAAppLifeCycleTypeOnHide,

TMAAppLifeCycleTypeOnClose,

TMAAppLifeCycleTypeTerminate,

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon