BlobStoreManager.CreateSession(BlobHandle) Method

Definition

Create a new session using the given BlobHandle, returning a unique id that represents the session.

[Android.Runtime.Register("createSession", "(Landroid/app/blob/BlobHandle;)J", "GetCreateSession_Landroid_app_blob_BlobHandle_Handler", ApiSince=30)]
public virtual long CreateSession (Android.App.Blob.BlobHandle blobHandle);
[<Android.Runtime.Register("createSession", "(Landroid/app/blob/BlobHandle;)J", "GetCreateSession_Landroid_app_blob_BlobHandle_Handler", ApiSince=30)>]
abstract member CreateSession : Android.App.Blob.BlobHandle -> int64
override this.CreateSession : Android.App.Blob.BlobHandle -> int64

Parameters

blobHandle
BlobHandle

the BlobHandle identifier for which a new session needs to be created.

Returns

Int64

positive, non-zero unique id that represents the created session. This id remains consistent across device reboots until the session is finalized. IDs are not reused during a given boot.

Attributes

Remarks

Java documentation for android.app.blob.BlobStoreManager.createSession(android.app.blob.BlobHandle).

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