Android.Content.Intent.CreateChooser Method
Convenience function for creating a Intent.ActionChooser Intent.

Syntax

[Android.Runtime.Register("createChooser", "(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;", "")]
public static Intent CreateChooser (Intent target, Java.Lang.ICharSequence title)

Parameters

target
The Intent that the user will be selecting an activity to perform.
title
Optional title that will be displayed in the chooser.

Returns

Documentation for this section has not yet been entered.

Remarks

Convenience function for creating a Intent.ActionChooser Intent.

Builds a new Intent.ActionChooser Intent that wraps the given target intent, also optionally supplying a title. If the target intent has specified Intent.FLAG_GRANT_READ_URI_PERMISSION or Intent.FLAG_GRANT_WRITE_URI_PERMISSION, then these flags will also be set in the returned chooser intent, with its ClipData set appropriately: either a direct reflection of Intent.ClipData if that is non-null, or a new ClipData built from Intent.Data.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1