java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.microsoft.intune.mam.policy.MAMCAComplianceStatus |
Enum of possible compliance statuses, returned via notification in an instance of MAMComplianceNotification after a call to MAMComplianceManager#remediateCompliance().
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MAMCAComplianceStatus | CLIENT_ERROR | The attempt to remediate compliance failed for some reason related to the client. | |||||||||
MAMCAComplianceStatus | COMPANY_PORTAL_REQUIRED | The Company Portal must be installed on the device in order for compliance remediation to succeed. | |||||||||
MAMCAComplianceStatus | COMPLIANT | Compliance remediation succeeded and the app is now compliant with policy. | |||||||||
MAMCAComplianceStatus | NETWORK_FAILURE | There was an error connecting to the Intune MAM Service. | |||||||||
MAMCAComplianceStatus | NOT_COMPLIANT | The attempt to remediate compliance failed. | |||||||||
MAMCAComplianceStatus | PENDING | The attempt to remediate compliance failed because the status response had not yet been received from the service when the time limit was exceeded. | |||||||||
MAMCAComplianceStatus | SERVICE_FAILURE | There was a failure while attempting to retrieve compliance data from the Intune MAM Service. | |||||||||
MAMCAComplianceStatus | UNKNOWN | Status is unknown. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static MAMCAComplianceStatus |
fromCode(int code)
Get the enum item that corresponds to the integral code, or null.
| ||||||||||
int |
getCode()
Get the encoded version of the enum.
| ||||||||||
static MAMCAComplianceStatus | valueOf(String name) | ||||||||||
final static MAMCAComplianceStatus[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The attempt to remediate compliance failed for some reason related to the client. For example, no token or wrong user.
The Company Portal must be installed on the device in order for compliance remediation to succeed. If the Company Portal is already installed on the device, the app needs to be restarted.
Compliance remediation succeeded and the app is now compliant with policy. The ADAL token acquisition can now be retried.
There was an error connecting to the Intune MAM Service. The app should try again when the network connection is restored.
The attempt to remediate compliance failed. The app is not compliant and ADAL token acquisition should not be retried. Additional error information is sent with the MAMComplianceNotification.
The attempt to remediate compliance failed because the status response had not yet been received from the service when the time limit was exceeded. The app should try again later.
There was a failure while attempting to retrieve compliance data from the Intune MAM Service. Additional information may be found in the Company Portal logs.
Get the enum item that corresponds to the integral code, or null.
code | Encoded value. |
---|
Get the encoded version of the enum.