DevicePolicyManager.AppFunctionsPolicy Property
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.
Returns the current android.app.appfunctions.AppFunctionManager
policy. -or- Sets the android.app.appfunctions.AppFunctionManager
policy which controls app
functions operations on the device.
public virtual Android.App.Admin.DevicePolicyManagerAppFunctionsStatus AppFunctionsPolicy { [Android.Runtime.Register("getAppFunctionsPolicy", "()I", "GetGetAppFunctionsPolicyHandler", ApiSince=36)] [Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_APP_FUNCTIONS")] get; [Android.Runtime.Register("setAppFunctionsPolicy", "(I)V", "GetSetAppFunctionsPolicy_IHandler", ApiSince=36)] [Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_APP_FUNCTIONS")] set; }
[<get: Android.Runtime.Register("getAppFunctionsPolicy", "()I", "GetGetAppFunctionsPolicyHandler", ApiSince=36)>]
[<get: Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_APP_FUNCTIONS")>]
[<set: Android.Runtime.Register("setAppFunctionsPolicy", "(I)V", "GetSetAppFunctionsPolicy_IHandler", ApiSince=36)>]
[<set: Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_APP_FUNCTIONS")>]
member this.AppFunctionsPolicy : Android.App.Admin.DevicePolicyManagerAppFunctionsStatus with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Returns the current android.app.appfunctions.AppFunctionManager
policy.
The returned policy will be the current resolved policy rather than the policy set by the calling admin.
Java documentation for android.app.admin.DevicePolicyManager.getAppFunctionsPolicy()
.
Property setter documentation:
Sets the android.app.appfunctions.AppFunctionManager
policy which controls app functions operations on the device. An app function is a piece of functionality that apps expose to the system for cross-app orchestration.
This function can only be called by a device owner, a profile owner or holders of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_APP_FUNCTIONS
.
Java documentation for android.app.admin.DevicePolicyManager.setAppFunctionsPolicy(int)
.
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.