跳到主要内容

Toast通知 - 动作

使用Toast显示通知。

使用场景

标题内容
哔哩哔哩【哔哩哔哩】验证码123456,5分钟内有效,请勿泄漏

功能演示

导入规则

{
"notificationChannels": [],
"packages": [
{
"id": 146,
"name": "短信",
"packageName": "com.android.mms",
"type": 0,
"uid": 0
}
],
"rules": [
{
"actionSettings": [
{
"blackExec": true,
"delay": 0,
"event": 19,
"failedExec": false,
"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": [],
"text": ""
},
"clickButton": {
"buttonGroup": [],
"suspendedTip": false,
"time": 0,
"tip": false,
"tipText": ""
},
"clickNotification": {
"suspendedTip": false,
"time": 0,
"tip": false,
"tipText": ""
},
"config": "{}",
"copy": {
"text": "",
"tip": false
},
"easyShares": [],
"event": [
19
],
"fixed": {
"channel": "",
"content": "$c_all",
"subtitle": "$s_all",
"title": "$t_all"
},
"openApps": [],
"output": {
"contentVariable": "// 内容变量\n$c_all \u003d \\d{4,6}",
"subtitleVariable": "",
"titleVariable": ""
},
"packageIds": [
146
],
"popup": {
"content": "$c_all",
"subtitle": "$s_all",
"title": "$t_all"
},
"range": [
1
],
"remove": {
"before": false,
"hour": 0,
"minute": 0,
"repeat": false,
"repeatHour": 1,
"repeatMinute": 0,
"second": 0
},
"ringtone": {
"path": "",
"playCount": 1,
"scenes": []
},
"rule": {
"delayRun": 0,
"isFixed": false,
"isUse": true,
"price": 0,
"rUid": "0dcf1e2a-e8ca-4315-ba96-610f96b55b12",
"ruleButton": "",
"ruleButtonType": 0,
"ruleChannel": "",
"ruleChannelType": 0,
"ruleContent": "验证码",
"ruleContentType": 0,
"ruleDescription": "无",
"ruleMatchType": 1,
"ruleName": "Toast通知",
"ruleNotification": "",
"ruleNotificationType": 0,
"ruleSubTitle": "",
"ruleSubTitleType": 0,
"ruleTitle": "",
"ruleTitleType": 0,
"runDateRanges": "0, 1, 2, 3, 4, 5, 6",
"runRandomCount": 3,
"runRandomCountFail": 0,
"runTimeRanges": "",
"uuid": "null",
"versionCode": 0
},
"save": {
"config": "",
"location": 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"
},
"toast": {
"text": "$c_all"
},
"vibration": {
"count": 1,
"scenes": [],
"times": ""
}
}
],
"versionCode": 35,
"versionName": "3.5.10"
}

创建规则

1.jpg