tencent cloud

SDK Introduction
Last updated:2026-02-08 07:02:13
SDK Introduction
Last updated: 2026-02-08 07:02:13

Product Introduction

Our product consists of three parts: management console, client SDK and mini program development tool (IDE). 

Management console: This is the console for managing mini programs, applications, and mini program operations.
Client: This refers to the mobile client application integrated with the mini program SDK. The SDK provides a runtime environment for mini programs within the client application.
Developer tools: Developers use the mini program IDE for developing, debugging, and submitting versions of mini programs. The mini program preview assistant is used for previewing and validating mini programs on mobile clients.

How the mini program SDK Works


The mini program SDK provides a runtime environment for mini programs within client apps. It communicates with the product backend to fetch mini program information and loads and runs the mini programs in the provided runtime environment.

Mini program SDK description

To keep the SDK lightweight and modular, it is divided into two categories: core SDK (mini_core) and extension SDKs.
Core SDK: Provides the minimal environment required to load and run mini programs. Users must integrate the core SDK to utilize basic mini program capabilities.
Extension SDKs: Provide additional features that users can integrate based on their needs.
Mini program SDKs:
SDK name
Description
Usage notes
Package size
SDK size

Core SDK (mini_core)

Provides the minimal runtime environment for loading mini programs.
-
~4.7 MB
~4.6 MB
Base Library SDK (mini_baselib)
Provides the basic environment for loading mini programs.
-
~2.1 MB
~1.8 MB
Annotation Processor SDK (mini_annotation_processor)
Provides annotations related to the Mini Program SDK
-
~128.7 KB
~23 KB
QR code extension SDK (mini_extra_qrcode)
Provides QR code scanning capabilities.
For details, see SDK extension components
32-bit: ~1.5 MB;
64-bit: ~1.78 MB.
~2.6 MB
Map extension SDK - Tencent Maps version (mini_extra_map)
Supports Tencent Maps for location and map services.
Requires Tencent Maps SDK and dependencies. For details, see SDK extension components
About 115.4 KB, the volume does not include Tencent Map SDK
~149 KB
Map extension SDK - Huawei Maps version (mini_extra_huawei_map)
Supports Huawei Maps for location and map services.
Requires Huawei Maps SDK and dependencies. For details, see SDK extension components
~236.8KB (excluding Huawei Maps SDK)
~236.8KB (excluding Huawei Maps SDK)
Map extension SDK - Google Maps Version (mini_extra_google_map)
Supports Google Maps for location and map services.
Requires Google Maps SDK and dependencies. For details, see SDK extension components
~156.6KB (excluding Google Maps SDK)
~149KB (excluding Google Maps SDK)
Live streaming extension SDK (mini_extra_trtc_live)
Provides live streaming capabilities for mini programs.
Requires Tencent TRTC dependencies. For details, see SDK extension components
~101.6 KB (excluding Tencent TRTC SDK)
~71 KB (excluding Tencent TRTC SDK)
LBS extension SDK (mini_extra_lbs)
Provides location-based services for mini programs.
For details, see SDK extension components
~50.4 KB
~49 KB
Bluetooth extension SDK (mini_extra_bluetooth)
Provides Bluetooth API access for mini programs.
For details, see SDK extension components
~150.8 KB
~114 KB
NFC extension SDK (mini_extra_nfc)
Provides NFC API access for mini programs.
For details, see SDK extension components
~58 KB
~42 KB
Biometric authentication extension SDK (mini_extra_soter)
Provides biometric authentication API access for mini programs.
For details, see SDK extension components
~75.8 KB
~55 KB
Clipboard extension SDK (mini_extra_clipboard)
Provides clipboard access for mini programs.
For details, see SDK extension components
~33.8 KB
~21 KB
Contacts extension SDK (mini_extra_contact)
Provides contacts API access for mini programs.
For details, see SDK extension components
~83.7 KB
~50 KB
Document engine extension SDK (mini_extra_doc)
Provides document preview capabilities for mini programs.
Requires Tencent Document SDK. For details, see SDK extension components
~84.9KB
~40 KB
Media extension SDK (mini_extra_media_support)
Provides media selection API access for mini programs.
For details, see SDK extension components
~496 KB
~495 KB
Player Mobile Premium Version extension SDK
(mini_extra_video)
Provide capability support for Tencent Super Player interface
It needs to be used in conjunction with Tencent Super Player SDK and purchase a player license.
~32.9 KB
~26 KB
Short Drama Extension SDK (mini_extra_playlet)
Provides support for loading short drama content
It needs to be used in conjunction with Tencent Super Player SDK and purchase a player license.
~102.7 KB
~62 KB
PDF Extension SDK (mini_extra_pdf)
Provides support for opening PDF documents
For details, see SDK extension components
~103.9 KB
~39 KB
WiFi Extension SDK (mini_extra_wifi)
Provides support for WiFi management capabilities
For details, see SDK extension components
~91.6 KB
~56 KB
Network Extension SDK (mini_extra_network)
Provides support for TCP/UDP communication
For details, see SDK extension components
~104.9 KB
~71 KB
Mini Game Extension SDK (mini_extra_mbengine)
Provides mini game engine implementation support
For details, see SDK extension components
32-bit: ~13.3 MB;
64-bit: ~15.5 MB.
~27.3 MB
Google Ad Extension SDK (mini_extra_admob)
Provides support for loading Google AdMob advertisements
For details, see SDK extension components
~8.5 MB
~41 KB

Player Integration: Package Size Statistics Table

No.
Feature Combination
SDK Used
Package Size Increase
1
Live Streaming
TXLiteAVSDK_Live
~12.4 MB (32-bit: ~6.2 MB, 64-bit: ~7.1 MB)
2
Player Mobile Premium Version
TXLiteAVSDK_Player_Premium
~13.5 MB (32-bit: ~7.3 MB, 64-bit: ~7.9 MB)
3
Short Drama
LiteAVSDK_Professional_Player_Premium
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
4
Live + Player Mobile Premium Version
LiteAVSDK_Professional_Player_Premium
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
5
Live + Short Drama
LiteAVSDK_Professional_Player_Premium
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
6
Live + Adv. Player + Short Drama
LiteAVSDK_Professional_Player_Premium
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
7
Adv. Player + Short Drama
LiteAVSDK_Professional_Player_Premium
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
TXLiteAVSDK_Live
Combination
Package Size Increase
Live Streaming
~12.4 MB (32-bit: ~6.2 MB, 64-bit: ~7.1 MB)
TXLiteAVSDK_Player_Premium
Combination
Package Size Increase
Player Mobile Premium Version
~13.5 MB (32-bit: ~7.3 MB, 64-bit: ~7.9 MB)
LiteAVSDK_Professional_Player_Premium
Feature Combination
Package Size Increase
Live Streaming
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
Player Mobile Premium Version
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
Short Drama
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
Live + Player Mobile Premium Version
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
Live + Short Drama
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
Live + Adv. Player + Short Drama
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)
Adv. Player + Short Drama
~23.2 MB (32-bit: ~11.8 MB, 64-bit: ~14 MB)

Optimization Recommendations

1. Live Streaming Only: Use TXLiteAVSDK_Live .
2. Player Features Only: Use TXLiteAVSDK_Player_Premium .
3. Multiple Features: Use LiteAVSDK_Professional_Player_Premium for the best balance of features and size efficiency when requiring more than one capability.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback