Freigeben über


MbmsStreamingSession.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. Also terminates any streaming services spawned from this instance as if StreamingService#close() had been called on them. After this method returns, no further callbacks originating from the middleware will be enqueued on the provided instance of MbmsStreamingSessionCallback, but callbacks that have already been enqueued will still be delivered.

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

May throw an IllegalStateException

Java documentation for android.telephony.MbmsStreamingSession.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