Set up smart reminders

Set smart reminder to initiate pairing first, and then turn on the corresponding notification switch

Function table

__IDO_FUNCTABLE__.funcTable4Model.ancs

Description of smart reminder model

  • IDOSetNoticeInfoBuletoothModel
Parameter Description Remark
isPairing Is it paired bool
callDelay Call delay The current setting must be greater than or equal to 3 seconds to be effective
isOnChild Whether to open the sub switch Only valid for smart reminders, invalid for incoming call reminders
isOnCall Incoming call bool
isOnSms SMS notification bool
isOnEmail Email reminder bool
isOnWeChat WeChat reminder bool
isOnQq qq reminder bool
isOnWeibo Weibo reminder bool
isOnFaceBook FaceBook reminder bool
isOnTwitter Twitter reminder bool
isOnWhatsapp Whatsapp reminder bool
isOnMessenger Messenger reminder bool
isOnInstagram Instagram reminder bool
isOnLinkedIn LinkedIn reminder bool
isOnCalendar Calendar reminder bool
isOnSkype Skype reminder bool
isOnAlarm Alarm reminder bool
isOnPokeman Pokeman reminder bool
isOnVkontakte Vkontakte reminder bool
isOnLine Line reminder bool
isOnViber Viber reminder bool
isOnKakaoTalk KakaoTalk reminder bool
isOnGmail Gmail reminder bool
isOnOutlook Outlook reminder bool
isOnSnapchat Snapchat reminder bool
isOnTelegram Telegram reminder bool
isOnChatwork Chatwork reminder bool
isOnSlack Slack reminder bool
isOnYahooMail Yahoo Mail reminder bool
isOnTumblr Tumblr reminder bool
isOnYoutube Youtube reminder bool
isOnYahooPinterest Yahoo Pinterest reminder bool
isOnKeep Keep reminder bool
isOnTikTok TikTok reminder bool
isOnRedbus Redbus reminder bool
isOnDailyhunt isOnDailyhunt reminder bool
isOnHotstar Hotstar reminder bool
isOnInshorts Inshorts reminder bool
isOnPaytm Paytm reminder bool
isOnAmazon Amazon reminder bool
isOnFlipkart Flipkart reminder bool
isOnPrime Prime reminder bool
isOnNetflix Netflix reminder bool
isOnGpay Gpay reminder bool
isOnPhonpe Phonpe reminder bool
isOnSwiggy Swiggy reminder bool
isOnZomato Zomato reminder bool
isOnMakeMyTrip MakeMyTrip reminder bool
isOnJioTv JioTv reminder bool
isOnMicrosoft Microsoft reminder bool
isOnWhatsAppBusiness WhatsApp Business reminder bool
isOnNioseFit NioseFit reminder bool
isOnDidNotCall Did no call reminder bool
isOnMattersRemind Matter reminder bool
isOnUber Uber reminder bool
isOnOla Ola reminder bool
isOnYtMusic Yt music reminder bool
isOnGoogleMeet Google meet reminder bool
isOnMormaiiSmartwatch Mormaii smartwatch reminder bool
isOnTechnosConnect Technos connect reminder bool
isOnEnioei Enioei reminder bool
isOnAliexpress Aliexpress reminder bool
isOnShopee Shopee reminder bool
isOnTeams Teams reminder bool
isOn99Taxi 99 taxi reminder bool
isOnUberEats Uber eats reminder bool
isOnLfood l food reminder bool
isOnRappi rappi reminder bool
isOnMercadoLivre Mercado Livre reminder bool
isOnMagalu Magalu reminder bool
isOnAmericanas Americanas reminder bool
isOnYahoo Yahoo reminder bool

Command code

  • Set the pairing and notification switch If the device is not paired, it will initiate pairing. After the pairing is successful, set the sub-switch state. It takes a long time to pair, please monitor the callback.

    Objc:

IDOSetNoticeInfoBuletoothModel * model = [IDOSetNoticeInfoBuletoothModel currentModel];
[IDOFoundationCommand setSwitchNoticeCommand:model
             callback:^(BOOL isNeedDisconnect, int stateCode) {
    //Whether the pairing process needs to be disconnected, the status of the pairing process
} complete:^(int errorCode) {
    if (errorCode == 0) {
       //Set successfully
    }else if (errorCode == 6) {
      //Device not supported
    }else {
      //Setup failed
    }
}];

Swift:

let model = IDOSetNoticeInfoBuletoothModel.current();
IDOFoundationCommand.setSwitchNotice(model, callback: { (isNeedDisconnect, stateCode) in
    //Whether the pairing process needs to be disconnected, the status of the pairing process
}) { (errorCode) in
    if errorCode == 0 {
       //Set successfully
    }else if errorCode == 6 {
      //Device not supported
    }else {
      //Setup failed
    }
};
Copyright © 2015-2020 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2023-12-18 10:04:13

results matching ""

    No results matching ""