Share via


Activity.StartLocalVoiceInteraction(Bundle) Method

Definition

Starts a local voice interaction session.

[Android.Runtime.Register("startLocalVoiceInteraction", "(Landroid/os/Bundle;)V", "GetStartLocalVoiceInteraction_Landroid_os_Bundle_Handler", ApiSince=24)]
public virtual void StartLocalVoiceInteraction (Android.OS.Bundle? privateOptions);
[<Android.Runtime.Register("startLocalVoiceInteraction", "(Landroid/os/Bundle;)V", "GetStartLocalVoiceInteraction_Landroid_os_Bundle_Handler", ApiSince=24)>]
abstract member StartLocalVoiceInteraction : Android.OS.Bundle -> unit
override this.StartLocalVoiceInteraction : Android.OS.Bundle -> unit

Parameters

privateOptions
Bundle

a Bundle of private arguments to the current voice interaction service

Attributes

Remarks

Starts a local voice interaction session. When ready, #onLocalVoiceInteractionStarted() is called. You can pass a bundle of private options to the registered voice interaction service.

Java documentation for android.app.Activity.startLocalVoiceInteraction(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