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
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
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.
|