共用方式為


RemoteInput.GetResultsSource(Intent) Method

Definition

Get the source of the RemoteInput results.

[Android.Runtime.Register("getResultsSource", "(Landroid/content/Intent;)I", "", ApiSince=28)]
public static Android.App.RemoteInputSource GetResultsSource (Android.Content.Intent? intent);
[<Android.Runtime.Register("getResultsSource", "(Landroid/content/Intent;)I", "", ApiSince=28)>]
static member GetResultsSource : Android.Content.Intent -> Android.App.RemoteInputSource

Parameters

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 source of the results. If no source was set, #SOURCE_FREE_FORM_INPUT will be returned.

Attributes

Remarks

Get the source of the RemoteInput results.

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

Applies to