提交 b74cd23f 编写于 作者: R rcy-hw

update api and user guide

Signed-off-by: Nrcy-hw <renchunyang@huawei.com>
上级 d87e6b2c
......@@ -279,7 +279,7 @@ mySlot: {
type: 3,
sound: "/sdcard/music2.mp3"
}
reminderAgent.addNotificationSlot(this.mySlot, (err, data) => {
reminderAgent.addNotificationSlot(mySlot, (err, data) => {
console.log("addNotificationSlot callback");
});
```
......@@ -313,7 +313,7 @@ export default { data: { mySlot: {
sound: "/sdcard/music2.mp3"
} },
addSlot() {
reminderAgent.addNotificationSlot(this.mySlot).then(() => {
reminderAgent.addNotificationSlot(mySlot).then(() => {
console.log("do next");
});
}
......
......@@ -279,7 +279,7 @@ mySlot: {
type: 3,
sound: "/sdcard/music2.mp3"
}
reminderAgent.addNotificationSlot(this.mySlot, (err, data) => {
reminderAgent.addNotificationSlot(mySlot, (err, data) => {
console.log("addNotificationSlot callback");
});
```
......@@ -312,7 +312,7 @@ mySlot: {
type: 3,
sound: "/sdcard/music2.mp3"
}
reminderAgent.addNotificationSlot(this.mySlot).then(() => {
reminderAgent.addNotificationSlot(mySlot).then(() => {
console.log("addNotificationSlot promise");
});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册