播报通知 - 动作
使用场景
播报来电的电话号码。
播报短信验证码。
功能演示
无
导入规则
导入成功可以直接使用。
{"notificationChannels":[],"packageGroups":[{"description":"短信(0)","isAllPackage":false,"name":"短信","packages":[{"name":"短信","packageName":"com.android.mms","uid":0}],"rUIDs":["7c32bca3-72ff-4bb5-bc35-3e4f05dfe56d"],"type":0}],"rules":[{"actionSettings":[{"blackExec":true,"delay":0,"event":9,"lockExec":true,"runDateRanges":"0, 1, 2, 3, 4, 5, 6","runRandomCount":3,"runRandomCountFail":0,"runTimeRanges":"","unlockExec":true}],"barrage":{"content":"$c_all","position":0,"speed":5,"subtitle":"$s_all","time":2,"title":"$t_all"},"broadcast":{"scenes":[0,1,2],"text":"验证码$c_all"},"clickButton":{"buttonGroup":[],"suspendedTip":false,"time":0,"tip":false,"tipText":""},"clickNotification":{"suspendedTip":false,"time":0,"tip":false,"tipText":""},"config":"{}","copy":{"text":"","tip":false},"easyShares":[],"event":[9],"fixed":{"channel":"","content":"$c_all","subtitle":"$s_all","title":"$t_all"},"openApps":[],"output":{"contentVariable":"// 内容变量\n$c_all \u003d \\d{4,6}","subtitleVariable":"// 副标题变量\n$s_all \u003d .+","titleVariable":"// 标题变量\n$t_all \u003d .+"},"popup":{"content":"$c_all","subtitle":"$s_all","title":"$t_all"},"range":[1],"remove":{"hour":0,"minute":0,"second":0},"ringtone":{"path":"","playCount":1,"scenes":[]},"rule":{"delayRun":0,"isAutoUpgrade":true,"isLocking":false,"isUpload":false,"price":0,"rUid":"7c32bca3-72ff-4bb5-bc35-3e4f05dfe56d","ruleButton":"","ruleButtonType":0,"ruleChannel":"","ruleChannelType":0,"ruleContent":"验证码","ruleContentType":0,"ruleDescription":"无","ruleMatchType":1,"ruleName":"播报验证码","ruleNotification":"","ruleNotificationType":0,"ruleSubTitle":"","ruleSubTitleType":0,"ruleTitle":"","ruleTitleType":0,"runDateRanges":"0, 1, 2, 3, 4, 5, 6","runRandomCount":3,"runRandomCountFail":0,"runTimeRanges":[],"uuid":"b94d2a5c-d235-4fb0-8e1a-89fae2d1168c","versionCode":0},"share":{"content":"$c_all","subtitle":"$s_all","title":"$t_all"},"shareToApp":{"packageName":"","shareConfig":"[]","sharePath":"","uriAuthority":""},"shareToServer":{"method":"POST","shareDataConfig":"[]","shareHeaderConfig":"[]","url":"http://"},"shortcuts":[],"testNotificationList":[],"tip":{"channel":"","content":"$c_all","subtitle":"$s_all","title":"$t_all"},"vibration":{"count":1,"scenes":[],"times":""}}],"versionCode":20,"versionName":"3.0.0"}
创建规则
小技巧
如果需要让播报内容一个一个字播报可以使用[sp]需要播报的内容[/sp]。
比如:[sp]123456[/sp]
结果:1,2,3,4,5,6