VoiceInteractionSession.OnTaskStarted(Intent, Int32) Method

Definition

Called when a task initiated by #startVoiceActivity(android.content.Intent) has actually started.

[Android.Runtime.Register("onTaskStarted", "(Landroid/content/Intent;I)V", "GetOnTaskStarted_Landroid_content_Intent_IHandler", ApiSince=23)]
public virtual void OnTaskStarted (Android.Content.Intent? intent, int taskId);
[<Android.Runtime.Register("onTaskStarted", "(Landroid/content/Intent;I)V", "GetOnTaskStarted_Landroid_content_Intent_IHandler", ApiSince=23)>]
abstract member OnTaskStarted : Android.Content.Intent * int -> unit
override this.OnTaskStarted : Android.Content.Intent * int -> unit

Parameters

intent
Intent

The original Intent supplied to #startVoiceActivity(android.content.Intent).

taskId
Int32

Unique ID of the now running task.

Attributes

Remarks

Called when a task initiated by #startVoiceActivity(android.content.Intent) has actually started.

Java documentation for android.service.voice.VoiceInteractionSession.onTaskStarted(android.content.Intent, int).

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