AppSearchBlobHandle.CreateWithSha256(Byte[], String, String, String) 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.
Create a new AppSearch blob identifier with given digest, package, database and namespace.
[Android.Runtime.Register("createWithSha256", "([BLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/app/appsearch/AppSearchBlobHandle;", "", ApiSince=36)]
public static Android.App.AppSearch.AppSearchBlobHandle CreateWithSha256(byte[] digest, string packageName, string databaseName, string namespace);
[<Android.Runtime.Register("createWithSha256", "([BLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/app/appsearch/AppSearchBlobHandle;", "", ApiSince=36)>]
static member CreateWithSha256 : byte[] * string * string * string -> Android.App.AppSearch.AppSearchBlobHandle
Parameters
- digest
- Byte[]
The SHA-256 hash of the blob this is representing.
- packageName
- String
The package name of the owner of this Blob.
- databaseName
- String
The database name of this blob to stored into.
- namespace
- String
The namespace of this blob resides in.
Returns
a new instance of AppSearchBlobHandle
object.
- Attributes
Remarks
Create a new AppSearch blob identifier with given digest, package, database and namespace.
The package name and database name indicated where this blob will be stored. To write, commit or read this blob via AppSearchSession
, it must match the package name and database name of AppSearchSession
.
For two objects of AppSearchBlobHandle
to be considered equal, the packageName
, database
, namespace
and digest
must be equal.
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.