Actual case: interface known to be available for the JsApi Ticket

Source: Internet
Author: User

To obtain the ticket to adjust the interface, simple listing is as follows:

First, the basis of the basic category

1. WX.CHECKJSAPI (if the pre-client supports specifying JS)


Second, share the category

1, Wx.onmenusharetimeline (share to Friends Circle)
2, Wx.onmenushareappmessage (share to friends)
3, WX.ONMENUSHAREQQ (share to QQ)
4. Wx.onmenushareweibo (share to Weibo)
5, Wx.onmenushareqzone (share to QQ space)


Third, the picture category
1. Wx.chooseimage (Photo album)
2. Wx.previewimage (preview picture)
3, wx.uploadimage (upload pictures)
4, Wx.downloadimage (Download the picture)

Four, the audio message category
1. Wx.startrecord (Start recording)
2. Wx.stoprecord (Stop recording)
3, wx.onvoicerecordend (Monitoring audio Auto Stop)
4, Wx.playvoice (play the language)
5, Wx.pausevoice (pause to play the language)
6, Wx.stopvoice (stop playing the language)
7, Wx.onvoiceplayend (the director listens to the language to play after all)
8. Wx.uploadvoice (Upload language)
9, Wx.downloadvoice (Download the language)


Five, intelligent function
1, Wx.translatevoice (music information recognition results)
2. Wx.getnetworktype (Network State interface)
3, Wx.openlocation (built map to view the location)
4, Wx.getlocation (obtain geographical location)
5, wx.startsearchbeacons (open search Ibeancon equipment)
6, Wx.stopsearchbeacons (Close search around Ibeancon)
7, Wx.onsearchbeacons (monitoring of the periphery Ibeancon equipment)

Vi. operation of the interface

1, Wx.hideoptionmenu (hide the top right corner menu)
2, Wx.showoptionmenu (Demo menu in the upper right corner)
3, Wx.closewindow (close to the previous Web page)
4, Wx.hidemenuitems (hidden function button)
5. Wx.showmenuitems (Display function button)
6. Wx.hideallnonbasemenuitem (Hide all function buttons)
7. Wx.showallnonbasemenuitem (Display all function buttons)

Seven, scan

1, Wx.scanqrcode (scan)
2, Wx.openproductspecificview (jump product page)

Actual case: interface known to be available for the JsApi Ticket

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.