Application.IOnProvideAssistDataListener.OnProvideAssistData 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.
This is called when the user is requesting an assist, to build a full
Intent#ACTION_ASSIST
Intent with all of the context of the current
application.
[Android.Runtime.Register("onProvideAssistData", "(Landroid/app/Activity;Landroid/os/Bundle;)V", "GetOnProvideAssistData_Landroid_app_Activity_Landroid_os_Bundle_Handler:Android.App.Application/IOnProvideAssistDataListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnProvideAssistData (Android.App.Activity? activity, Android.OS.Bundle? data);
[<Android.Runtime.Register("onProvideAssistData", "(Landroid/app/Activity;Landroid/os/Bundle;)V", "GetOnProvideAssistData_Landroid_app_Activity_Landroid_os_Bundle_Handler:Android.App.Application/IOnProvideAssistDataListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnProvideAssistData : Android.App.Activity * Android.OS.Bundle -> unit
Parameters
- activity
- Activity
- data
- Bundle
- Attributes
Remarks
This is called when the user is requesting an assist, to build a full Intent#ACTION_ASSIST
Intent with all of the context of the current application. You can override this method to place into the bundle anything you would like to appear in the Intent#EXTRA_ASSIST_CONTEXT
part of the assist Intent.
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.