Condividi tramite


TvInteractiveAppService.Session.OnError(String, Bundle) Method

Definition

Called when the application sends information of an error.

[Android.Runtime.Register("onError", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnError_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=33)]
public virtual void OnError (string errMsg, Android.OS.Bundle params);
[<Android.Runtime.Register("onError", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnError_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=33)>]
abstract member OnError : string * Android.OS.Bundle -> unit
override this.OnError : string * Android.OS.Bundle -> unit

Parameters

errMsg
String

the message of the error.

params
Bundle

additional parameters of the error. For example, the signingId of TvInteractiveAppCallback#onRequestSigning(String, String, String, String, byte[]) can be included to identify the related signing request, and the method name "onRequestSigning" can also be added to the params.

Attributes

Remarks

Called when the application sends information of an error.

Java documentation for android.media.tv.interactive.TvInteractiveAppService.Session.onError(java.lang.String, android.os.Bundle).

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