BlobStoreManager.Session.IsPackageAccessAllowed(String, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true
if access has been allowed for a packageName
using either
#allowPackageAccess(String, byte[])
.
[Android.Runtime.Register("isPackageAccessAllowed", "(Ljava/lang/String;[B)Z", "GetIsPackageAccessAllowed_Ljava_lang_String_arrayBHandler", ApiSince=30)]
public virtual bool IsPackageAccessAllowed (string packageName, byte[] certificate);
[<Android.Runtime.Register("isPackageAccessAllowed", "(Ljava/lang/String;[B)Z", "GetIsPackageAccessAllowed_Ljava_lang_String_arrayBHandler", ApiSince=30)>]
abstract member IsPackageAccessAllowed : string * byte[] -> bool
override this.IsPackageAccessAllowed : string * byte[] -> bool
Parameters
- packageName
- String
the name of the package to check the access for.
- certificate
- Byte[]
the input bytes representing a certificate of type
android.content.pm.PackageManager#CERT_INPUT_SHA256
.
Returns
- Attributes
Remarks
Returns true
if access has been allowed for a packageName
using either #allowPackageAccess(String, byte[])
. Otherwise, false
.
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.