Condividi tramite


MbmsDownloadSessionCallback.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 MbmsDownloadSession will result in an IllegalStateException being thrown or #onError(int, String) being called with error code MbmsErrors.GeneralErrors#ERROR_MIDDLEWARE_NOT_YET_READY

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