In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article "what is the use of wx.vibrateShort in Mini Program development" in addition to programmers, most people do not understand it. Today, in order to make you better understand "what is the use of wx.vibrateShort in Mini Program development", the editor summed up the following contents, which have a certain reference value. The detailed steps are clear and the details are handled properly. I hope you can get something through this article. Next let's take a look at the specific content.
Wx.vibrateShort (OBJECT)
The basic library 1.2.0 is supported, and the lower version needs to be compatible.
Make the phone vibrate for a short time (15ms)
OBJECT parameter description:
Required description for parameter name type
SuccessFunction No API calls a successful callback function
FailFunction No API calls a failed callback function
CompleteFunction No API calls the callback function that ends (both successful and failed calls will be executed)
Bug & Tip
Tip:vibrateShort API only works on iPhone7/iPhone7Plus and Android models.
Tip: getScreenBrightness interface if the automatic brightness adjustment function is enabled in Android settings, the screen brightness will be automatically adjusted according to the light. This interface can only obtain the value before the automatic brightness adjustment, not the real-time luminance value.
What does Mini Program mean? Mini Program is an application that can be used without download and installation. It can be used immediately by scanning a QR code or searching it. It is easy to operate and easy to spread. It can achieve seven major functions, such as message notification, offline code scanning, official account association, and so on. It is based on Wechat, similar to APP. You can use it whenever you want. After using it, you will leave without taking up memory.
Thank you for your reading. I hope you have a certain understanding of the key question of "what is the use of wx.vibrateShort in Mini Program development?" the specific usage still needs to be understood by everyone through hands-on experiments. Go and try it. If you want to read more articles about relevant knowledge points, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.