Public platform experience (2) JS-SDK, public js-sdk
The application has been applied for two or three days and has not been approved yet. Let's take a look at some documents and feel the new Feature:
Public platform today open to developers inside Web Development Kit (JS-SDK ).
Through the 11 class interface set provided by JS-SDK, developers can not only take pictures, select pictures, voice, location and other basic capabilities on the web page, you can also use the unique capabilities such as sharing, scanning, card coupons, and payment to provide users with a better Web experience.
JS-SDK mainly includes the following capabilities:
1. Sharing Interface
Users can click the "share to friends", "Send To friends", "share to QQ", and "share to Weibo" buttons, and customize the shared content.
2. Image Interfaces
Allows you to take photos, select images from mobile phone albums, upload images, download images, and preview images.
3. audio interfaces
Supports recording, playing, and pausing audio. It also supports fast voice uploading to cloud servers or downloading voice from cloud servers to webpages.
4. Smart Interfaces
Supports quick conversion of speech into text. Developers do not need to master the speech recognition technology, simply reference the methods provided by JS-SDK to achieve.
5. device information interfaces
You can obtain the network status of the current mobile phone device, such as 2g, 3g, 4g, or Wi-Fi, to provide a smooth browsing experience.
6. geographic location Interface
You can obtain your geographic location information (with your consent) and use a built-in map viewer to view the geographical location or navigation.
7. Interface operation Interfaces
You can hide or display specified buttons in the built-in browser, such as "menu in the upper right corner", "share to friends", "Send To friends", and "Copy link, you can close the current webpage window to return a public account session.
8. Scan the interface
You can scan a QR code or QR code by scanning the QR code, and submit the scanned content to the webpage for processing or returning it to the webpage.
9. Store Interface
You can jump from a webpage to a specified store product page. The product page allows you to view product details and complete purchase and customer service processes.
10. Coupon Interface
You can add coupons, view coupons, and call the coupon list.
11. Payment Interface
A public account with the payment permission can initiate a payment request on the webpage.
Experience address (please try in): JS-SDK Sample Page
How developers use: JS-SDK development documentation