MbmsStreamingSessionCallback.OnError(Int32, String) Method

Definition

Called by the middleware when it has detected an error condition.

[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

The error code.

message
String

A human-readable message generated by the middleware for debugging purposes.

Attributes

Remarks

Called by the middleware when it has detected an error condition. The possible error codes are listed in MbmsErrors.

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