Skip to content

Commit

Permalink
- update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
10zgurr authored Mar 27, 2022
1 parent 147fa50 commit 161b514
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ Add it in the your app dependencies:
}</pre>
</br>

Usage:</br>

Firing:</br>
<pre>NotificationMan
.Builder(context, "the activity's path that you want to open when the notification is clicked")
.setTitle("test title") // optional
Expand All @@ -29,6 +28,14 @@ Usage:</br>
.setTimeInterval(10L) // needs secs - default is 5 secs
.setNotificationType(NotificationTypes.IMAGE.type) // optional - default type is TEXT
.fire()</pre>
Canceling the latest added worker in the queue:</br>
<pre>NotificationMan
.coolDownLatestFire(context)</pre>
Canceling all workers:</br>
<pre>NotificationMan
.coolDownAllFires(context)</pre>



Expand Down

0 comments on commit 161b514

Please sign in to comment.