java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.microsoft.intune.mam.policy.NotificationRestriction |
Level of restriction on notifications shown by the app for the user associated with this policy.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NotificationRestriction | BLOCKED | Do not show notifications for the user associated with this policy. | |||||||||
NotificationRestriction | BLOCK_ORG_DATA | Show only modified notifications that do not contain organization data. | |||||||||
NotificationRestriction | UNRESTRICTED | Show notifications without restriction. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static NotificationRestriction |
fromCode(int code)
Get the appropriate NotificationRestriction given an encoded value.
| ||||||||||
int |
getCode()
Get the encoded version of the enum.
| ||||||||||
static NotificationRestriction | valueOf(String name) | ||||||||||
final static NotificationRestriction[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Do not show notifications for the user associated with this policy.
Show only modified notifications that do not contain organization data.
Get the appropriate NotificationRestriction given an encoded value.
code | Encoded value. |
---|
Get the encoded version of the enum.