BlobStoreManager.Session.AllowPackageAccess(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.
Allow packageName
with a particular signing certificate to access this blob
data once it is committed using a BlobHandle
representing the blob.
[Android.Runtime.Register("allowPackageAccess", "(Ljava/lang/String;[B)V", "GetAllowPackageAccess_Ljava_lang_String_arrayBHandler", ApiSince=30)]
public virtual void AllowPackageAccess (string packageName, byte[] certificate);
[<Android.Runtime.Register("allowPackageAccess", "(Ljava/lang/String;[B)V", "GetAllowPackageAccess_Ljava_lang_String_arrayBHandler", ApiSince=30)>]
abstract member AllowPackageAccess : string * byte[] -> unit
override this.AllowPackageAccess : string * byte[] -> unit
Parameters
- packageName
- String
the name of the package which should be allowed to access the blob.
- certificate
- Byte[]
the input bytes representing a certificate of type
android.content.pm.PackageManager#CERT_INPUT_SHA256
.
- Attributes
Remarks
Allow packageName
with a particular signing certificate to access this blob data once it is committed using a BlobHandle
representing the blob.
This needs to be called before committing the blob using #commit(Executor, Consumer)
.
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.