Language

SecurityManager.CheckPackageAccess(String) Method

Definition

The Android base implementation does not check access to the supplied package.

[Android.Runtime.Register("checkPackageAccess", "(Ljava/lang/String;)V", "GetCheckPackageAccess_Ljava_lang_String_Handler")]
public virtual void CheckPackageAccess(string? pkg);
[<Android.Runtime.Register("checkPackageAccess", "(Ljava/lang/String;)V", "GetCheckPackageAccess_Ljava_lang_String_Handler")>]
abstract member CheckPackageAccess : string -> unit
override this.CheckPackageAccess : string -> unit

Parameters

pkg
String

The package name.

Attributes

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