RemoteInput.GetResultsFromIntent(Intent) Method

Definition

Get the remote input text results bundle from an intent.

[Android.Runtime.Register("getResultsFromIntent", "(Landroid/content/Intent;)Landroid/os/Bundle;", "")]
public static Android.OS.Bundle? GetResultsFromIntent(Android.Content.Intent? intent);
[<Android.Runtime.Register("getResultsFromIntent", "(Landroid/content/Intent;)Landroid/os/Bundle;", "")>]
static member GetResultsFromIntent : Android.Content.Intent -> Android.OS.Bundle

Parameters

intent
Intent

Intent: The intent object that fired in response to an action or content intent which also had one or more remote input requested.

Returns

The Bundle containing remote-input text results, or null when no results exist.

Attributes

Remarks

Get the remote input text results bundle from an intent. The returned Bundle will contain a key/value for every result key populated with text by remote input collector. Use the Bundle.getCharSequence(String) method to retrieve a value. For non-text results use getDataResultsFromIntent(Intent, String).

Android reference for android.app.RemoteInput.getResultsFromIntent.

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