语言

Activity.OnLocalVoiceInteractionStarted 方法

定义

用于指示 #startLocalVoiceInteraction(Bundle) 已启动语音交互会话的回调。

[Android.Runtime.Register("onLocalVoiceInteractionStarted", "()V", "GetOnLocalVoiceInteractionStartedHandler", ApiSince=24)]
public virtual void OnLocalVoiceInteractionStarted();
[<Android.Runtime.Register("onLocalVoiceInteractionStarted", "()V", "GetOnLocalVoiceInteractionStartedHandler", ApiSince=24)>]
abstract member OnLocalVoiceInteractionStarted : unit -> unit
override this.OnLocalVoiceInteractionStarted : unit -> unit
特性

注解

指示 startLocalVoiceInteraction(Bundle) 的回调导致语音交互会话启动。 现在可以使用 getVoiceInteractor()检索语音交互器。

Android 参考。android.app.Activity.onLocalVoiceInteractionStarted

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于