語言

TvInteractiveAppView.NotifyError(String, Bundle) 方法

定義

當發生錯誤時,會通知相應 TvInteractiveAppService 的。

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

參數

errMsg
String

錯誤訊息。

params
Bundle

誤差的額外參數。 例如,可以包含 signingID TvInteractiveAppCallback#onRequestSigning(String, String, String, String, byte[]) 來識別相關的簽署請求,且也可以將方法名稱「onRequestSigning」加入參數中。

屬性

備註

當發生錯誤時,會通知相應 TvInteractiveAppService 的。

Java 文件 android.media.tv.interactive.TvInteractiveAppView.notifyError(java.lang.String, android.os.Bundle)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於