PersonalAppsDevicePolicy Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies why personal apps are suspended on a device that has an organization-owned managed profile.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum PersonalAppsDevicePolicy
[<System.Flags>]
type PersonalAppsDevicePolicy =
- Inheritance
-
PersonalAppsDevicePolicy
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| NotSuspended | 0 | Return value for getPersonalAppsSuspendedReasons(ComponentName) when personal apps are not suspended. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SuspendedExplicitly | 1 | Flag for getPersonalAppsSuspendedReasons(ComponentName) return value. Set when personal apps are suspended by an admin explicitly via setPersonalAppsSuspended(ComponentName, boolean). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| SuspendedProfileTimeout | 2 | Flag for getPersonalAppsSuspendedReasons(ComponentName) return value. Set when personal apps are suspended by framework because managed profile was off for longer than allowed by policy. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
GetPersonalAppsSuspendedReasons(ComponentName) returns a bit mask of these reasons as an Int32 value. NotSuspended shows that personal apps are not suspended.