PackageIdentifier Constructors
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.
Overloads
PackageIdentifier(IntPtr, JniHandleOwnership) | |
PackageIdentifier(String, Byte[]) |
Creates a unique identifier for a package. |
PackageIdentifier(IntPtr, JniHandleOwnership)
protected PackageIdentifier (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.AppSearch.PackageIdentifier : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.AppSearch.PackageIdentifier
Parameters
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
Applies to
PackageIdentifier(String, Byte[])
Creates a unique identifier for a package.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;[B)V", "", ApiSince=31)]
public PackageIdentifier (string packageName, byte[] sha256Certificate);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;[B)V", "", ApiSince=31)>]
new Android.App.AppSearch.PackageIdentifier : string * byte[] -> Android.App.AppSearch.PackageIdentifier
Parameters
- packageName
- String
Name of the package.
- sha256Certificate
- Byte[]
SHA256 certificate digest of the package.
- 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.