public final class

MAMNotificationManagement

extends Object
java.lang.Object
   ↳ com.microsoft.intune.mam.client.app.MAMNotificationManagement

Class Overview

MAM wrapper around NotificationManager. This must be used in place of direct calls into NotificationManager.notify. It is recommended to call into NotificationManager as normal and allow the Build Plugin to apply this wrapper.

Summary

Public Methods
static void notify(NotificationManager original, int id, Notification notification)
static void notify(NotificationManager original, String tag, int id, Notification notification)
static void notifyAsPackage(NotificationManager original, String targetPackage, String tag, int id, Notification notification)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static void notify (NotificationManager original, int id, Notification notification)

Parameters
original The original system NotificationManager.
id An identifier for this notification unique within your application.
notification A Notification object describing what to show the user. Must not be null.

public static void notify (NotificationManager original, String tag, int id, Notification notification)

Parameters
original The original system NotificationManager.
tag A string identifier for this notification. May be null.
id An identifier for this notification unique within your application.
notification A Notification object describing what to show the user. Must not be null.

public static void notifyAsPackage (NotificationManager original, String targetPackage, String tag, int id, Notification notification)

Parameters
original The original system NotificationManager.
targetPackage The package to post the notification as.
tag A string identifier for this notification.
id An identifier for this notification unique within your application.
notification A Notification object describing what to show the user. Must not be null.