VoiceInteractionSession.OnHandleAssistSecondary(Bundle, AssistStructure, AssistContent, Int32, 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.
Caution
deprecated
Called to receive data from other applications that the user was or is interacting with, that are currently on the screen in a multi-window display environment, not including the currently focused activity.
[Android.Runtime.Register("onHandleAssistSecondary", "(Landroid/os/Bundle;Landroid/app/assist/AssistStructure;Landroid/app/assist/AssistContent;II)V", "GetOnHandleAssistSecondary_Landroid_os_Bundle_Landroid_app_assist_AssistStructure_Landroid_app_assist_AssistContent_IIHandler", ApiSince=24)]
[System.Obsolete("deprecated")]
public virtual void OnHandleAssistSecondary (Android.OS.Bundle? data, Android.App.Assist.AssistStructure? structure, Android.App.Assist.AssistContent? content, int index, int count);
[<Android.Runtime.Register("onHandleAssistSecondary", "(Landroid/os/Bundle;Landroid/app/assist/AssistStructure;Landroid/app/assist/AssistContent;II)V", "GetOnHandleAssistSecondary_Landroid_os_Bundle_Landroid_app_assist_AssistStructure_Landroid_app_assist_AssistContent_IIHandler", ApiSince=24)>]
[<System.Obsolete("deprecated")>]
abstract member OnHandleAssistSecondary : Android.OS.Bundle * Android.App.Assist.AssistStructure * Android.App.Assist.AssistContent * int * int -> unit
override this.OnHandleAssistSecondary : Android.OS.Bundle * Android.App.Assist.AssistStructure * Android.App.Assist.AssistContent * int * int -> unit
Parameters
- data
- Bundle
Arbitrary data supplied by the app through
android.app.Activity#onProvideAssistData Activity.onProvideAssistData.
May be null if assist data has been disabled by the user or device policy.
- structure
- AssistStructure
If available, the structure definition of all windows currently displayed by the app. May be null if assist data has been disabled by the user or device policy; will be an empty stub if the application has disabled assist by marking its window as secure.
- content
- AssistContent
Additional content data supplied by the app through
android.app.Activity#onProvideAssistContent Activity.onProvideAssistContent.
May be null if assist data has been disabled by the user or device policy; will
not be automatically filled in with data from the app if the app has marked its
window as secure.
- index
- Int32
the index of the additional activity that this data is for.
- count
- Int32
the total number of additional activities for which the assist data is being
returned, including the focused activity that is returned via
#onHandleAssist.
- Attributes
Remarks
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.