public class

NotificationPermissionManager

extends Object
java.lang.Object
   ↳ com.neomades.notification.NotificationPermissionManager

Class Overview

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.

Summary

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

Public Constructors

public NotificationPermissionManager ()

Public Methods

public static void requestPermission ()

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.