Skip to content

Commit 161b514

Browse files
authored
- update README.md
1 parent 147fa50 commit 161b514

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ Add it in the your app dependencies:
1919
}</pre>
2020
</br>
2121

22-
Usage:</br>
23-
22+
Firing:</br>
2423
<pre>NotificationMan
2524
.Builder(context, "the activity's path that you want to open when the notification is clicked")
2625
.setTitle("test title") // optional
@@ -29,6 +28,14 @@ Usage:</br>
2928
.setTimeInterval(10L) // needs secs - default is 5 secs
3029
.setNotificationType(NotificationTypes.IMAGE.type) // optional - default type is TEXT
3130
.fire()</pre>
31+
32+
Canceling the latest added worker in the queue:</br>
33+
<pre>NotificationMan
34+
.coolDownLatestFire(context)</pre>
35+
36+
Canceling all workers:</br>
37+
<pre>NotificationMan
38+
.coolDownAllFires(context)</pre>
3239

3340

3441

0 commit comments

Comments
 (0)