Language

PersonalAppsDevicePolicy Enum

Definition

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 android.app.admin.DevicePolicyManager.PERSONAL_APPS_NOT_SUSPENDED.

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 android.app.admin.DevicePolicyManager.PERSONAL_APPS_SUSPENDED_EXPLICITLY.

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 android.app.admin.DevicePolicyManager.PERSONAL_APPS_SUSPENDED_PROFILE_TIMEOUT.

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.

Applies to