VoiceInteractionSession.OnTaskStarted(Intent, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.