MbmsDownloadSession.Close Method

Definition

Terminates this instance.

[Android.Runtime.Register("close", "()V", "GetCloseHandler", ApiSince=28)]
public virtual void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler", ApiSince=28)>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Remarks

Terminates this instance.

After this method returns, no further callbacks originating from the middleware will be enqueued on the provided instance of MbmsDownloadSessionCallback, but callbacks that have already been enqueued will still be delivered.

It is safe to call #create(Context, Executor, int, MbmsDownloadSessionCallback) to obtain another instance of MbmsDownloadSession immediately after this method returns.

May throw an IllegalStateException

Java documentation for android.telephony.MbmsDownloadSession.close().

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