Android.OS.UserManager.GetApplicationRestrictions Method
Returns a Bundle containing any saved application restrictions for this user, for the given package name.

Syntax

[Android.Runtime.Register("getApplicationRestrictions", "(Ljava/lang/String;)Landroid/os/Bundle;", "GetGetApplicationRestrictions_Ljava_lang_String_Handler")]
public virtual Bundle GetApplicationRestrictions (string packageName)

Parameters

packageName
the package name of the calling application

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a Bundle containing any saved application restrictions for this user, for the given package name. Only an application with this package name can call this method.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18