共用方式為


VoiceInteractionService.OnShowSessionFailed(Bundle) 方法

定義

當顯示工作階段失敗時呼叫。

[Android.Runtime.Register("onShowSessionFailed", "(Landroid/os/Bundle;)V", "GetOnShowSessionFailed_Landroid_os_Bundle_Handler", ApiSince=34)]
public virtual void OnShowSessionFailed(Android.OS.Bundle args);
[<Android.Runtime.Register("onShowSessionFailed", "(Landroid/os/Bundle;)V", "GetOnShowSessionFailed_Landroid_os_Bundle_Handler", ApiSince=34)>]
abstract member OnShowSessionFailed : Android.OS.Bundle -> unit
override this.OnShowSessionFailed : Android.OS.Bundle -> unit

參數

args
Bundle

顯示失敗之會話嘗試的其他資訊。 目前,包含 VoiceInteractionSession#KEY_SHOW_SESSION_ID

屬性

備註

當顯示工作階段失敗時呼叫。 例如,當系統系結會話服務失敗時。

android.service.voice.VoiceInteractionService.onShowSessionFailed(android.os.Bundle)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於