From dfcaf2c50f88455e11093106ddb611c901349893 Mon Sep 17 00:00:00 2001 From: tornaco Date: Thu, 7 May 2020 21:05:01 +0800 Subject: [PATCH] Docs: Add notification facts --- .DS_Store | Bin 8196 -> 8196 bytes docs/.DS_Store | Bin 10244 -> 10244 bytes docs/_posts/2019-12-02-Profile.md | 11 +++++++++++ 3 files changed, 11 insertions(+) diff --git a/.DS_Store b/.DS_Store index 46bd73ab534d88e424b856418b6a28fd100b9278..d9eefd5bf69a923f97f3fe2df9863b11aa63121b 100644 GIT binary patch literal 8196 zcmeHMUu+ab7@yzK!tS=vErM*Z2PcIT;n22})&kLMOIuJ(32kYC%DHzt(v92Qa=Uk> zHjNcE`ao*@lbA?M3_(pSzL;p@pEos{=!=mD^uZUSKKP>1nE0gM>})SkN}?|+VJDgS zX1+hOJHPqeOujwF7`lp9Gh+s0Ora{IUPa9kMc75XrX(Uw1xZjm%T4+dImgS<`1fnP zV?~TWj6jS)j6jS)jKKc^0lKqAQLc0EOKaT52*e27ln99PAw^ZlOeANe437?K!W4j{ zNCCn^eO+`&rXrb%DZZ0HMh3S zq*K$)E$yx8R9nZcnHg14>Kc0wpD3Q0d->dj*Is|)qmLy3hz=1}E63&b6Y7=GaQsrY z{F;%NS_%!Lw{O3e)mN8jJ^d4b?YaIDUhqj~^%|eneIW0-hYDQShx49O9C!V!UYj?a ze9<9rIvr=gew6zo0Y4px-Z9@R1l^(Ih)uCVm(}&6&ku77uuFU&h50(v`RcXnH#ThD z(bB%R^U}&yHM+K1TQgj;eLLsyp-Hh5M@>J^UCVY)9wThsz<$`~1+_LYrw+R2IKQN? zs#$sKI>Q(#=Im2NJDAcN6h+QeZ){NYca%|!p7wxeiAXE781=>`ML90?-33mqRBKy| zMpZYJL7!e&PO(i(tGcfaK0^B`L+{d>72Q&Y95crqscO~Q6#ag6xFk`N$_{OhQj4@Y zlJ~~P>AiiazQ@QY`g_U=@$7@9AM{UfmmV)x(N%94M}@xAvbd!v#E-3VN5hpiWSZni zr7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Y diff --git a/docs/_posts/2019-12-02-Profile.md b/docs/_posts/2019-12-02-Profile.md index 1ca1b8eb8..4cc8fbd71 100644 --- a/docs/_posts/2019-12-02-Profile.md +++ b/docs/_posts/2019-12-02-Profile.md @@ -33,6 +33,7 @@ title: 情景模式(Profile) - [0.4.9. 蓝牙事件](#049-蓝牙事件) - [0.4.10. 系统启动](#0410-系统启动) - [0.4.11. 推送消息](#0411-推送消息) + - [0.4.12. 通知](#0412-通知) - [0.5. Handle](#05-handle) - [0.5.1. killer](#051-killer) - [0.5.2. activity](#052-activity) @@ -343,6 +344,16 @@ Resumed--> Paused(被其他活动覆盖)-->Resumed(如果其他活动销 | fcmPushMessageArrived | Boolean(true/false) | 收到GCM/FCM消息推送 | 无 | | pkgName | String(字符串) | 应用包名 | 无 | +### 0.4.12. 通知 + +| 参数名 | 类型 | 含义 | 示例 | +| --------- | --------------------- | ---------- | ---- | +| notificationAdded | Boolean(true/false) | 新通知到达 | 无 | +| notificationRemoved | Boolean(true/false) | 通知移除 | 无 | +| pkgName | String(字符串) | 通知所属应用包名 | 无 | +| notificationTitle | String(字符串) | 通知标题 | 无 | +| notificationContent | String(字符串) | 通知内容 | 无 | + ## 0.5. Handle