Language

DevicePolicyManagerAppFunctionsStatus Enum

Definition

Identifies whether device policy controls app functions in the current user, and which app function interactions the policy disables.

public enum DevicePolicyManagerAppFunctionsStatus
type DevicePolicyManagerAppFunctionsStatus = 
Inheritance
DevicePolicyManagerAppFunctionsStatus

Fields

Name Value Description
NotControlledByPolicy 0

Indicates that AppFunctionManager is not controlled by policy.

If no admin set this policy, it means appfunctions are enabled.

Android reference for android.app.admin.DevicePolicyManager.APP_FUNCTIONS_NOT_CONTROLLED_BY_POLICY.

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.

Disabled 1

Indicates that AppFunctionManager is controlled and disabled by policy, i.e. no apps in the current user are allowed to expose app functions.

Android reference for android.app.admin.DevicePolicyManager.APP_FUNCTIONS_DISABLED.

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.

DisabledCrossProfile 2

Indicates that AppFunctionManager is controlled and disabled by a policy for cross profile interactions only, i.e. app functions exposed by apps in the current user can only be invoked within the same user.

This is different from APP_FUNCTIONS_DISABLED in that it only disables cross profile interactions (even if the caller has permissions required to interact across users). appfunctions can still be used within the a user profile boundary.

Android reference for android.app.admin.DevicePolicyManager.APP_FUNCTIONS_DISABLED_CROSS_PROFILE.

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

The AppFunctionsPolicy property uses these values. Disabled disables app functions for all apps in the current user. DisabledCrossProfile disables only cross-profile interactions.

Applies to