ClipData.NewIntent 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.
Overloads
NewIntent(ICharSequence, Intent) |
Create a new ClipData holding an Intent with MIME type
|
NewIntent(String, Intent) |
Create a new ClipData holding an Intent with MIME type
|
NewIntent(ICharSequence, Intent)
Create a new ClipData holding an Intent with MIME type
ClipDescription#MIMETYPE_TEXT_INTENT
.
[Android.Runtime.Register("newIntent", "(Ljava/lang/CharSequence;Landroid/content/Intent;)Landroid/content/ClipData;", "")]
public static Android.Content.ClipData? NewIntent (Java.Lang.ICharSequence? label, Android.Content.Intent? intent);
[<Android.Runtime.Register("newIntent", "(Ljava/lang/CharSequence;Landroid/content/Intent;)Landroid/content/ClipData;", "")>]
static member NewIntent : Java.Lang.ICharSequence * Android.Content.Intent -> Android.Content.ClipData
Parameters
- label
- ICharSequence
User-visible label for the clip data.
- intent
- Intent
The actual Intent in the clip.
Returns
Returns a new ClipData containing the specified data.
- Attributes
Remarks
Create a new ClipData holding an Intent with MIME type ClipDescription#MIMETYPE_TEXT_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
NewIntent(String, Intent)
Create a new ClipData holding an Intent with MIME type
ClipDescription#MIMETYPE_TEXT_INTENT
.
public static Android.Content.ClipData? NewIntent (string? label, Android.Content.Intent? intent);
static member NewIntent : string * Android.Content.Intent -> Android.Content.ClipData
Parameters
- label
- String
User-visible label for the clip data.
- intent
- Intent
The actual Intent in the clip.
Returns
Returns a new ClipData containing the specified data.
Remarks
Create a new ClipData holding an Intent with MIME type ClipDescription#MIMETYPE_TEXT_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.