Home>Article>WeChat Applet> What does mini program interface mean?
The mini program interface means a universal data exchange channel for tools developed by other third parties to interface with WeChat. It is one of the two types of interfaces provided by the system for users. Programmers use program interfaces to Request the system to provide services.
The applet interface meansa universal data exchange channel for tools developed by other third parties to interface with WeChat; just like the general The water pipe will separate many interfaces for a single user to use the same reason.
is easier to understand;
Interfaceis one of the two types of interfaces provided by the system for users. Programmers request the system to provide services through the program interface in the program. The most basic units of a process-oriented language are procedures and
functions.
New capabilities of the mini program development interface
1. Open low-power Bluetooth communication interface
The mini program can search and connect to peripherals Bluetooth device and exchange data with it.
2. Open card and coupon capability interface
Users can quickly receive membership cards in service accounts or mini programs. At the same time, they support the use of mini program services within the membership card to enjoy membership rights.
Note: Only membership cards are supported
3. Sharing WeChat communication address interface
With user authorization, the mini program can directly obtain the user’s communication address saved in WeChat. No more making users re-enter.
4. Open the mini program settings page interface
Developers can guide users to quickly enter the settings page and manage various authorizations for the current mini program, such as whether to allow access to nicknames, avatars, geographical locations, etc. .
5. Sub-package loading interface
The applet can support being divided into multiple packages, each package does not exceed 2M, and the total size does not exceed 4M. Developers can download only specified packages based on user needs instead of downloading all packages. This improves download and opening speeds.
6. Custom component interface
Developers can write various reusable components for their own use or even open source them to everyone. Reduce the workload of repeated development, and some excellent components can also be promoted to other developers.
7. Wi-Fi interface
In the mini program, you can search for nearby Wi-Fi, or connect to the designated Wi-Fi after knowing the password. Refer to the mini program: "WiFi One-Click Connection". This capability used to be a low-level capability of Android and iOS operating systems, and all APPs could use it without authorization.
8. hce mode of NFC interface (Android only)
After the user opens the mini program, he can call this interface to simulate the mobile phone into a specified card. For example, access control cards and bus cards can be swiped by bringing your mobile phone close to the gate. This capability used to be a low-level capability of the Android operating system. After the user sets the specified app as an hce simulation application in the system settings, the app can have this capability. Therefore, before using the hce interface of the mini program, the user needs to manually set up the WeChat simulation application first. Refer to the mini program: "WeChat Pay Charge Cloud".
9. Embedded web page function ce mode (Android only)
In order to support developers to quickly migrate web page functions to mini programs, or to facilitate the use of frequently changing active web pages in mini programs, The mini program has added the web-view interface capability.
Related learning recommendations:WeChat Mini Program Development Tutorial
The above is the detailed content of What does mini program interface mean?. For more information, please follow other related articles on the PHP Chinese website!