VoiceInteractionSession.OnHandleAssist 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.
Overloads
OnHandleAssist(VoiceInteractionSession+AssistState) |
Called to receive data from the application that the user was currently viewing when - * an assist session is started. |
OnHandleAssist(Bundle, AssistStructure, AssistContent) |
Called to receive data from the application that the user was currently viewing when - * an assist session is started. |
OnHandleAssist(VoiceInteractionSession+AssistState)
Called to receive data from the application that the user was currently viewing when - * an assist session is started.
[Android.Runtime.Register("onHandleAssist", "(Landroid/service/voice/VoiceInteractionSession$AssistState;)V", "GetOnHandleAssist_Landroid_service_voice_VoiceInteractionSession_AssistState_Handler", ApiSince=29)]
public virtual void OnHandleAssist (Android.Service.Voice.VoiceInteractionSession.AssistState state);
[<Android.Runtime.Register("onHandleAssist", "(Landroid/service/voice/VoiceInteractionSession$AssistState;)V", "GetOnHandleAssist_Landroid_service_voice_VoiceInteractionSession_AssistState_Handler", ApiSince=29)>]
abstract member OnHandleAssist : Android.Service.Voice.VoiceInteractionSession.AssistState -> unit
override this.OnHandleAssist : Android.Service.Voice.VoiceInteractionSession.AssistState -> unit
Parameters
- 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.
Applies to
OnHandleAssist(Bundle, AssistStructure, AssistContent)
Called to receive data from the application that the user was currently viewing when - * an assist session is started.
[Android.Runtime.Register("onHandleAssist", "(Landroid/os/Bundle;Landroid/app/assist/AssistStructure;Landroid/app/assist/AssistContent;)V", "GetOnHandleAssist_Landroid_os_Bundle_Landroid_app_assist_AssistStructure_Landroid_app_assist_AssistContent_Handler", ApiSince=23)]
public virtual void OnHandleAssist (Android.OS.Bundle? data, Android.App.Assist.AssistStructure? structure, Android.App.Assist.AssistContent? content);
[<Android.Runtime.Register("onHandleAssist", "(Landroid/os/Bundle;Landroid/app/assist/AssistStructure;Landroid/app/assist/AssistContent;)V", "GetOnHandleAssist_Landroid_os_Bundle_Landroid_app_assist_AssistStructure_Landroid_app_assist_AssistContent_Handler", ApiSince=23)>]
abstract member OnHandleAssist : Android.OS.Bundle * Android.App.Assist.AssistStructure * Android.App.Assist.AssistContent -> unit
override this.OnHandleAssist : Android.OS.Bundle * Android.App.Assist.AssistStructure * Android.App.Assist.AssistContent -> 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.
- Attributes
Remarks
Called to receive data from the application that the user was currently viewing when - * an assist session is started. If the original show request did not specify #SHOW_WITH_ASSIST
, this method will not be called.
This member is deprecated. use #onHandleAssist(AssistState)
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.