tencent cloud

Feedback

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,
    
    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 avaliable.

    7x24 Phone Support