Partager via


BlobStoreManager.AbandonSession(Int64) Method

Definition

Abandons an existing session and deletes any data that was written to that session so far.

[Android.Runtime.Register("abandonSession", "(J)V", "GetAbandonSession_JHandler", ApiSince=30)]
public virtual void AbandonSession (long sessionId);
[<Android.Runtime.Register("abandonSession", "(J)V", "GetAbandonSession_JHandler", ApiSince=30)>]
abstract member AbandonSession : int64 -> unit
override this.AbandonSession : int64 -> unit

Parameters

sessionId
Int64

a unique id obtained via #createSession(BlobHandle) that represents a particular session.

Attributes

Remarks

Abandons an existing session and deletes any data that was written to that session so far.

Java documentation for android.app.blob.BlobStoreManager.abandonSession(long).

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