語言

MbmsStreamingSession.Close 方法

定義

終止這個實例。

[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

實作

屬性

備註

終止這個實例。 同時也會終止所有從此實例衍生的串流服務,彷彿 StreamingService#close() 被要求使用。 此方法回傳後,中介軟體發出的回調將不再被列入所提供的實例 MbmsStreamingSessionCallback,但已排隊的回調仍會被送達。

當此方法返回後,立即呼叫 #create(Context, Executor, int, MbmsStreamingSessionCallback) 以取得另一個實例 MbmsStreamingSession 是安全的。

可能會丟一個 IllegalStateException

Java 文件 android.telephony.MbmsStreamingSession.close()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於