Share via


MbmsStreamingSessionCallback.OnMiddlewareReady Method

Definition

Called to indicate that the middleware has been initialized and is ready.

[Android.Runtime.Register("onMiddlewareReady", "()V", "GetOnMiddlewareReadyHandler", ApiSince=28)]
public virtual void OnMiddlewareReady ();
[<Android.Runtime.Register("onMiddlewareReady", "()V", "GetOnMiddlewareReadyHandler", ApiSince=28)>]
abstract member OnMiddlewareReady : unit -> unit
override this.OnMiddlewareReady : unit -> unit
Attributes

Remarks

Called to indicate that the middleware has been initialized and is ready.

Before this method is called, calling any method on an instance of MbmsStreamingSession will result in an IllegalStateException or an error delivered via #onError(int, String) with error code MbmsErrors.GeneralErrors#ERROR_MIDDLEWARE_NOT_YET_READY.

Java documentation for android.telephony.mbms.MbmsStreamingSessionCallback.onMiddlewareReady().

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