RestrictionsManager.GetManifestRestrictions(String) RestrictionsManager.GetManifestRestrictions(String) Method

Definition

Parse and return the list of restrictions defined in the manifest for the specified package, if any.

[Android.Runtime.Register("getManifestRestrictions", "(Ljava/lang/String;)Ljava/util/List;", "GetGetManifestRestrictions_Ljava_lang_String_Handler")]
public virtual System.Collections.Generic.IList<Android.Content.RestrictionEntry> GetManifestRestrictions (string packageName);
abstract member GetManifestRestrictions : string -> System.Collections.Generic.IList<Android.Content.RestrictionEntry>
override this.GetManifestRestrictions : string -> System.Collections.Generic.IList<Android.Content.RestrictionEntry>

Parameters

packageName
String String

The application for which to fetch the restrictions list.

Returns

Remarks

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