DevicePolicyManager.LockTaskFeatureBlockActivityStartInTask Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.

Enable blocking of non-allowlisted activities from being started into a locked task.

[Android.Runtime.Register("LOCK_TASK_FEATURE_BLOCK_ACTIVITY_START_IN_TASK", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.", true)]
public const Android.App.Admin.LockTaskFeatures LockTaskFeatureBlockActivityStartInTask = 64;
[<Android.Runtime.Register("LOCK_TASK_FEATURE_BLOCK_ACTIVITY_START_IN_TASK", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.LockTaskFeatures enum directly instead of this field.", true)>]
val mutable LockTaskFeatureBlockActivityStartInTask : Android.App.Admin.LockTaskFeatures

Field Value

Value = 64
Attributes

Remarks

Enable blocking of non-allowlisted activities from being started into a locked task.

Java documentation for android.app.admin.DevicePolicyManager.LOCK_TASK_FEATURE_BLOCK_ACTIVITY_START_IN_TASK.

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.

Applies to