Notification

Sets message

Send various types of message content to the watch.

_blePlugin.sendMessage(MessageBean info);

Parameter Description :

MessageBean:

valuevalue typevalue description
messageStringMessage content
typeintMessagetype(BleMessageType)
versionCodeintFirmware version (for example: MOY-AA2-1.7.6,which is 176)
isHsboolWhether the MCU is HS, please confirm the MCU
isSmallScreenboolIs the watch screen smaller than

BleMessageType:

valuevalue typevalue description
messagePhoneintphone
messageSmsintSMS
messageWechatintWeChat (Chinese Edition)
messageQQintQQ
messageFacebookintFACEBOOK
messageTwitterintTWITTER
messageWhatsappintWHATSAPP
messageWechatInintWeChat (International Edition)
messageInstagremintINSTAGREM
messageSkypeintSKYPE
messageKakaotalkintKAKAOTALK
messageLineintLINE
messageOtherintOther

End call

Only android support.
When the watch receives a push of a phone type message, the watch will vibrate for a fixed time. Call this interface to stop the watch from vibrating when the watch answers the call or hangs up the call.

_blePlugin.endCall;

Sets up other push notifications

Only ios support.
Enable or disable other push notifications

_blePlugin.setNotification(List<int> NotificationType);

Parameter Description :

NotificationType:

typecallsmswechatqqfacebooktwitterinstagramskypewhatsAppline
id0123456789
supportyesyesyesyesyesyesyesyesyesyes
typekakaoemailmessengerzalotelegramvibernateOngmailcalendadailyHunt
id10111213141516171819
supportyesyesyesyesyesyesyesyesyesyes
typeoutlookyahooinshortsphonepegpaypaytmswiggyzomatouberola
id20212223242526272829
supportyesnonononononononono
typereflexAppsnapchatytMusicyouTubelinkEdinamazonflipkartnetFlixhotstaramazonPrime
id30313233343536373839
supportnononononononononono
typegoogleChatwynkgoogleDrivedunzogaanamissCallwhatsAppBusinesother
id40414243444546128
supportnononononoyesyesyes

Gets other push notifications

Only ios support.

List<int> NotificationType = await _blePlugin.getNotification;
Last Updated: