Udostępnij za pośrednictwem


MbmsDownloadSessionCallback.OnError(Int32, String) Method

Definition

Indicates that the middleware has encountered an asynchronous error.

[Android.Runtime.Register("onError", "(ILjava/lang/String;)V", "GetOnError_ILjava_lang_String_Handler", ApiSince=28)]
public virtual void OnError (int errorCode, string? message);
[<Android.Runtime.Register("onError", "(ILjava/lang/String;)V", "GetOnError_ILjava_lang_String_Handler", ApiSince=28)>]
abstract member OnError : int * string -> unit
override this.OnError : int * string -> unit

Parameters

errorCode
Int32

Any error code listed in MbmsErrors

message
String

A message, intended for debugging purposes, describing the error in further detail.

Attributes

Remarks

Indicates that the middleware has encountered an asynchronous error.

Java documentation for android.telephony.mbms.MbmsDownloadSessionCallback.onError(int, java.lang.String).

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