Android.App.Admin.DevicePolicyManager.IsLockTaskPermitted Method
This function lets the caller know whether the given component is allowed to start the lock task mode.

Syntax

[Android.Runtime.Register("isLockTaskPermitted", "(Ljava/lang/String;)Z", "GetIsLockTaskPermitted_Ljava_lang_String_Handler")]
public virtual bool IsLockTaskPermitted (string pkg)

Parameters

pkg
The package to check

Returns

Documentation for this section has not yet been entered.

Remarks

This function lets the caller know whether the given component is allowed to start the lock task mode.

[Android Documentation]

Requirements

Namespace: Android.App.Admin
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8