RemoteInput.AddResultsToIntent(RemoteInput[], Intent, Bundle) メソッド

定義

リモート入力から収集されたテキスト結果を意図オブジェクトに設定します。

[Android.Runtime.Register("addResultsToIntent", "([Landroid/app/RemoteInput;Landroid/content/Intent;Landroid/os/Bundle;)V", "")]
public static void AddResultsToIntent(Android.App.RemoteInput[]? remoteInputs, Android.Content.Intent? intent, Android.OS.Bundle? results);
[<Android.Runtime.Register("addResultsToIntent", "([Landroid/app/RemoteInput;Landroid/content/Intent;Landroid/os/Bundle;)V", "")>]
static member AddResultsToIntent : Android.App.RemoteInput[] * Android.Content.Intent * Android.OS.Bundle -> unit

パラメーター

remoteInputs
RemoteInput[]

結果が提供されるリモート入力

intent
Intent

リモート入力を追加する意図。 意図の ClipData フィールドは、結果を格納するように変更されます。

results
Bundle

リモート入力結果を保持するバンドル。 このバンドルには、 remoteInputs で指定された結果キーに一致するキーと、キーごとの CharSequence 結果の値が設定されている必要があります。

属性

注釈

リモート入力から収集されたテキスト結果を意図オブジェクトに設定します。 このメソッドは、保留中の意図に結果を送信する場合にのみ、リモート入力コレクション サービスによって呼び出す必要があります。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象