RemoteInput.AddDataResultToIntent 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.
Same as addResultsToIntent(RemoteInput, Intent, Bundle) but for setting data results.
[Android.Runtime.Register("addDataResultToIntent", "(Landroid/app/RemoteInput;Landroid/content/Intent;Ljava/util/Map;)V", "", ApiSince=26)]
public static void AddDataResultToIntent(Android.App.RemoteInput? remoteInput, Android.Content.Intent? intent, System.Collections.Generic.IDictionary<string,Android.Net.Uri>? results);
[<Android.Runtime.Register("addDataResultToIntent", "(Landroid/app/RemoteInput;Landroid/content/Intent;Ljava/util/Map;)V", "", ApiSince=26)>]
static member AddDataResultToIntent : Android.App.RemoteInput * Android.Content.Intent * System.Collections.Generic.IDictionary<string, Android.Net.Uri> -> unit
Parameters
- remoteInput
- RemoteInput
RemoteInput: The remote input for which results are being provided
- intent
- Intent
Intent: The intent to add remote input results to. The ClipData field of the intent will be modified to contain the results.
- results
- IDictionary<String,Uri>
Map: A map of mime type to the Uri result for that mime type.
- Attributes
Remarks
Same as addResultsToIntent(RemoteInput, Intent, Bundle) but for setting data results. This is used for inputs that accept non-textual results (see Builder.setAllowDataType). Only one result can be provided for every mime type accepted by the RemoteInput. If multiple inputs of the same mime type are expected then multiple RemoteInputs should be used.
Android reference for android.app.RemoteInput.addDataResultToIntent.
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.