RemoteInput.SetResultsSource(Intent, RemoteInputSource) Method

Definition

Set the source of the RemoteInput results.

[Android.Runtime.Register("setResultsSource", "(Landroid/content/Intent;I)V", "", ApiSince=28)]
public static void SetResultsSource (Android.Content.Intent? intent, Android.App.RemoteInputSource source);
[<Android.Runtime.Register("setResultsSource", "(Landroid/content/Intent;I)V", "", ApiSince=28)>]
static member SetResultsSource : Android.Content.Intent * Android.App.RemoteInputSource -> unit

Parameters

intent
Intent

The intent to add remote input source to. The ClipData field of the intent will be modified to contain the source.

source
RemoteInputSource

The source of the results.

Attributes

Remarks

Set the source of the RemoteInput results. This method should only be called by remote input collection services (e.g. android.service.notification.NotificationListenerService) when sending results to a pending intent.

Java documentation for android.app.RemoteInput.setResultsSource(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