共用方式為


IGroupCallCallback.OnError(Int32, String) Method

Definition

Called by the middleware when it has detected an error condition in this group call.

[Android.Runtime.Register("onError", "(ILjava/lang/String;)V", "GetOnError_ILjava_lang_String_Handler:Android.Telephony.Mbms.IGroupCallCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public virtual void OnError (int errorCode, string? message);
[<Android.Runtime.Register("onError", "(ILjava/lang/String;)V", "GetOnError_ILjava_lang_String_Handler:Android.Telephony.Mbms.IGroupCallCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
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 in this group call. The possible error codes are listed in MbmsErrors.

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