Commit 161b514 1 parent 147fa50 commit 161b514 Copy full SHA for 161b514
File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ Add it in the your app dependencies:
19
19
}</pre >
20
20
</br >
21
21
22
- Usage:</br >
23
-
22
+ Firing:</br >
24
23
<pre >NotificationMan
25
24
.Builder(context, "the activity's path that you want to open when the notification is clicked")
26
25
.setTitle("test title") // optional
@@ -29,6 +28,14 @@ Usage:</br>
29
28
.setTimeInterval(10L) // needs secs - default is 5 secs
30
29
.setNotificationType(NotificationTypes.IMAGE.type) // optional - default type is TEXT
31
30
.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 >
32
39
33
40
34
41
You can’t perform that action at this time.
0 commit comments