| java.lang.Object | |
| ↳ | com.neomades.notification.NotificationPermissionManager |
Notification permission manager.
Use requestPermission() to display the system popup that ask the user to accept notification
permission for the application.
Warning: once this popup was closed the first time, it won't open again. User will have to go to the settings of the application to change the notification settings either he accepted or not.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| NotificationPermissionManager() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void |
requestPermission()
Display the system popup that ask the user to accept notification
permission for the application.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Display the system popup that ask the user to accept notification permission for the application. Warning: once this popup was closed the first time, it won't open again. User will have to go to the settings of the application to change the notification settings either he accepted or not.