DevicePolicyManager.GetPersonalAppsSuspendedReasons(ComponentName) Method
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.
Called by profile owner of an organization-owned managed profile to check whether personal apps are suspended.
[Android.Runtime.Register("getPersonalAppsSuspendedReasons", "(Landroid/content/ComponentName;)I", "GetGetPersonalAppsSuspendedReasons_Landroid_content_ComponentName_Handler", ApiSince=30)]
public virtual int GetPersonalAppsSuspendedReasons (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getPersonalAppsSuspendedReasons", "(Landroid/content/ComponentName;)I", "GetGetPersonalAppsSuspendedReasons_Landroid_content_ComponentName_Handler", ApiSince=30)>]
abstract member GetPersonalAppsSuspendedReasons : Android.Content.ComponentName -> int
override this.GetPersonalAppsSuspendedReasons : Android.Content.ComponentName -> int
Parameters
- admin
- ComponentName
Returns
a bitmask of reasons for personal apps suspension or
#PERSONAL_APPS_NOT_SUSPENDED
if apps are not suspended.
- Attributes
Remarks
Called by profile owner of an organization-owned managed profile to check whether personal apps are 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.