public final enum

NotificationRestriction

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.microsoft.intune.mam.policy.NotificationRestriction

Class Overview

Level of restriction on notifications shown by the app for the user associated with this policy.

Summary

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

Enum Values

public static final NotificationRestriction BLOCKED

Do not show notifications for the user associated with this policy.

public static final NotificationRestriction BLOCK_ORG_DATA

Show only modified notifications that do not contain organization data.

public static final NotificationRestriction UNRESTRICTED

Show notifications without restriction.

Public Methods

public static NotificationRestriction fromCode (int code)

Get the appropriate NotificationRestriction given an encoded value.

Parameters
code Encoded value.
Returns
  • Appropriate NotificationRestriction.

public int getCode ()

Get the encoded version of the enum.

Returns
  • Integral form of the enum.

public static NotificationRestriction valueOf (String name)

public static final NotificationRestriction[] values ()