共用方式為


VoiceInteractionSession.IVisibleActivityCallback.OnVisible 方法

定義

回呼,告知活動已變成可見。

[Android.Runtime.Register("onVisible", "(Landroid/service/voice/VisibleActivityInfo;)V", "GetOnVisible_Landroid_service_voice_VisibleActivityInfo_Handler:Android.Service.Voice.VoiceInteractionSession/IVisibleActivityCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)]
public virtual void OnVisible (Android.Service.Voice.VisibleActivityInfo activityInfo);
[<Android.Runtime.Register("onVisible", "(Landroid/service/voice/VisibleActivityInfo;)V", "GetOnVisible_Landroid_service_voice_VisibleActivityInfo_Handler:Android.Service.Voice.VoiceInteractionSession/IVisibleActivityCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)>]
abstract member OnVisible : Android.Service.Voice.VisibleActivityInfo -> unit
override this.OnVisible : Android.Service.Voice.VisibleActivityInfo -> unit

參數

activityInfo
VisibleActivityInfo
屬性

備註

回呼,告知活動已變成可見。

android.service.voice.VoiceInteractionSession.VisibleActivityCallback.onVisible(android.service.voice.VisibleActivityInfo)Java 檔。

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

適用於